Bug#765410: [Pkg-zsh-devel] Bug#765410: ulimit broken if it fails once
On Wed, Oct 15, 2014 at 10:56:54AM +0200, Axel Beckert wrote: Control: tag -1 + confirmed upstream Control: retitle -1 zsh: ulimit broken as root if it fails once Control: found -1 4.3.17-1 Control: found -1 5.0.6-3 Control: found -1 4.3.10-14 Hi Goswin, thanks for the report. Goswin von Brederlow wrote: Package: zsh Version: 5.0.5-2 JFTR: That version is no more anywhere in Debian. Testing has 5.0.6-3. Earliest I had at hand to test. root@frosties:~# ulimit -n 1000 root@frosties:~# ulimit -n 1000 limit: setrlimit failed: operation not permitted root@frosties:~# ulimit -n 1000 limit: setrlimit failed: operation not permitted Once setting a limit with ulimit fails all further attempts to set a limit will also fail. But only in zsh. Works fine in bash. Interestingly this only happens if zsh is used as root. It does not happen if zsh is used as non-root user. Retitling accordingly. I've found this behaviour in at least Squeeze, Wheezy and Testing/Sid. Will test Experimental later today, too. If I find it there, too, I'll forward it to upstream. I believe that as non root there first is a check that the limit is not raised above the current value. Only root is allowed to do that. So it fails at a different place, maybe even already in zsh. MfG Goswin -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#765410: [Pkg-zsh-devel] Bug#765410: ulimit broken if it fails once
Control: tag -1 + confirmed upstream Control: retitle -1 zsh: ulimit broken as root if it fails once Control: found -1 4.3.17-1 Control: found -1 5.0.6-3 Control: found -1 4.3.10-14 Hi Goswin, thanks for the report. Goswin von Brederlow wrote: Package: zsh Version: 5.0.5-2 JFTR: That version is no more anywhere in Debian. Testing has 5.0.6-3. root@frosties:~# ulimit -n 1000 root@frosties:~# ulimit -n 1000 limit: setrlimit failed: operation not permitted root@frosties:~# ulimit -n 1000 limit: setrlimit failed: operation not permitted Once setting a limit with ulimit fails all further attempts to set a limit will also fail. But only in zsh. Works fine in bash. Interestingly this only happens if zsh is used as root. It does not happen if zsh is used as non-root user. Retitling accordingly. I've found this behaviour in at least Squeeze, Wheezy and Testing/Sid. Will test Experimental later today, too. If I find it there, too, I'll forward it to upstream. Regards, Axel -- ,''`. | Axel Beckert a...@debian.org, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `-| 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org