Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 May 2017 13:28:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-jail@FreeBSD.org
Subject:   [Bug 219055] nice jail anomoly - values not passed into jailed processes when using jexec -U username
Message-ID:  <bug-219055-9824-gv3ilTZQSo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219055-9824@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219055-9824@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219055

Fabian Keil <fk@fabiankeil.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fk@fabiankeil.de

--- Comment #1 from Fabian Keil <fk@fabiankeil.de> ---
If one of its options is set, jexec(8) uses the login class information
which overrides the initial priority of jexec(8) itself.

While the man page could make this more obvious (I had to look at
the code), this is the "expected" behaviour and not a bug in the tool.

I frequently use commands like:
sudo jexec -U root poudriere env PS1=3D'\u@\h \w \$' nice -n 20
/usr/local/bin/bash

They work as expected and don't rely on any "workarounds"
or undocumented jexec(8) behaviour.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219055-9824-gv3ilTZQSo>