Bug#922815: insserv FATAL while updating as mountkernfs has to be enabled to use service udev

Dmitry Bogatov KAction at debian.org
Wed Feb 27 03:01:14 GMT 2019

[2019-02-25 05:45] shirish शिरीष <shirishag75 at gmail.com>
> On 24/02/2019, Dmitry Bogatov <KAction at debian.org> wrote:
> <snipped>
> > Interesting, you seems somehow got mountkernfs.sh script removed from
> > runlevel S.
> >
> > Can you please invoke as root
> >
> > 	# update-rc.d mountkernfs.sh enable S
> >
> > and then retry your upgrade.
> When I try the command you shared, it says -
> root at debian:~# update-rc.d mountkernfs.sh enable S
> update-rc.d: error: cannot find a LSB script for mountkernfs.sh

Seems there is no /etc/init.d/mountkernfs.sh on your system.

Since your init system is systemd, I question, why do you need insserv
in first place. Do you have bin:initscripts installed?

My guess is that update-initramfs invokes insserv /if/ it is available,
and since you have insserv installed, but no initscripts, we get this

Adding initramfs-tools maintainer into loop. If my guess is correct,
this issue should be resolved on initramfs side, since making insserv
depending on initscripts is not nice to user.
        Note, that I send and fetch email in batch, once every 24 hours.
                 If matter is urgent, try https://t.me/kaction

More information about the Debian-init-diversity mailing list