[Pkg-zsh-devel] Bug#765410: Bug#765410: ulimit broken if it fails once

Axel Beckert abe at debian.org
Wed Oct 15 08:56:54 UTC 2014


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 at frosties:~# ulimit -n 1000   
> root at frosties:~# ulimit -n 10000000
> limit: setrlimit failed: operation not permitted
> root at 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 <abe at 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



More information about the Pkg-zsh-devel mailing list