Bug#812932: udev postinst blocking upgrades in LXC container

Michael Biebl biebl at debian.org
Thu Jan 28 01:10:35 GMT 2016


Am 28.01.2016 um 02:02 schrieb Grant McLean:
> 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.

Well, there is. You might want to debootstrap a system and later deploy
the image to systems where udev actually needs to run.

How exactly did you "disable udev"?

If you run "insserv udev", what's the output?




-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20160128/13fb0d94/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list