Skip to content

openrc-user-pam: skip initialization for users without a login shell #940

@vixalien

Description

@vixalien

When openrc-user-pam is installed on alpine, openrc will try (hopefully) to run the openrc services for the GDM and greetd users whenever their respective login manager starts.

This will eventually fail after 3 tries, and it will fail anyway, because those users have /bin/nologin or /usr/bin/nologin as their login shell.

It would be nice if these tries were not done at all, as it wastes a small amount of time while trying to boot up the laptop quickly.

A better alternative would be to support launching user services even if the login shell was set to nologin but not sure if that's possible

/cc @navi-desu

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