[Bug 219055] nice jail anomoly - values not passed into jailed processes when using jexec -U username

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 4 13:28:33 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219055

Fabian Keil <fk at fabiankeil.de> changed:

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

--- Comment #1 from Fabian Keil <fk at 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='\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.

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


More information about the freebsd-jail mailing list