Bug#812932: udev postinst blocking upgrades in LXC container

Grant McLean grant at catalyst.net.nz
Thu Jan 28 01:02:28 GMT 2016


On Thu, 2016-01-28 at 01:45 +0100, Michael Biebl wrote:
> Am 28.01.2016 um 01:33 schrieb Grant McLean:
> > On Thu, 2016-01-28 at 00:30 +0100, Michael Biebl wrote:
> >> Can you post the output of
> >> insserv -s
> > 
> > This is the output from insserv in a container where we experience the
> > problem:
> > 
> > # insserv -s
> ..
> > S:01:S:mountkernfs.sh
> 
> ..
> 
> > + update-rc.d udev defaults
> > insserv: Service mountkernfs has to be enabled to start service udev
> > insserv: exiting now!
> > update-rc.d: error: insserv rejected the script header
> > + exit 1
> 
> This looks like a problem in insserv, not udev.

Possibly, but there's no point calling update-rc.d (which calls
insserv?) on a system where udev is disabled.  The udev.postinst script
already omits some things when udev is disabled.  I'm suggesting that it
could omit calling update-rc.d too.

> What is the insserv version you have installed?

# apt-cache policy insserv
insserv:
  Installed: 1.14.0-5
  Candidate: 1.14.0-5
  Version table:
 *** 1.14.0-5 0
        500 http://debian.catalyst.net.nz/debian/ jessie/main amd64
Packages
        100 /var/lib/dpkg/status

Regards
Grant





More information about the Pkg-systemd-maintainers mailing list