Skip to content

nixos/services.displayManager.ly: shell authentication not working and wrong nixbld users shown #487747

@D3vil0p3r

Description

@D3vil0p3r

Nixpkgs version

  • Unstable (26.05)

Describe the bug

When services.displayManager.ly.enable = true, the Ly display manager is correctly enabled, but it shows all nixbld users despite they are nologin user types. They should not be shown as the other nologin users (look at /etc/passwd for a list of them).

Furthermore, on Ly, when shell is selected, and we try to authenticate by the user, there is only a blinking cursor, probably because on NixOS the default value of getting the shell has not been correctly linked.

In addition, if I press F5 or F6 to change brightness, the machine freezes (I'm testing on QEMU Virt-Manager).

Steps to reproduce

Set services.displayManager.ly.enable = true, rebuild the configuration, reboot, and try to look the different user accounts you can select for login and you will see nixbld users.

Furthermore, about shell authentication, just select it as environment for login, and then try to authenticate to it by your user.

For brightness freeze, just press F5 or F6 at login time.

Expected behaviour

nixbld users should not appear on Ly username list at login since they are nologin user accounts (like already happens with other nologin users); shell environment must work instead of hanging, it must invoke the correct command Nix path to invoke the tty.

Fix F5 and F6 freeze.

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

Image

Notify maintainers

@Vonfry


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions