mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
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
1 changed files with 8 additions and 1 deletions
|
@ -1113,7 +1113,14 @@ (define mingetty-shepherd-service
|
||||||
|
|
||||||
(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 a new issue