partitioner hangs if libparted sees partitions for which device nodes don't exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-auto (Ubuntu) |
Fix Released
|
High
|
Colin Watson | ||
Natty |
Fix Released
|
High
|
Colin Watson |
Bug Description
Binary package hint: debian-installer
Daily natty server i386 iso as of today 24th April
md5sum: 6309f74b92e99ce
Installing into a KVM guest that was previously running Maverick Server; the guest had LVM partitions.
The last thing I saw was it asked me to confirm that it had got the time zone right, which it had, and now I'm left with a purple screen with a bar at the bottom.
The last thing in syslog (from ctrl-alt-f2) is
partman: Found volume group "server1" using metadata type lvm2
partman-lvm: 4 logical volume(s) in volume group "server1" now active
ps shows the last interesting entries as:
/bin/sh /lib/partman/
/bin/sh /lib/partman/
I've attached a screenshot showing the last few lines of /var/log/partman
The last of those shows it's stuck in pipe_wait.
/proc/partitions shows that it has started device mapper and it can see the partititions there, and /dev/mapper is correctly populated.
It seems repeatable, and from expert mode it also occurs when starting the partitioner.
It sounds similar to bug 729394 (but that was marked fix released about 4 weeks ago), but it might be closer to bug 757487
Dave
affects: | debian-installer (Ubuntu) → partman-auto (Ubuntu) |
Changed in partman-auto (Ubuntu): | |
assignee: | nobody → Colin Watson (cjwatson) |
importance: | Medium → High |
status: | Confirmed → In Progress |
summary: |
- natty server installation hang + partitioner hangs if libparted sees partitions for which device nodes + don't exist |
Changed in partman-auto (Ubuntu Natty): | |
milestone: | none → ubuntu-11.04 |
This is certainly a likely location for problems, but I'm afraid I can't reproduce this myself, which is probably necessary in order for me to fix it. Could you try this:
* Start an installation attempt as before. automatically_ partition/ 25replace/ choices' , change 'set -e' to 'set -ex', and save and exit. client- udeb' from a shell and then use scp to copy them from /var/log/ to another system.
* When you reach the hostname prompt, switch to Alt-F2, enter 'nano /lib/partman/
* Switch back to Alt-F1. Continue until it hangs.
* Switch to Alt-F2. Kill all the process IDs listed in 'ps | egrep "partman|parted"', preferably in a single 'kill' command. (The idea of this is to force the full trace to be written out to the log file.)
* Attach the full syslog and partman logs to this bug. There are two ways to extract them: either select "Save debug logs" from the installer main menu, or else run 'anna-install openssh-