-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Thank you for creating these actions! They've been super useful for me :-)
During the prepare part of the action, I can run pkg_add and pkg_create because they are on the PATH. However, this is not the case during the run part of the action, because there the PATH does not include directories such as /sbin and /usr/sbin.
Specifically, during prepare the PATH is
/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin
while during run the PATH is
/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin
This is in contrast to openbsd-vm, in which the PATH is the same for both prepare and run (except some entries are reordered).
Would it be possible to make the PATHs for prepare and run the same, so that "privileged" commands are also available during run?
schmonz
Metadata
Metadata
Assignees
Labels
No labels