[Bug 862290] New: aaa_base: "xdg-environment.sh" triggers zsh warning each time /etc/profile is sourced
https://bugzilla.novell.com/show_bug.cgi?id=862290 https://bugzilla.novell.com/show_bug.cgi?id=862290#c0 Summary: aaa_base: "xdg-environment.sh" triggers zsh warning each time /etc/profile is sourced Classification: openSUSE Product: openSUSE 13.1 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: o.freyermuth@googlemail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 On sourcing /etc/profile with zsh on a fresh installation (i.e. on each remote login), I observe the following message: /etc/profile.d/xdg-environment.sh:24: no matches found: /etc/opt/*/share Sourcing /etc/profile.d/xdg-environment.sh directly is also sufficient (easier to reproduce as /etc/profile prevents multiple sourcing). Looking into /etc/profile.d/xdg-environment.sh, I can indeed see this pattern used for shell-expansion. However, I am not really sure what one should expect to find at this location, /etc/opt is empty on my side. If this pattern is valid, existence should be checked before trying to expand it to suppress the warning. Reproducible: Always Steps to Reproduce: 1. Use zsh. 2. source /etc/profile.d/xdg-environment.sh 3. Observe warning message (on each login if zsh is your login shell). -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=862290 https://bugzilla.novell.com/show_bug.cgi?id=862290#c Xiyuan Liu <xyliu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyliu@suse.com AssignedTo|bnc-team-screening@forge.pr |idonmez@suse.com |ovo.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.
participants (1)
-
bugzilla_noreply@novell.com