me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
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 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
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
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