From: Axel Beckert <abe@deuxchevaux.org>
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]
Date: Thu, 16 Oct 2014 00:33:30 +0200 [thread overview]
Message-ID: <20141015223329.GV5405@sym.noone.org> (raw)
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 <goswin-v-b@web.de> -----
Date: Tue, 14 Oct 2014 21:42:26 +0200
From: Goswin von Brederlow <goswin-v-b@web.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: [Pkg-zsh-devel] Bug#765410: ulimit broken if it fails once
Reply-To: Goswin von Brederlow <goswin-v-b@web.de>, 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 <none>
-- 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)
next reply other threads:[~2014-10-15 22:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-15 22:33 Axel Beckert [this message]
2014-10-16 2:49 ` Bart Schaefer
2014-10-16 8:22 ` Peter Stephenson
2014-10-22 7:42 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141015223329.GV5405@sym.noone.org \
--to=abe@deuxchevaux.org \
--cc=765410@bugs.debian.org \
--cc=goswin-v-b@web.de \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).