3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
Peter Hoeg 22a500a3f8 pam_mount: do not re-prompt for password
nixos-rebuild test causes pam_mount to prompt for a password when running with
an encrypted home:

building '/nix/store/p6bflh7n5zy2dql8l45mix9qnzq65hbk-nixos-system-mildred-18.09.git.98592c5da79M.drv'...
activating the configuration...
setting up /etc...
reenter password for pam_mount:
(mount.c:68): Messages from underlying mount program:
(mount.c:72): crypt_activate_by_passphrase: File exists
(pam_mount.c:522): mount of /dev/mapper/vg0-lv_home_peter failed
kbuildsycoca5 running...

This change makes pam_mount not prompt. It still tries to remount (and fails in
the process) but that message can be ignored.

Fixes: #44586
2021-10-27 08:53:15 +08:00
..
config nixos/console: fix cross-compiling 2021-10-20 02:15:09 +02:00
hardware Merge pull request #140309 from OPNA2608/init/gkraken/21.11 2021-10-24 18:28:57 +02:00
i18n/input-method nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
installer nixos/nixos-enter: Add IN_NIXOS_ENTER variable 2021-10-13 13:05:54 +02:00
misc kippo: cleanup the corresponding broken module. 2021-10-08 14:10:49 +08:00
profiles
programs nixos/file-roller: add option for specify package 2021-10-22 10:26:27 +08:00
security pam_mount: do not re-prompt for password 2021-10-27 08:53:15 +08:00
services nixos/restic: rename s3CredentialsFile to environmentFile 2021-10-26 14:01:32 -07:00
system Merge pull request #142570 from flokli/add-missing-cryptsetup-targets 2021-10-25 12:51:27 +02:00
tasks nixos/networking: support FOU encapsulation for sits 2021-10-16 20:48:03 -04:00
testing
virtualisation Merge pull request #142032 from thiagokokada/refactor-libvirtd-module 2021-10-18 16:07:05 -04:00
module-list.nix Merge pull request #119719 from greizgh/seafile 2021-10-26 19:07:00 +02:00
rename.nix Merge pull request #140820 from VergeDX/kippo-remove 2021-10-11 17:19:11 +08:00