[Bug 815556] New: /etc/zshrc implements very unexpected default zsh-options
https://bugzilla.novell.com/show_bug.cgi?id=815556 https://bugzilla.novell.com/show_bug.cgi?id=815556#c0 Summary: /etc/zshrc implements very unexpected default zsh-options Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: All OS/Version: openSUSE 12.2 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:20.0) Gecko/20100101 Firefox/20.0 [Open]SUSE's /etc/zshrc sets some zsh-options which are very non-default and as such cause unexpected behaviour and easy data loss, especially for users regularly switching between different distributions. One example which nearly caught me is the setopt globdots contained in there. It leads to "*" matching dotfiles. This is not a default on any major shell and naturally also not on zsh on other distributions for good reason. That's why it stupefies users doing an ls * or even rm -f *, deleting much more than they actually wanted. More ugly examples include deleting all files ending in "*cal" and also deleting .local in the process. As such, workarounds for this [Open]SUSE-specialty have already been created e.g. within GRML (see http://bts.grml.org/grml/issue657 it explicitly sets noglobdots to counteract this unexpected setting). Is there a good reason for these setopt, and if so, why does the system bashrc of [Open]SUSE not set the bash option "dotglob" for consistency at least within the distribution? Otherwise, these lines should be dropped completely to fall back to the wisely-chosen shell-builtin defaults which users expect. Reproducible: Always Steps to Reproduce: 1. 2. 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.
https://bugzilla.novell.com/show_bug.cgi?id=815556 https://bugzilla.novell.com/show_bug.cgi?id=815556#c Xiaolong Li <xlli@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xlli@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.
https://bugzilla.novell.com/show_bug.cgi?id=815556 https://bugzilla.novell.com/show_bug.cgi?id=815556#c1 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Ismail Donmez <idonmez@suse.com> 2013-04-22 09:21:54 UTC --- This is indeed a very dangerous default, seems to be due to some legacy. I'll revert this for Factory & 12.3 & 12.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.
https://bugzilla.novell.com/show_bug.cgi?id=815556 https://bugzilla.novell.com/show_bug.cgi?id=815556#c2 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |maintenance@opensuse.org --- Comment #2 from Ismail Donmez <idonmez@suse.com> 2013-04-22 09:28:03 UTC --- https://build.opensuse.org/request/show/172802 created for openSUSE 12.2 https://build.opensuse.org/request/show/172803 created for openSUSE 12.3 CC'ing maintenance to get the update rolling. Thanks for your report! -- 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=815556 https://bugzilla.novell.com/show_bug.cgi?id=815556#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-04-22 12:00:18 CEST --- This is an autogenerated message for OBS integration: This bug (815556) was mentioned in https://build.opensuse.org/request/show/172801 Factory / zsh -- 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=815556 https://bugzilla.novell.com/show_bug.cgi?id=815556#c4 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|maintenance@opensuse.org | --- Comment #4 from Benjamin Brunner <bbrunner@suse.com> 2013-04-22 15:52:01 CEST --- Hi Ismail, thanks for your submissions. I started an update, see openSUSE:Maintenance:1611. -- 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=815556 https://bugzilla.novell.com/show_bug.cgi?id=815556#c5 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Benjamin Brunner <bbrunner@suse.com> 2013-05-02 14:36:21 CEST --- Update released for 12.2 and 12.3. Resolved fixed. -- 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=815556 https://bugzilla.novell.com/show_bug.cgi?id=815556#c6 --- Comment #6 from Swamp Workflow Management <swamp@suse.de> 2013-05-02 15:04:33 UTC --- openSUSE-RU-2013:0742-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 815556 CVE References: Sources used: openSUSE 12.2 (src): zsh-4.3.17-2.4.1 -- 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=815556 https://bugzilla.novell.com/show_bug.cgi?id=815556#c7 --- Comment #7 from Swamp Workflow Management <swamp@suse.de> 2013-06-10 10:23:39 UTC --- openSUSE-RU-2013:0969-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 815556 CVE References: Sources used: openSUSE 12.3 (src): zsh-5.0.2-2.9.1 -- 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