summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2019-09-06 shutdown protocol now transmits a timeout; move to stopwatch APILaurent Bercot
2019-08-19 Add stage 4 hook supportLaurent Bercot
2019-08-09 Trap CAD in stage 1; prepare for 1.0.3.0Laurent Bercot
2019-07-28 Don't forget to sync before rebootingLaurent Bercot
2019-07-18 remove extra if branch in shutdownd; prepare for 1.0.2.1Laurent Bercot
2019-07-08 bugfix: don't overwrite the first kernel cmdline argumentLaurent Bercot
2019-06-09 Add -H and -P to s6-l-i-shutdown, prepare for 1.0.2.0Laurent Bercot
2019-05-20 Improve UX following IRC feedback, prepare for 1.0.1.0Laurent Bercot
2019-05-12 No utmpx errors; no additional /dev/console message when shutdown -a failsLaurent Bercot
2019-05-07 Careful with that stack, EugeneLaurent Bercot
2019-05-06 Fix hpr_wall utmp access, so is ut_id entirely unused?Laurent Bercot
2019-05-06 Fix shutdown time bugLaurent Bercot
2019-05-06 fix hpr -w, refactor shutdownLaurent Bercot
2019-05-04 Correctly (hopefully) unsupervise stuff before stage 4Laurent Bercot
2019-05-04 Add -n and -N options to s6-l-i and s6-l-i-mLaurent Bercot
2019-05-02 Fix 'what' bugLaurent Bercot