mountall 2.36.3 hangs in recovery-menu (lvm; mountall 2.36 has no issue)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mountall (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned | ||
Quantal |
Fix Released
|
High
|
Unassigned | ||
Raring |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
Following the mountall SRUs for bug #643289, mountall --no-events does not work correctly; the lack of events causes mountall to not finish. This breaks the recovery mode, which invokes mountall --no-events.
[Test case]
1. Boot Ubuntu using the 'recovery mode' option.
2. Choose the 'Enable networking' option.
3. Observe that mountall hangs.
4. Reboot and install mountall from -proposed.
5. Boot Ubuntu using the 'recovery mode' option.
6. Choose the 'Enable networking' option.
7. Confirm that mountall no longer hangs.
[Regression potential]
Minimal; the code changes should only have any effect when mountall is called with --no-events, which is only done in the recovery menu, and that's currently broken.
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-
├─u1204--64-root (dm-1) 252:1 0 7.6G 0 lvm /
└─u1204-
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.
Changed in mountall (Ubuntu Quantal): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in mountall (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: patch |
tags: | added: regression-update |
description: | updated |
Changed in mountall (Ubuntu Quantal): | |
status: | Triaged → In Progress |
Changed in mountall (Ubuntu Precise): | |
status: | Triaged → In Progress |
tags: |
added: verification-done removed: verification-done-precise verification-needed |
Screenshot 1 of 4