guix/gnu/system
Ludovic Courtès 931f13840b
mapped-devices: Ensure 'cryptsetup open' gets a tty.
Fixes <https://issues.guix.gnu.org/54770>.
Regression introduced in 400c9ed3d7.

Previously, for an encrypted /home (say), "cryptsetup open" would be
invoked by shepherd, with /dev/null as its standard input.  It would
thus run in non-interactive mode and, instead of asking for a
passphrase, fail with:

  Nothing to read on input.

This change ensures it runs in interactive mode.

* gnu/build/file-systems.scm (system*/console, system*/tty): New
procedures.
* gnu/system/mapped-devices.scm (open-luks-device): Use 'system*/tty'
instead of 'system*'.
2022-04-08 18:14:35 +02:00
..
examples
images images: novena: Fix build. 2022-03-15 13:14:29 +01:00
accounts.scm
file-systems.scm
hurd.scm system: hurd: Fix bogus 'initrd-modules' field. 2022-04-08 18:14:35 +02:00
image.scm
install.scm
keyboard.scm
linux-container.scm linux-container: Add #:guest-uid and #:guest-gid to 'eval/container'. 2022-03-19 18:26:00 +01:00
linux-initrd.scm
locale.scm
mapped-devices.scm mapped-devices: Ensure 'cryptsetup open' gets a tty. 2022-04-08 18:14:35 +02:00
nss.scm
pam.scm
setuid.scm
shadow.scm
uuid.scm
vm.scm