From afb0fe3ccead10a3a68f938e80c891fe9d9cb9d3 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 14 Aug 2018 19:52:39 +0000 Subject: Move s6 higher in the supervision chain - Better s6 layout, with a place for early services and a place for packages to add their services later on. - s6-svscan is now supervised by sysvinit (instead of being run once by openrc) - s6-svscan is now the only process supervised by sysvinit. All the other "respawn" lines are delegated to s6. - utmpd and wtmpd are now early services instead of being added by openrc. These changes implement a full supervision architecture and make init more flexible. Later on, it will be easier to - add conditional gettys (for /dev/hvc0...) - remove sysvinit entirely - decouple the init process from the service manager. --- system/utmps/utmpd.run | 2 ++ 1 file changed, 2 insertions(+) (limited to 'system/utmps/utmpd.run') diff --git a/system/utmps/utmpd.run b/system/utmps/utmpd.run index 47bc824a2..5d66c183c 100644 --- a/system/utmps/utmpd.run +++ b/system/utmps/utmpd.run @@ -1,6 +1,8 @@ #!/bin/execlineb -P fdmove -c 2 1 +if { mkdir -p -m 0755 /run/utmps } +if { chown utmp:utmp /run/utmps } s6-setuidgid utmp cd /run/utmps fdmove 1 3 -- cgit v1.2.3-60-g2f50