[2018-11-05 03:58] alecfeld...@disroot.org
> Dear Maintainer,

Hello.

> When using the "single" kernel parameter, sulogin is started in stage 1.
> Signals only work in stage 2, and so reboot and shutdown commands don't work.

Yes, it is unfortunate; I believe crude `halt -f' still should work,
since it invokes reboot(2) directly.

> In order to rectify this problem, I implemented Void Linux's solution,
> where custom runsvdirs can be created in stage 2. This way, if
> "single" is used, stage 2 will start services in
> /etc/runit/runsvdir/single. An sulogin service, which is also provided
> by Void, is needed in the single folder.

Sounds reasonable. But seems you forgot to attach patch.

> A relative symlink from /etc/runit/runsvdir/default to
> /etc/runit/runsvdir/current is also needed for the runsvchdir command
> to switch runsvdirs. Currently, this problem effects all debian
> releases.

Wait. /etc/runit/runsvdir/default is a directory, not symlink.

Reply via email to