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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

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

Fabian Keil <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Fabian Keil <[hidden email]> ---
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.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "[hidden email]"