[Bug 1099349] Re: mountall 2.36.3 hangs in recovery-menu (lvm; mountall 2.36 has no issue)

Margarita Manterola marga at google.com
Mon Jan 14 15:22:53 UTC 2013


I was also able to reproduce this in a fresh precise machine, installing
it under kvm.

Similar lsblk:
NAME                     MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
vda                      253:0    0  15.6G  0 disk 
├─vda1                   253:1    0   237M  0 part /boot
├─vda2                   253:2    0     1K  0 part 
└─vda5                   253:5    0  15.4G  0 part 
  ├─braavos-root (dm-0)  252:0    0   1.9G  0 lvm  /
  ├─braavos-local (dm-1) 252:1    0  12.6G  0 lvm  /usr/local
  └─braavos-swap (dm-2)  252:2    0   956M  0 lvm  [SWAP]

Running mountall --verbose on the failing machine image:

/ is local
/proc is virtual
/sys is virtual
/sys/fs/fuse/connections is virtual
/sys/kernel/debug is virtual
/sys/kernel/security is virtual
/dev is virtual
/dev/pts is virtual
/run is virtual
/run/lock is virtual
/run/shm is virtual
/boot is local
/usr/local is local
/dev/mapper/braavos-swap is swap
mounting event sent for /sys/fs/fuse/connections
mounting event sent for /sys/kernel/debug
mounting event sent for /sys/kernel/security
mounting event sent for /run/lock
mounting event sent for /run/shm
checking /boot
fsck from util-linux 2.20.1
checking /
checking /usr/local
fsck from util-linux 2.20.1
mounting event sent for swap /dev/mapper/braavos-swap
fsck from util-linux 2.20.1
/dev/mapper/braavos-root: clean, 51505/121920 files, 233327/487424 blocks
fsck / [779] exited normally
mounting event sent for /
/dev/vda1: clean, 230/121440 files, 40274/242688 blocks
fsck /boot [778] exited normally
mounting event sent for /
/dev/mapper/braavos-local: clean, 36/825776 files, 92681/3301376 blocks
fsck /usr/local [780] exited normally

And then it hangs...  This happens reliably, every time I select
'network'.  Pressing ctrl-c continues with the normal boot and
everything is mounted:

/dev/mapper/braavos-root on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/mapper/braavos-local on /usr/local type ext4 (rw)
/dev/vda1 on /boot type ext2 (rw)

I noticed that if I select the 'root' option which doesn't run mountall
and then manually run mountall --verbose, it works fine, but if I run
mountall --no-events --verbose, then it hangs.  The first event to get
"handled" when not using --no-events is they /sys event.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mountall in Ubuntu.
https://bugs.launchpad.net/bugs/1099349

Title:
  mountall 2.36.3 hangs in recovery-menu (lvm; mountall 2.36 has no
  issue)

Status in “mountall” package in Ubuntu:
  Confirmed

Bug description:
  Fresh Ubuntu 12.04.1 amd64 install with the following partition layout / lvm setup:
  $ lsblk 
  NAME                            MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
  sr0                              11:0    1  1024M  0 rom  
  sda                               8:0    0    20G  0 disk 
  ├─sda1                            8:1    0   243M  0 part /boot
  ├─sda2                            8:2    0     1K  0 part 
  └─sda5                            8:5    0  19.8G  0 part 
    ├─u1204--64-swap_1 (dm-0)     252:0    0  1020M  0 lvm  [SWAP]
    ├─u1204--64-root (dm-1)       252:1    0   7.6G  0 lvm  /
    └─u1204--64-usr--local (dm-2) 252:2    0  11.1G  0 lvm  /usr/local

  The installation works as expected and there are no imminent issues during normal usage.
  The issue is with the recovery menu. If someone boots into a rescue entry in the boot menu the rescue menu appears as expected but all entries that remount the root volume rw will hang on mountall.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/1099349/+subscriptions




More information about the foundations-bugs mailing list