*** This bug is a duplicate of bug 131961 ***
    https://bugs.launchpad.net/bugs/131961

Same problem here.

I managed to track it down to the mount calls done from 
/usr/share/initramfs-tools/scripts/init-bottom/udev
  mount -n -o bind ${rootmnt}/dev /dev/.static/dev
  mount -n -o move /dev ${rootmnt}/dev

and in /usr/share/initramfs-tools/init
  mount -n -o move /sys ${rootmnt}/sys
  mount -n -o move /proc ${rootmnt}/proc

If these are commented out and a update-initramfs -u is run there are no
longer any segfaults and everything works fine.

${rootmnt} is set to /root on my system and the folders /root/dev,
/root/sys and /root/proc arn't created nor do they don't exist. Perhaps
wrapping the  mount command in a if [ -d ${rootmnt}/$FOLDER ] is a good
idea.

Anyhow, someone who is more qualified should look at this.

-- 
[gutsy] segmentation fault during boot in /scripts/init-bottom
https://bugs.launchpad.net/bugs/132289
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to