Bug ID | 1174903 |
---|---|
Summary | Missing quotes in /etc/profile |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Basesystem |
Assignee | screening-team-bugs@suse.de |
Reporter | hahn@mpp.mpg.de |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
Since the updates of 4 Aug (or maybe 2 Aug) I'm getting messages of the form ```sh -bash: test: too many arguments ``` upon ssh login which can be traced to /etc/profile, to the line ```sh test -e /etc/profile.d/${s##*/} && continue ``` where the argument of test should be quoted, i.e. ```sh test -e "/etc/profile.d/${s##*/}" && continue ``` What is going on here is that /usr/etc/profile.d doesn't exist on my system, hence the *.sh remains unexpanded, and when substituted into /etc/profile.d expands to many files. Best Wishes, Thomas