Skip to content

support systemd: dynamicUser=yes #27

@dvdsk

Description

@dvdsk

Systemd supports dynamic users:

UNIX user and group pair is allocated dynamically when the unit is started, and released as soon as it is stopped. The user and group will not be added to /etc/passwd or /etc/group, but are managed transiently during runtime.

I do not know how uzers is implemented however from the test suite it seems to read /etc/passwd. When I query for the primary group from a program started by systemd as a service with dynamic user turned on I get None.

I think it would be nice to support this but it is an edge case. I would fix it myself if I had the time.

I feel its reasonable to close this with "wontfix".

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions