[Bug 982185] New: Please remove /usr/bin/X11 from PATH in /etc/profile
http://bugzilla.suse.com/show_bug.cgi?id=982185 Bug ID: 982185 Summary: Please remove /usr/bin/X11 from PATH in /etc/profile Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: bjoernv@arcor.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The directory /usr/bin/X11 is useless in $PATH. /usr/bin/X11 is a symlink to /usr/bin. The symlink is installed by the Xorg base package xorg-x11-essentials. Every program in /usr/bin is shown twice because PATH contains /usr/bin/X11. # ls -l /usr/bin/X11 lrwxrwxrwx 1 root root 1 28. Sep 2014 /usr/bin/X11 -> . # rpm -qf /usr/bin/X11 xorg-x11-essentials-7.6_1-16.1.noarch # type -a id id ist /usr/bin/id id ist /usr/bin/X11/id The default PATH is created in /etc/profile: for dir in /usr/X11/bin \ /usr/bin/X11 \ /usr/X11R6/bin \ /var/lib/dosemu \ /usr/games \ /opt/bin \ /opt/kde3/bin \ /opt/kde2/bin \ /opt/kde/bin \ /usr/openwin/bin \ /opt/cross/bin do test -d $dir && PATH=$PATH:$dir done -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=982185
Chenzi Cao
http://bugzilla.suse.com/show_bug.cgi?id=982185
Egbert Eich
http://bugzilla.suse.com/show_bug.cgi?id=982185
http://bugzilla.suse.com/show_bug.cgi?id=982185#c1
Stefan Dirsch
http://bugzilla.suse.com/show_bug.cgi?id=982185
http://bugzilla.suse.com/show_bug.cgi?id=982185#c2
--- Comment #2 from Egbert Eich
http://bugzilla.suse.com/show_bug.cgi?id=982185
http://bugzilla.suse.com/show_bug.cgi?id=982185#c3
Stefan Dirsch
participants (1)
-
bugzilla_noreply@novell.com