Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 15th July 2013
Majorix Majorix is offline
Port Guard
Join Date: Apr 2012
Posts: 13
Default Have to Source .profile Implicitly

I have just installed OpenBSD 5.3 with XFCE.

I am exporting a PKG_PATH variable in ~/.profile. When I launched a terminal and tried to use this variable (indirectly, via pkg_add) I saw that the variable was not initiated, as such it is blank and pkg_add fails. So I sourced the file myself, and it worked.

Weird thing is, when I restart the terminal same thing happens again. Even after a reboot, each time I launch a terminal I have to source .profile. Shouldn't a terminal take care of this automatically and source it? At least this was the case with other systems I have used in the past.

It happens with both the root and the normal user.

I have googled but did not find any helpful information. Can someone help me?
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why doesnot OpenBSD run /etc/profile and ~/.profile ? sw2wolf OpenBSD General 2 28th August 2012 11:26 PM
when and by what is .profile read? kasse FreeBSD General 8 11th September 2008 08:46 AM
working with .profile and history uptonm OpenBSD Security 1 15th August 2008 12:14 PM

All times are GMT. The time now is 10:06 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick