Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

physlock: 0.5 -> 11-dev #29083

Merged
merged 1 commit into from Sep 12, 2017
Merged

physlock: 0.5 -> 11-dev #29083

merged 1 commit into from Sep 12, 2017

Conversation

timor
Copy link
Member

@timor timor commented Sep 7, 2017

Update physlock to a more current version which supports PAM and
systemd-logind. Amongst others, this should work now with the slim
login manager without any additional configuration, because it does
not rely on the utmp mechanism anymore.

Motivation for this change

The old physlock version did not support PAM, and relied on the session manager
creating utmp entries. This version supports getting the necessary information via
systemd-logind, so that it works from X as well as the terminals out of the box.

Things done

Updated Package source to new version.
Changed service file to add the corresponding PAM service

  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@timor
Copy link
Member Author

timor commented Sep 7, 2017

Now that I created the pull request I am wondering whether adding the PAM dependency may actually be a bad thing?

Update physlock to a more current version which supports PAM and
systemd-logind.  Amongst others, this should work now with the slim
login manager without any additional configuration, because it does
not rely on the utmp mechanism anymore.
@Mic92 Mic92 merged commit 2661993 into NixOS:master Sep 12, 2017
@Mic92
Copy link
Member

Mic92 commented Sep 12, 2017

Thanks! Less assumption about used login-managers is a good thing, I would say.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants