From a043b5b81a080c47e24298c80857919b9ea21bb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 5 Jul 2018 00:11:45 +0200 Subject: services: mingetty: Use '--nohangup'. See the discussion at . * gnu/services/base.scm (mingetty-shepherd-service): Pass "--nohangup" to mingetty. --- gnu/services/base.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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) #~()) -- cgit v1.2.1