[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Sorry, I forgot to attach logs.
They are tar-xz ed.
Regards,
Otha.

On Wed, 23 Nov 2016 15:58:26 +0100
Michael Biebl <biebl@debian.org> wrote:

> Am 23.11.2016 um 14:30 schrieb Michael Biebl:
> 
> > 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?  
> 
> Something like the attached patch should do the trick.
> I wonder though, if we should use the other tools from mount as well,
> like umount, swapon/off
> 
> Feedback welcome.
> 
> 

Attachment: mount_try_to_usr_with_auto_logs_20161125-1.tar.xz
Description: application/xz

Attachment: pgpVjshuLfKYr.pgp
Description: OpenPGP digital signature


Reply to: