nixpkgs/pkgs/os-specific
Sergei Trofimovich 60e0187471 pam: fix pam_unix autohentication failures when ran as user
Commit d0c42dfa "pam: bind Linux-PAM locales from pam-specific folder
(upstream patch)" added autoreconfHook269 into one of the postPatch
phases.

This clobbered the change applied by `suid-wrapper-path.patch` as it was
patching Makefile.in.

As a result `nixosTests.sway` test started failing as:

    check pass; user unknown

Running `swaylock` on real system exhibited the same result.

As `suid-wrapper-path.patch` is clobbered we were running non-suid
version of `unix_chkpwd`:

    /nix/store/...-linux-pam-1.5.2/sbin/unix_chkpwd

instead of SUID-wrapped

    /run/wrappers/bin/unix_chkpw

The fix is trivial: move the patch from auto-generated file to
`Makefile.am`.

Discovered-by: Yureka
2023-11-11 09:54:04 +00:00
..
bsd treewide: use uncurried version of makeScopeWithSplicing 2023-08-14 02:51:10 +03:00
darwin Merge master into staging-next 2023-11-11 06:01:00 +00:00
linux pam: fix pam_unix autohentication failures when ran as user 2023-11-11 09:54:04 +00:00
solo5
windows treewide: vendorSha256 -> vendorHash (#256514) 2023-09-21 19:11:11 +02:00