On Fri, Feb 25, 2022 at 11:29:32AM -0700, Ted Unangst wrote:
> CVSROOT:      /cvs
> Module name:  src
> Changes by:   t...@cvs.openbsd.org    2022/02/25 11:29:32
> 
> Modified files:
>       usr.bin/doas   : doas.c 
> 
> Log message:
> use setall for setusercontext, to make it simpler to inherit new changes.
> note that the addition of setenv doesn't do much, since doas will rewrite
> the environment anyway (but added variables are accessible in keepenv,
> should anybody be using that feature).

This broke regress on my amd64 machine, seeing the following in
/var/log/messages:

        Feb 26 05:27:34 amd64-regress doas: could not set user environment: No 
such file or directory

> usr.bin/doas:
Exit: 1
Duration: 00:00:01
Log: 206-usr.bin-doas.log

==== t-run-keepenv-path ====
t-run-keepenv-path
doas: failed to set user context for target
*** Error 1 in . (Makefile:89 't-run-keepenv-path': @mnt=$(echo 
'/home/src/regress/usr.bin/doas/obj /tmp' | cut -d ' ' -f 1);  tdir=$(mktemp...)
FAILED

Reply via email to