aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/shadow.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-04-08 11:53:02 +0200
committerLudovic Courtès <ludo@gnu.org>2022-04-08 18:14:35 +0200
commit931f13840bad7bd3cb98b7806f09ca2b3cf7cd10 (patch)
tree9724772c119ceb742e34efee26ebdefdd77cfa69 /gnu/system/shadow.scm
parentdf473496edefbb88eaf2fbff7dda2665eb21b4d1 (diff)
downloadguix-931f13840bad7bd3cb98b7806f09ca2b3cf7cd10.tar.gz
guix-931f13840bad7bd3cb98b7806f09ca2b3cf7cd10.zip
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/system/shadow.scm')
0 files changed, 0 insertions, 0 deletions