summaryrefslogtreecommitdiff
path: root/gnu/services/base.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-07-05 00:11:45 +0200
committerLudovic Courtès <ludo@gnu.org>2018-07-05 00:14:01 +0200
commita043b5b81a080c47e24298c80857919b9ea21bb2 (patch)
tree8ed1ea8f00d0b61df6ab3966f082de64264ddeea /gnu/services/base.scm
parent9fd877247de6efec3aec53e93db5323a97d7b05e (diff)
downloadpatches-a043b5b81a080c47e24298c80857919b9ea21bb2.tar
patches-a043b5b81a080c47e24298c80857919b9ea21bb2.tar.gz
services: mingetty: Use '--nohangup'.
See the discussion at <https://lists.gnu.org/archive/html/guix-devel/2018-07/msg00049.html>. * gnu/services/base.scm (mingetty-shepherd-service): Pass "--nohangup" to mingetty.
Diffstat (limited to 'gnu/services/base.scm')
-rw-r--r--gnu/services/base.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 68411439db..9fad9af99f 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -1113,7 +1113,14 @@ the tty to run, among other things."
(start #~(make-forkexec-constructor
(list #$(file-append mingetty "/sbin/mingetty")
- "--noclear" #$tty
+ "--noclear"
+
+ ;; Avoiding 'vhangup' allows us to avoid 'setfont'
+ ;; errors down the path where various ioctls get
+ ;; EIO--see 'hung_up_tty_ioctl' in driver/tty/tty_io.c
+ ;; in Linux.
+ "--nohangup" #$tty
+
#$@(if auto-login
#~("--autologin" #$auto-login)
#~())