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 services: Consistently use SDDM rather than GDM on non-x86_64. 2022-01-06 18:54:59 -08:00
images images: novena: Fix build. 2022-03-15 13:14:29 +01:00
accounts.scm
file-systems.scm system: Add helper file-system-mount-point-predicate. 2022-02-15 10:14:14 +01:00
hurd.scm system: hurd: Fix bogus 'initrd-modules' field. 2022-04-08 18:14:35 +02:00
image.scm system: image: Add docker support. 2021-12-23 10:54:00 +01:00
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 initrd: Use non-hyphenated kernel command-line parameter names. 2022-03-01 10:30:17 -05:00
locale.scm system: locale: Use only the current glibc. 2022-01-14 14:29:20 +01:00
mapped-devices.scm mapped-devices: Ensure 'cryptsetup open' gets a tty. 2022-04-08 18:14:35 +02:00
nss.scm
pam.scm system: Allow 'chfn' to change the user's full name. 2022-01-01 15:10:12 +01:00
setuid.scm
shadow.scm
uuid.scm
vm.scm system: vm: Change the writable image name. 2022-01-14 12:26:07 +01:00