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.
This commit is contained in:
parent
9fd877247d
commit
a043b5b81a
|
@ -1113,7 +1113,14 @@ the tty to run, among other things."
|
||||||
|
|
||||||
(start #~(make-forkexec-constructor
|
(start #~(make-forkexec-constructor
|
||||||
(list #$(file-append mingetty "/sbin/mingetty")
|
(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
|
#$@(if auto-login
|
||||||
#~("--autologin" #$auto-login)
|
#~("--autologin" #$auto-login)
|
||||||
#~())
|
#~())
|
||||||
|
|
Loading…
Reference in New Issue