From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22998 invoked by alias); 15 Oct 2014 22:33:43 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33469 Received: (qmail 14928 invoked from network); 15 Oct 2014 22:33:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Date: Thu, 16 Oct 2014 00:33:30 +0200 From: Axel Beckert To: zsh-workers@zsh.org Cc: 765410@bugs.debian.org, goswin-v-b@web.de Subject: Fwd: Bug#765410: ulimit broken as root if it fails once [origin: goswin-v-b@web.de] Message-ID: <20141015223329.GV5405@sym.noone.org> Mail-Followup-To: zsh-workers@zsh.org, 765410@bugs.debian.org, goswin-v-b@web.de MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: Linux 3.2.0-4-amd64 X-Machine: sym2 x86_64 X-Editor: GNU Emacs 23.4.1 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr Organization: DeuxChevaux.org -- The =?iso-8859-1?Q?Citr?= =?iso-8859-1?B?b+tu?= 2CV Database User-Agent: Mutt/1.5.21 (2010-09-15) Hi, the following has been reported in Debian at http://bugs.debian.org/765410 and I can reprodcue it with 4.3.10, 4.3.17, 5.0.6 and 5.0.7. The issue seems to only appear if ulimit is run as root user. I was not able to reproduce it as non-root user. (I was also unable to reproduce it on any of Debian's kfreebsd-* architectures, so it may be a linux-only issue, too.) ----- Forwarded message from Goswin von Brederlow ----- Date: Tue, 14 Oct 2014 21:42:26 +0200 From: Goswin von Brederlow To: Debian Bug Tracking System Subject: [Pkg-zsh-devel] Bug#765410: ulimit broken if it fails once Reply-To: Goswin von Brederlow , 765410@bugs.debian.org Package: zsh Version: 5.0.5-2 Severity: normal root@frosties:~# ulimit -n 1000 root@frosties:~# ulimit -n 10000000 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. MfG Goswin -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages zsh depends on: ii libc6 2.19-1 ii libcap2 1:2.22-1.2 ii libtinfo5 5.9+20140913-1 ii zsh-common 5.0.5-2 Versions of packages zsh recommends: ii libncursesw5 5.9+20140913-1 ii libpcre3 1:8.31-5 Versions of packages zsh suggests: pn zsh-doc -- debconf information excluded ----- End forwarded message ----- Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe@deuxchevaux.org (Mail) X See http://www.nonhtmlmail.org/campaign.html | abe@noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)