Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Fwd: Bug#765410: ulimit broken as root if it fails once [origin: goswin-v-b@xxxxxx]
- X-seq: zsh-workers 33469
- From: Axel Beckert <abe@xxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Fwd: Bug#765410: ulimit broken as root if it fails once [origin: goswin-v-b@xxxxxx]
- Date: Thu, 16 Oct 2014 00:33:30 +0200
- Cc: 765410@xxxxxxxxxxxxxxx, goswin-v-b@xxxxxx
- 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
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx, 765410@xxxxxxxxxxxxxxx, goswin-v-b@xxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: DeuxChevaux.org -- The Citroën 2CV Database
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@xxxxxx> -----
Date: Tue, 14 Oct 2014 21:42:26 +0200
From: Goswin von Brederlow <goswin-v-b@xxxxxx>
To: Debian Bug Tracking System <submit@xxxxxxxxxxxxxxx>
Subject: [Pkg-zsh-devel] Bug#765410: ulimit broken if it fails once
Reply-To: Goswin von Brederlow <goswin-v-b@xxxxxx>, 765410@xxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxx (Mail)
X See http://www.nonhtmlmail.org/campaign.html | abe@xxxxxxxxx (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author