summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-02-27 Noclamp the stage 1 envdirLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-02-18 Transmit console to stage2. Read stage1 envdir verbatim.Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-01-31 Halt, not poweroff, containers on SIGTERM (docker stop)Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-01-24 Better usage message for telinit when invoked as initLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-01-16 ctty-passing doesn't look satanic anymore, thx LeahLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-01-15 Less ugly version of the satanic versesLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-01-13 Better documentation of the satanic versesLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-01-13 Add satanic verses for ctty-passing in s6-l-iLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-01-13 Get the supervision tree rid of any control terminalLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-01-11 Catch SIGTERM in containers (for docker stop)Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-12-28 Allow normal users to run s6-l-i-hpr/sLaurent Bercot
Instead of testing the euid, test writability to the shutdownd pipe. Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-12-14 Fix indentation in s6-l-i-mLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-11-28 Add -S option to s6-l-i-m for container sync-on-haltLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-11-28 bugfix: shutdownd: flush the writes to stage 4.new in the container caseLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-09-26 Trivial bugfixLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-09-02 Adapt to s6-2.11.0.0Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-08-25 Make shutdownd work with CONFIG_TTY=nLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-08-23 Support CONFIG_TTY=n where the kernel doesn't even open 0, 1, 2Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-08-10 Prepare for 1.0.6.4, adapt to skalibs-2.11.0.0Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2021-05-05 newline-terminate generated utmpd run scriptLaurent Bercot
2021-04-23 Hack s6-l-i-m so it doesn't fail when run as non-rootLaurent Bercot
2021-04-19 Clean up the wtmp messLaurent Bercot
2021-03-19 shutdownd: unsupervise even when rename() failsLaurent Bercot
2021-02-14 bugfix: utmps default should be noneLaurent Bercot
2021-02-12 Fix them bugsLaurent Bercot
2021-02-12 bugfix: wall message on non-immediate shutdown(8)Laurent Bercot
2021-01-27 bugfix: actually log to catch-all in shutdownd.Laurent Bercot
Also support more options in telinit.
2020-12-09 Make it work with the new s6. Add s6-linux-init-nuke.Laurent Bercot
2020-11-30 Adapt to skalibs-2.10.0.0 and s6-2.10.0.0Laurent Bercot
2020-11-11 Accept 1 as cmdline runlevel; fix rc.shutdown comment for s6-rcLaurent Bercot
2020-11-10Fix s6-l-i-m init $@ bug; prepare for 1.0.5.1Laurent Bercot
2020-11-06 Change error message on !isatty()Laurent Bercot
2020-11-06 Fix trivial bugLaurent Bercot
2020-11-06 Add -i option to shutdown and hprLaurent Bercot
2020-06-22Don't test for shutdown.allow in containersLaurent Bercot
2020-06-09Properly prefix s6-log in s6-l-i-mLaurent Bercot
2020-03-21 Include posixishard as late as possibleLaurent Bercot
2020-03-16 Use s6-sudod -d in runleveldLaurent Bercot
2020-02-26 Simplify kbrequest managementLaurent Bercot
- the ioctl never works on /dev/console, so trying to use it on stdin is useless. - /dev/tty0 always exists in a devtmpfs, so the late test is okay. It works on serial consoles too. If no devtmpfs, creating a correct /dev/tty0 is the responsibility of the integrator. - Also added SIGINT blocking before disablecad, to avoid potential early panic. For it to work on kernels without signalfd, it requires the skalibs commit that unblocks selfpipe-trapped signals when not using signalfd. - No such block is needed for kbrequest, because the default action for SIGWINCH is ignore, not terminate.
2020-02-26 Tentative support for kbrequestLaurent Bercot
2020-02-18 Trigger a poweroff on SIGPWR to init (power failure)Laurent Bercot
2020-01-30 With the correct deps.makLaurent Bercot
2020-01-30 Do not attempt to unmount /runLaurent Bercot
2020-01-19 Small improvements to skel and autogenerationLaurent Bercot
2020-01-19 Add -C and -B options, prepare for 1.0.4.0Laurent Bercot
2019-12-08 Don't guard chown, so non-root invocation can fail as expectedLaurent Bercot
2019-11-15 s6-l-i-m: don't fail when rc.shutdown.final doesn't existLaurent Bercot
stage4 will print an error message when it tries to spawn it, but since it will reboot right afterwards, who cares.
2019-09-22 Make s6-l-i-m produce update-resistant scripts (use EXTBINPREFIX)Laurent Bercot
2019-09-21 Remove tainnow.lib dependencyLaurent Bercot
2019-09-06 Print HPR_BANNER_WALL to all users in shutdown(8) tooLaurent Bercot