Date: Mon, 26 Mar 2007 01:28:51 -0400 From: Mikhail Teterin <mi+kde@aldan.algebra.com> To: kaeru@pd.jaring.my Cc: FreeBSD-Questions@FreeBSD.org, robert+freebsd.inbox@cyrus.watson.org Subject: jail vs. nice Message-ID: <200703260128.52164@aldan>
next in thread | raw e-mail | index | archive | help
Hello!
A program (a TclX' self-test script) works fine in a normal environment, but
fails to renice itself, when running in jail (as root):
==== nice-1.8 nice tests FAILED
==== Contents of test case:
list [nice -1] [nice]
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: failed to increment priority: permission denied
while executing
"nice -1"
invoked from within
"list [nice -1] [nice]"
("uplevel" body line 2)
invoked from within
"uplevel 1 $script"
This is new -- just a few months ago the same script was working fine, but it
is failing now in both 7.0 and 6.2.
Please, advise... Thanks!
-mi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703260128.52164>
