Help with #953875: permission to ship /etc/inittab in runit integration
Adam Borowski
kilobyte at angband.pl
Tue Apr 28 02:53:57 BST 2020
On Mon, Apr 27, 2020 at 01:36:09AM +0200, Lorenzo wrote:
> Dear list,
> Dear sysvinit maintainers,
>
> I have issues with #953875 (intalling runit will force an init switch
> systemd --> sysvinit).
>
> Currently, the best idea that I have is to merge all runit-integration
> (runit-sysv and runit-systemd) into one new package, and drop the
> dependency with any specific init system, thus solving the bug.
Sounds good so far.
> The problem: the sysv integration respawns runsvdir adding a line in
> /etc/inittab and since I want to drop the dependency on sysvinit-core,
> there is no guarantee that the inittab file exists at install time.
> In such case I need to copy inittab from somewhre (likely
> /usr/share/runit/ ) into /etc/ .
There's currently no shared way to manage inittab. This could be added eg.
to init-system-helpers.
Another, hacky, option is to declare a trigger on /etc/inittab appearing.
Meow!
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ in the beginning was the boot and root floppies and they were good.
⢿⡄⠘⠷⠚⠋⠀ -- <willmore> on #linux-sunxi
⠈⠳⣄⠀⠀⠀⠀
More information about the Debian-init-diversity
mailing list