Re: poudriere 3.4.0 regression: -i runs as NON_ROOT user
Date: Sat, 13 Jan 2024 02:17:48 UTC
On 1/12/24 10:20, Derek Schrock wrote: > You can `su -l` as nobody in the jail to get to root too. Helpful, thanks! > Still extra > but I do believe it is executed that interactive is started as non-root > when building as non-root. If this change is documented somewhere I haven't seen it. And if if this is the desired behavior, there's still something not quite right as UID is set to 0 which breaks things. I *think* poudriere is setting it because bsd.port.mk appears to set it to .MAKE.UID if it's not already defined (and .MAKE.UID is set correctly). Craig zinc 143 # poudriere bulk -i -C -j 13release -p current-patched ports-mgmt/pkg [00:00:00] Creating the reference jail... done [...] [00:01:18] Entering interactive test mode. Type 'exit' when done. nobody@zinc:/usr/ports/ports-mgmt/pkg % whoami nobody nobody@zinc:/usr/ports/ports-mgmt/pkg % make -V UID 0 nobody@zinc:/usr/ports/ports-mgmt/pkg % make -V .MAKE.UID 65534