[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 16:21:48 UTC 2013


After recompiling mountall and libnih (which was quite painful, since
most tests were not passing), I got this very small backtrace:

#0  0x00007ffff6c5d003 in select () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff7bcd814 in nih_main_loop () at main.c:581
#2  0x0000555555565acd in main (argc=2, argv=0x7fffffffe678) at mountall.c:4098

The nih code is:

                /* Now we hang around until either a signal comes in (and
                 * calls nih_main_loop_interrupt), a file descriptor we're
                 * watching changes in some way or it's time to run a timer.
                 */
                ret = select (nfds, &readfds, &writefds, &exceptfds,
                              (next_timer ? &timeout : NULL));

I don't know if this is too useful, but at least we know where it's
hanging.

What I find interesting is that this portion of the code in mountall did
not change from 2.36 to 2.36.3, the changes are earlier in the file,
however they are causing the call to nih_main_loop to hang.

-- 
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