diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-04-08 11:53:02 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-04-08 18:14:35 +0200 |
commit | 931f13840bad7bd3cb98b7806f09ca2b3cf7cd10 (patch) | |
tree | 9724772c119ceb742e34efee26ebdefdd77cfa69 /gnu/build/linux-container.scm | |
parent | df473496edefbb88eaf2fbff7dda2665eb21b4d1 (diff) | |
download | guix-patches-931f13840bad7bd3cb98b7806f09ca2b3cf7cd10.tar guix-patches-931f13840bad7bd3cb98b7806f09ca2b3cf7cd10.tar.gz |
mapped-devices: Ensure 'cryptsetup open' gets a tty.
Fixes <https://issues.guix.gnu.org/54770>.
Regression introduced in 400c9ed3d779308e56038305d40cd93acb496180.
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*'.
Diffstat (limited to 'gnu/build/linux-container.scm')
0 files changed, 0 insertions, 0 deletions