Skip to content

Add privileged command paths to path in runΒ #3

@fwdekker

Description

@fwdekker

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions