Bug#845302: systemd: 232-6:Failed to boot, makes kernel panic when starting /sbin/init.

Michael Biebl biebl at debian.org
Wed Nov 23 13:30:36 GMT 2016


Control: reassign -1 initramfs-tools 0.125


Am 23.11.2016 um 11:25 schrieb K.Ohta:
> Not mounted /usr and made kernel panic still longer sleep.
> 
> Then booting with "init=/bin/bash" , check dmesg (attached).
> Below message was wrote when trying to mount /usr :
>> [   15.958645] EXT4-fs (sde3): Unrecognized mount option "auto" or missing value
> 
> If this message is correct, mount program included by initramfs
> has not recognized "auto" (or some another) option(s), regardless
> /bin/mount (or /sbin/mount/ext4) recognize this option(s) :-(


I'm going to reassign this to initramfs-tools as it uses mount
implementations from either klibc-utils or busybox which are both
incomplete and as a result, fail to mount /usr.

I decided against reassigning this to busybox and klibc-utils.
I think it's preferable, if initramfs-tools simply uses the mount
implementation from the real systemd, i.e. util-linux. This guarantees
that we won't run into such problems again in the future.

The mount utility is tiny, all its library dependencies are already in
the initramfs. Rebuilding the initramfs with mount from u-l increases
the size by 17K.

We would also have to make sure to use mount --move in
/usr/share/initramfs-tools/init for /run, /sys and /proc

Ben, what's your take on this?

Regards,
Michael

-- 
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: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20161123/33ca70f5/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list