aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for 1.2.0.2; attempt ro remount if umount failsLaurent Bercot2026-05-231-2/+13
|
* Change stage 4 commands to use external prefixLaurent Bercot2026-04-301-2/+2
| | | | | | | | | | | | | If you are using slashpackage or an equivalent full-versioned fs hierarchy, if you upgrade s6-l-i, delete the old package, do not restart the s6-linux-init-shutdownd service, and reboot, shutdownd will create a stage 4 script using old full-versioned paths, and your reboot will fail in stage 4, which is very bad since nothing is running anymore so recovery is impossible. (Destructors should never fail.) To prevent that from happening, use non-versioned paths to s6-l-i commands in stage 4.
* Add -W readyfd support to s6-l-i and s6-l-i-mLaurent Bercot2025-12-182-12/+34
|
* Convert s6-l-i to golLaurent Bercot2025-12-181-73/+90
|
* Prepare for 1.2.0.0. env_store now needs to be read with chomp.Laurent Bercot2025-08-191-1/+1
|
* 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
|