Skip to content

Create dedicated variables for daemon UID, GID #1290

Description

@sed-i

Check existing issues

  • I've verified that this request isn't described by any existing issues.

Request

It would be handy to have vars such as CRAFT_NON_ROOT_UID and CRAFT_NON_ROOT_GID.

The problem it solves

Currently, the docs state:

Currently, the only supported shared user is daemon (UID/GID 584792). If unset, the user root (UID/GID 0) is selected as the default OCI user.

As a result, we end up with the 584792 literal sprinkled in spread scripts and rockcraft *-override parts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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