[Bug 560941] New: $XDG_CONFIG_DIRS not set correctly for csh users.
http://bugzilla.novell.com/show_bug.cgi?id=560941 http://bugzilla.novell.com/show_bug.cgi?id=560941#c0 Summary: $XDG_CONFIG_DIRS not set correctly for csh users. Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: All OS/Version: openSUSE 11.2 Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: wjones@fluke.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-6.1 Firefox/3.5.4 $XDG_CONFIG_DIRS is set for csh users here: /etc/profile.d/xdg-environment.csh The logic doesn't match the corresponding startup file for bash users, and as a result, extra (probably irrelevant) directories are included. Reproducible: Always Steps to Reproduce: 1. Login with csh. 2. echo $XDG_CONFIG_DIRS 3. Login with bash. 4. echo $XDG_CONFIG_DIRS 5. Compare results. Actual Results: $XDG_CONFIG_DIRS contains extra directories under csh. Expected Results: Csh environment should be same as bash environment. This patch to xdg-environment.csh duplicates the logic in xdg-environment.sh: 8c8 < if ( -d "$xdgdir" ) then ---
if ( -d "$xdgdir" && -d "$xdgdir/applications" ) then
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=560941 http://bugzilla.novell.com/show_bug.cgi?id=560941#c1 shuang qiu <sqiu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |sqiu@novell.com Resolution| |DUPLICATE --- Comment #1 from shuang qiu <sqiu@novell.com> 2009-12-08 06:47:07 UTC --- duplicate of 560903 *** This bug has been marked as a duplicate of bug 560903 *** http://bugzilla.novell.com/show_bug.cgi?id=560903 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=560941 http://bugzilla.novell.com/show_bug.cgi?id=560941#c2 Warren Jones <wjones@fluke.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wjones@fluke.com --- Comment #2 from Warren Jones <wjones@fluke.com> 2009-12-08 21:41:07 UTC --- This bug and #560903 are related only in that both involve the csh environment. #560903 is about the way $PATH is set in /etc/csh.login. #560941 (this bug) is about the way $XDG_CONFIG_DIRS is set in /etc/profile.d/xdg-environment.csh Two different issues. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=560941 https://bugzilla.novell.com/show_bug.cgi?id=560941#c3 --- Comment #3 from Warren Jones <wjones@fluke.com> 2012-03-20 22:13:09 UTC --- This bug actually affects $XDG_DATA_DIRS rather than $XDG_CONFIG_DIRS. It's still broken in openSUSE 12.2 Milestone 2. -- 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.
participants (1)
-
bugzilla_noreply@novell.com