aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for 1.1.3.0, templated configure, pkg-config support, etc.Laurent Bercot2025-04-271-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Use eltest instead of testLaurent Bercot2024-07-121-2/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* stage4 typo fixLaurent Bercot2024-07-021-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove error message when rc.shutdown.final script is not foundSertonix2024-06-161-2/+2
| | | | Signed-off-by: Sertonix <sertonix@posteo.net>
* Adapt to skalibs-2.14Laurent Bercot2023-09-092-2/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Use open2() safe wrapperLaurent Bercot2023-07-062-9/+9
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add better debug, fix svscan control pipe pathLaurent Bercot2023-06-211-3/+14
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Better unsupervise_tree in shutdowndLaurent Bercot2023-06-201-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Rescan after unsupervising tree in shutdowndLaurent Bercot2023-06-191-0/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add verbosity setting, prepare for 1.1.2.0Laurent Bercot2023-06-072-32/+43
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add notification to shutdowndLaurent Bercot2023-06-062-3/+17
| | | | | | This saves 1 second between stage 3 and stage 4. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 1.1.1.2; accept hiercopy when /run can't be chmoddedLaurent Bercot2023-06-011-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 1.1.1.1; fix ctty passing when we have a loggerLaurent Bercot2023-04-291-4/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add warning to the doc; also set soft limitsLaurent Bercot2023-02-261-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 1.1.1.0; add s6-l-i-m -R option to set hard limitsLaurent Bercot2023-02-262-4/+112
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix buildLaurent Bercot2023-02-101-3/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 1.1.0.0; remove early utmpd supportLaurent Bercot2023-02-103-66/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 1.0.8.1Laurent Bercot2022-11-2911-11/+12
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Make scandir compile-time configurableLaurent Bercot2022-06-134-59/+53
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Noclamp the stage 1 envdirLaurent Bercot2022-02-271-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Transmit console to stage2. Read stage1 envdir verbatim.Laurent Bercot2022-02-181-18/+32
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Halt, not poweroff, containers on SIGTERM (docker stop)Laurent Bercot2022-01-311-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Better usage message for telinit when invoked as initLaurent Bercot2022-01-241-4/+15
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* ctty-passing doesn't look satanic anymore, thx LeahLaurent Bercot2022-01-161-77/+22
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Less ugly version of the satanic versesLaurent Bercot2022-01-151-52/+52
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Better documentation of the satanic versesLaurent Bercot2022-01-131-5/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add satanic verses for ctty-passing in s6-l-iLaurent Bercot2022-01-131-7/+82
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Get the supervision tree rid of any control terminalLaurent Bercot2022-01-132-6/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Catch SIGTERM in containers (for docker stop)Laurent Bercot2022-01-111-1/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Allow normal users to run s6-l-i-hpr/sLaurent Bercot2021-12-282-9/+7
| | | | | | Instead of testing the euid, test writability to the shutdownd pipe. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix indentation in s6-l-i-mLaurent Bercot2021-12-141-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add -S option to s6-l-i-m for container sync-on-haltLaurent Bercot2021-11-281-16/+23
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* 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
|