summaryrefslogtreecommitdiff
path: root/src/init
AgeCommit message (Collapse)Author
2024-07-12 Use eltest instead of testHEADmasterLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
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-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-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-09-26 Trivial bugfixLaurent 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-02-14 bugfix: utmps default should be noneLaurent 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-06-22Don't test for shutdown.allow in containersLaurent Bercot
2020-06-09Properly prefix s6-log in s6-l-i-mLaurent 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-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-08-19 Add stage 4 hook supportLaurent Bercot
2019-08-09 Trap CAD in stage 1; prepare for 1.0.3.0Laurent Bercot