Arch Linux

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!
Tasklist

FS#3293 - changing $PATH in /etc/profile has no effect

Attached to Project: Arch Linux
Opened by Pavel Shevchuk (Stalwart) - Tuesday, 04 October 2005, 11:26 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Installed arch from miniinst-cd yesterday and noticed that after pacman -Syu and pacman -Sy firefox i don't have /opt/mozilla/bin in my $PATH. After adding it to /etc/profile i still have no effect.

Even after lots of reboots:

[stalwart@angel ~]$ cat /etc/profile | grep PATH
export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/opt/mozilla/bin"
export MANPATH="/usr/man:/usr/X11R6/man"
[stalwart@angel ~]$ echo $PATH
:/bin:/usr/bin:/usr/X11R6/bin:/usr/ucb

klapmuetz on IRC said that is default .bashrc bug

[stalwart@angel ~]$ cat .bashrc
alias ls='ls --color=auto'
alias l='ls --color=auto'
PS1='[\u@\h \W]\$ '


I added only second line - "l" alias, rest is default
This task depends upon

Closed by  arjan timmerman (blaasvis)
Monday, 31 October 2005, 11:45 GMT
Reason for closing:  Works for me
Comment by Pavel Shevchuk (Stalwart) - Tuesday, 04 October 2005, 11:30 GMT
Whoopsie... bug in bugreport =} not pacman -Sy firefox, but pacman -Sy mozilla-firefox
Comment by Jan de Groot (JGC) - Wednesday, 05 October 2005, 22:06 GMT
I think it is something in your profile (~/.bashrc, ~/.bash_profile) that breaks these things.

/opt/mozilla/bin is included in your path by /etc/profile.d/mozilla-common.sh from the mozilla-common package.

Loading...