guix/gnu/build
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
..
accounts.scm system: Allow 'chfn' to change the user's full name. 2022-01-01 15:10:12 +01:00
activation.scm initrd: Use non-hyphenated kernel command-line parameter names. 2022-03-01 10:30:17 -05:00
bootloader.scm
chromium-extension.scm chromium-extension: Avoid another usage of the store-mapped /tmp. 2021-12-23 03:07:34 +01:00
cross-toolchain.scm
file-systems.scm mapped-devices: Ensure 'cryptsetup open' gets a tty. 2022-04-08 18:14:35 +02:00
hurd-boot.scm initrd: Use non-hyphenated kernel command-line parameter names. 2022-03-01 10:30:17 -05:00
image.scm build: image: Account for fixed-size file system structures. 2022-02-07 16:22:37 -05:00
install.scm
jami-service.scm
linux-boot.scm initrd: Honor rootfstype and rootflags command-line parameters. 2022-03-01 10:30:18 -05:00
linux-container.scm linux-container: Handle CLONE_NEWCGROUP and use it by default. 2022-01-05 23:44:18 +01:00
linux-initrd.scm
linux-modules.scm
locale.scm
marionette.scm Remove VM generation dead-code. 2021-12-23 10:54:00 +01:00
secret-service.scm secret-service: Allow cooperative scheduling when Fibers is used. 2022-04-07 00:08:56 +02:00
shepherd.scm shepherd: Adjust 'fork+exec-command/container' for the Shepherd 0.9. 2022-04-07 00:08:55 +02:00
svg.scm