Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2013 11:28:11 -0400
From:      Glen Barber <gjb@FreeBSD.org>
To:        Frank Leonhardt <freebsd-doc@fjl.co.uk>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: Fixing the man page for renice
Message-ID:  <20130706152811.GJ20631@glenbarber.us>
In-Reply-To: <51D7FE78.8050006@fjl.co.uk>
References:  <51D7FE78.8050006@fjl.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--YPJ8CVbwFUtL7OFW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jul 06, 2013 at 12:24:40PM +0100, Frank Leonhardt wrote:
> Okay - I've been around here for some time but I haven't actually
> changed anything. I'm hoping someone will sanity check the following
> as a reasonable course of action, as I really don't want to mess
> anything up.
>=20
> I'm reading:
>=20
> http://www.freebsd.org/doc/en/articles/problem-reports/index.html
>=20
> The problem is the man page for renice. Has anyone tried it as the
> root user in a jail? You can increase the nice value of any process
> within the jail you like, but you can't decrease it. In other words
> it behaves as though you were a standard user except you can change
> other users' processes too.
>=20
> This all seems reasonable as you don't want the root user in their
> jailed machine pinching CPU time from everyone else. It's probably
> documented somewhere, but I've only found an old discussion about
> allowing jailed users to renice anything. It's certinaly not in the
> first place I'd look - the man page.
>=20
> So, what I've done:
>=20
> I've searched for "renice" in
> http://www.freebsd.org/cgi/query-pr-summary.cgi?query and not found
> it listed.
>=20
> I've Googled for things like "renice in jail"
>=20
> I've checked out the behaviour out on running systems I have
> available to me.
>=20
> I'm about to fill out this form here:
>=20
> http://www.freebsd.org/send-pr.html
>=20
> Should I do anything else first?
>=20

Will you be including a patch?  If so, perhaps sending the patch to this
list for review might be a good first course of action.  If not, then
your plan looks good. :)

Glen


--YPJ8CVbwFUtL7OFW
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iQEcBAEBCAAGBQJR2DeLAAoJEFJPDDeguUaj9rsH/2kiXXFxmzxVeQhvSThLBlLY
Xyw0swqlilQIpNtkKKWMvpMZFf6/ae7iEKVqfFXeRTRCfWUHx5KvH3HAaHsnoMDH
wXnOjl8Y3eH1J+9d/aSMUrcg+rkUVBuv2VYrdgHHbRJNHvnl8oHLmmOgpQ2tPE3v
BIyrqCnq5R8WQ/jHhIq7aJry6KLjShZ8wiVRm96Wieb4lzIi6i/LkcAeT91+EXXy
AoQ9wwSAx6B7ookEmZfSLvLXJG2UKxZxkJP5NslYcOGFtI+nfVsWei0gwunqUjgX
oHgF4OzPge2qPJI5WiYAzPF/vSEuqs5wFEIKXtjr9h2rFnDQSkCZHvLcq5bnXWk=
=p9x0
-----END PGP SIGNATURE-----

--YPJ8CVbwFUtL7OFW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130706152811.GJ20631>