aboutsummaryrefslogtreecommitdiffstats
path: root/src/init
Commit message (Collapse)AuthorAgeFilesLines
* 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-131-2/+2
| | | | 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>
* 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>
* Trivial bugfixLaurent Bercot2021-09-261-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-103-6/+6
| | | | 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-191-12/+5
|
* bugfix: utmps default should be noneLaurent Bercot2021-02-141-1/+1
|
* bugfix: actually log to catch-all in shutdownd.Laurent Bercot2021-01-271-5/+8
| | | | Also support more options in telinit.
* Make it work with the new s6. Add s6-linux-init-nuke.Laurent Bercot2020-12-091-2/+5
|
* Adapt to skalibs-2.10.0.0 and s6-2.10.0.0Laurent Bercot2020-11-303-18/+20
|
* 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
|
* 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
|
* 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
|
* Small improvements to skel and autogenerationLaurent Bercot2020-01-191-15/+21
|
* Add -C and -B options, prepare for 1.0.4.0Laurent Bercot2020-01-193-72/+207
|
* 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
|
* Add stage 4 hook supportLaurent Bercot2019-08-191-0/+1
|
* Trap CAD in stage 1; prepare for 1.0.3.0Laurent Bercot2019-08-091-1/+3
|
* bugfix: don't overwrite the first kernel cmdline argumentLaurent Bercot2019-07-081-1/+0
|
* Improve UX following IRC feedback, prepare for 1.0.1.0Laurent Bercot2019-05-201-19/+26
|
* Add -n and -N options to s6-l-i and s6-l-i-mLaurent Bercot2019-05-042-12/+39
|
* Usage message fixLaurent Bercot2019-05-011-2/+2
|
* -d slashdev, not -d dev_type! Fix and update the doc.Laurent Bercot2019-04-291-6/+3
|
* More bugfixes, glibc multilib workaroundLaurent Bercot2019-04-282-16/+16
|
* Fix stage2 and stage3 invocation pathsLaurent Bercot2019-04-281-3/+2
|
* Adjust s6-ipcserver options in created scriptsLaurent Bercot2019-04-281-13/+3
|
* s6-linux-init: better internal API for envmodifs passingLaurent Bercot2019-04-281-3/+3
|
* Fascist check for env_storeLaurent Bercot2019-04-281-0/+2
|
* Proper cleanups in s6-l-i-mLaurent Bercot2019-04-281-3/+12
|
* Don't nochomp the initial environmentLaurent Bercot2019-04-281-2/+7
|
* Bugfix: in s6-linux-init-maker, mkdir -p shouldn't chown existing dirsLaurent Bercot2019-04-281-1/+1
|
* First bugfixesLaurent Bercot2019-04-261-15/+14
|