[Bug 227416] New: tcsh $PATH misses directories and differs from sh $PATH
https://bugzilla.novell.com/show_bug.cgi?id=227416 Summary: tcsh $PATH misses directories and differs from sh $PATH Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: volker3204@paradise.net.nz QAContact: qa@suse.de I would appreciate if the tcsh environment variable configuration was the same as the config for sh or bash. It's been the case in very few releases since 6.2 :( /etc/profile: if test -z "$PROFILEREAD" ; then PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin /etc/csh.login: if ( -d /usr/bin/X11 ) then set _xpath=( /usr/bin/X11 $_xpath ) else if ( -d /usr/X11R6/bin ) then set _xpath=( /usr/X11R6/bin $_xpath ) else if ( -d /usr/X11/bin ) then set _xpath=( /usr/X11/bin $_xpath ) endif This gives completely different results. And nowhere does it set /usr/local/bin! On 10.1 it didn't show, but now of course most of the X stuff is in /usr/bin/X11, which is unfortunate for what's left in /usr/X11R6/bin. Apart from a few SUSE 10.2 packages, there are also older and 3rd-party packages still putting binaries into /usr/X11R6/bin, and will probably for some time. Please change csh.login to match profile, and both those X bin dirs need to be in PATH. That foreach loop used for _upath is the right idea. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227416 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |werner@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227416 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Enhancement -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227416 ------- Comment #1 from volker3204@paradise.net.nz 2006-12-10 10:58 MST ------- This is not an enhancement, tcsh users not finding some of their software in their $PATH is a bug! This btw as pointed out includes some of the SUSE-DVD-supplied rpms. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227416 ------- Comment #2 from werner@novell.com 2006-12-11 02:47 MST ------- Is an rpm does not install a <name>.csh but only a <name>.sh for including executen path extension this is a bug of this specific pacakge but not of the tcsh its self. Please report such bug with the name of the rpm which is missing the <name>.csh in /etc/profile.d/, thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227416 ------- Comment #3 from volker3204@paradise.net.nz 2006-12-11 11:44 MST ------- Sorry you misunderstood Werner. The broken tcsh $PATH setting does not contain /usr/X11R6/bin/ or /usr/local/bin. This means that programs placed into either of these directories will never be found. This is a bug, not an enhancement, so it would be appropriate to correct the bug priority. SUSE has rpms in 10.2 which place executables into /usr/X11R6/bin/, this is not a bug, merely still using previous convention. In no way will SUSE beable to control non-SUSE rpms placing executables into /usr/X11R6/bin/, one more reason not having /usr/X11R6/bin/ in $PATH for some more time is a bug. This was a bug in 10.1 too, but it didn't show because some other directory which was in $PATH was a symlink to /usr/X11R6/bin/. Likewise, not putting /usr/local/bin into $PATH is a bug. Dito I see tcsh behaviour being different from bash as a bug (see the script fragments in comment #1), and I wish you would too :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227416 werner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #4 from werner@novell.com 2007-02-14 04:21 MST ------- I've fixed this for next openSuSE 10.3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com