summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-06-16Remove error message when rc.shutdown.final script is not foundSertonix
Signed-off-by: Sertonix <sertonix@posteo.net>
2023-09-09 Adapt to skalibs-2.14Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-07-06 Use open2() safe wrapperLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-21 Add better debug, fix svscan control pipe pathLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-20 Better unsupervise_tree in shutdowndLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-19 Rescan after unsupervising tree in shutdowndLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-07 Add verbosity setting, prepare for 1.1.2.0Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-06 Add notification to shutdowndLaurent Bercot
This saves 1 second between stage 3 and stage 4. Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-01 Prepare for 1.1.1.2; accept hiercopy when /run can't be chmoddedLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-04-29 Prepare for 1.1.1.1; fix ctty passing when we have a loggerLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-02-26 Add warning to the doc; also set soft limitsLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-02-26 Prepare for 1.1.1.0; add s6-l-i-m -R option to set hard limitsLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-02-10 Fix buildLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-02-10 Prepare for 1.1.0.0; remove early utmpd supportLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-11-29 Prepare for 1.0.8.1Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-06-13 Make scandir compile-time configurableLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
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