aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: shutdownd: flush the writes to stage 4.new in the container caseLaurent Bercot2021-11-281-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Trivial bugfixLaurent Bercot2021-09-261-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt to s6-2.11.0.0Laurent Bercot2021-09-021-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Make shutdownd work with CONFIG_TTY=nLaurent Bercot2021-08-251-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Support CONFIG_TTY=n where the kernel doesn't even open 0, 1, 2Laurent Bercot2021-08-231-4/+9
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 1.0.6.4, adapt to skalibs-2.11.0.0Laurent Bercot2021-08-109-25/+25
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* newline-terminate generated utmpd run scriptLaurent Bercot2021-05-051-1/+1
|
* Hack s6-l-i-m so it doesn't fail when run as non-rootLaurent Bercot2021-04-231-20/+36
|
* Clean up the wtmp messLaurent Bercot2021-04-192-13/+10
|
* shutdownd: unsupervise even when rename() failsLaurent Bercot2021-03-191-8/+7
|
* bugfix: utmps default should be noneLaurent Bercot2021-02-141-1/+1
|
* Fix them bugsLaurent Bercot2021-02-121-20/+27
|
* bugfix: wall message on non-immediate shutdown(8)Laurent Bercot2021-02-125-42/+99
|
* bugfix: actually log to catch-all in shutdownd.Laurent Bercot2021-01-272-15/+30
| | | | Also support more options in telinit.
* Make it work with the new s6. Add s6-linux-init-nuke.Laurent Bercot2020-12-095-5/+16
|
* Adapt to skalibs-2.10.0.0 and s6-2.10.0.0Laurent Bercot2020-11-304-21/+31
|
* Accept 1 as cmdline runlevel; fix rc.shutdown comment for s6-rcLaurent Bercot2020-11-111-1/+1
|
* Fix s6-l-i-m init $@ bug; prepare for 1.0.5.1Laurent Bercot2020-11-101-1/+1
|
* Change error message on !isatty()Laurent Bercot2020-11-061-1/+1
|
* Fix trivial bugLaurent Bercot2020-11-061-1/+1
|
* Add -i option to shutdown and hprLaurent Bercot2020-11-065-4/+58
|
* Don't test for shutdown.allow in containersLaurent Bercot2020-06-221-4/+8
|
* Properly prefix s6-log in s6-l-i-mLaurent Bercot2020-06-091-1/+1
|
* Include posixishard as late as possibleLaurent Bercot2020-03-211-1/+1
|
* Use s6-sudod -d in runleveldLaurent Bercot2020-03-161-1/+1
|
* Simplify kbrequest managementLaurent Bercot2020-02-261-26/+13
| | | | | | | | | | | | | | - 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.
* Tentative support for kbrequestLaurent Bercot2020-02-262-8/+37
|
* Trigger a poweroff on SIGPWR to init (power failure)Laurent Bercot2020-02-181-0/+1
|
* With the correct deps.makLaurent Bercot2020-01-301-3/+2
|
* Do not attempt to unmount /runLaurent Bercot2020-01-301-1/+5
|
* Small improvements to skel and autogenerationLaurent Bercot2020-01-191-15/+21
|
* Add -C and -B options, prepare for 1.0.4.0Laurent Bercot2020-01-197-113/+286
|
* Don't guard chown, so non-root invocation can fail as expectedLaurent Bercot2019-12-081-1/+1
|
* s6-l-i-m: don't fail when rc.shutdown.final doesn't existLaurent Bercot2019-11-151-6/+6
| | | | | stage4 will print an error message when it tries to spawn it, but since it will reboot right afterwards, who cares.
* Make s6-l-i-m produce update-resistant scripts (use EXTBINPREFIX)Laurent Bercot2019-09-221-11/+11
|
* Remove tainnow.lib dependencyLaurent Bercot2019-09-215-5/+5
|
* Print HPR_BANNER_WALL to all users in shutdown(8) tooLaurent Bercot2019-09-061-1/+9
|
* shutdown protocol now transmits a timeout; move to stopwatch APILaurent Bercot2019-09-063-2/+5
|
* Add stage 4 hook supportLaurent Bercot2019-08-194-42/+42
|
* Trap CAD in stage 1; prepare for 1.0.3.0Laurent Bercot2019-08-091-1/+3
|
* Don't forget to sync before rebootingLaurent Bercot2019-07-281-0/+1
|
* remove extra if branch in shutdownd; prepare for 1.0.2.1Laurent Bercot2019-07-181-6/+0
|
* bugfix: don't overwrite the first kernel cmdline argumentLaurent Bercot2019-07-081-1/+0
|
* Add -H and -P to s6-l-i-shutdown, prepare for 1.0.2.0Laurent Bercot2019-06-091-2/+10
|
* Improve UX following IRC feedback, prepare for 1.0.1.0Laurent Bercot2019-05-201-19/+26
|
* No utmpx errors; no additional /dev/console message when shutdown -a failsLaurent Bercot2019-05-121-11/+1
|
* Careful with that stack, EugeneLaurent Bercot2019-05-071-1/+1
|
* Fix hpr_wall utmp access, so is ut_id entirely unused?Laurent Bercot2019-05-061-9/+3
|
* Fix shutdown time bugLaurent Bercot2019-05-061-4/+4
|
* fix hpr -w, refactor shutdownLaurent Bercot2019-05-062-13/+10
|