Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#5171 - /etc/profile not sourced by default under xdm/twm
Attached to Project:
Arch Linux
Opened by David Scholl (djscholl) - Sunday, 06 August 2006, 11:58 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 14 April 2007, 18:20 GMT
Opened by David Scholl (djscholl) - Sunday, 06 August 2006, 11:58 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 14 April 2007, 18:20 GMT
|
DetailsUnder xdm/twm, none of the default login files source /etc/profile, so important elements of the user's PATH are not installed. This can be fixed by adding:
[ -f /etc/profile ] && . /etc/profile to $HOME/.bash_profile (for bash users). It appears that this or an equivalent line should be included in the default home directory configuration. I only have xdm installed, so I don't know how gdm or kdm handle it, or other window managers, but I had to source /etc/profile manually on my login. Also see http://bbs.archlinux.org/viewtopic.php?t=18677&highlight=xsession for a recent forum discussion. It appears to be an xdm issue, rather than a twm issue. However, the files involved are owned by the filesystem and bash packages. |
This task depends upon
Closed by Roman Kyrylych (Romashka)
Saturday, 14 April 2007, 18:20 GMT
Reason for closing: Not a bug
Saturday, 14 April 2007, 18:20 GMT
Reason for closing: Not a bug
bash (and all shells, for that matter) do not source /etc/profile unless they are run as "login shells". This is by design.
http://learnlinux.tsf.org.za/courses/build/shell-scripting/ch02s02.html