guix/gnu
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
..
bootloader
build mapped-devices: Ensure 'cryptsetup open' gets a tty. 2022-04-08 18:14:35 +02:00
home home: shepherd: Default to version 0.9. 2022-04-07 00:08:56 +02:00
installer installer: user: Remove useless filtering. 2022-04-06 21:19:08 +02:00
machine
packages gnu: icedove: Update to 91.8 [fixes CVE-2022-1197]. 2022-04-08 16:00:23 +02:00
platforms
services services: openssh: Start as an inetd service. 2022-04-07 00:08:56 +02:00
system mapped-devices: Ensure 'cryptsetup open' gets a tty. 2022-04-08 18:14:35 +02:00
tests services: openssh: Start as an inetd service. 2022-04-07 00:08:56 +02:00
artwork.scm
bootloader.scm
ci.scm
home.scm
image.scm
installer.scm
local.mk gnu: LLVM, Clang: Add 14.0.0. 2022-04-07 23:12:44 +02:00
machine.scm
packages.scm packages: Add 'package-unique-version-prefix'. 2022-04-04 22:58:03 +02:00
platform.scm
services.scm
system.scm services: shepherd: Default to version 0.9. 2022-04-07 00:08:56 +02:00
tests.scm