swap volume fails to mount

Bug #126328 reported by Soren Hansen
2
Affects Status Importance Assigned to Milestone
partman-base (Ubuntu)
Fix Released
Undecided
Unassigned
partman-basicfilesystems (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: partman-auto-lvm

When choosing Guided LVM partitioning, I eventually get this error:
 "The attempt to mount a file system with type swap in LVM VG ubuntulvmtest, LV swap_1 at none failed.

You may resume partitioning from the partitioning menu.

Do you want to resume partitioning?"

Revision history for this message
Soren Hansen (soren) wrote :
Revision history for this message
Soren Hansen (soren) wrote :
Revision history for this message
Soren Hansen (soren) wrote :
Revision history for this message
Soren Hansen (soren) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

This broke because /dev/mapper/ubuntu-swap_1 is now a symlink to /dev/dm-1, and /dev/dm-1 is what's in /proc/swaps, but partman-basicfilesystems' grep misses that.

Revision history for this message
Colin Watson (cjwatson) wrote :

See also bug 126379, which is somewhat related.

Revision history for this message
Colin Watson (cjwatson) wrote :

partman-base (107ubuntu2) gutsy; urgency=low

  * Backport from trunk (LP: #126328):
    - Resolve symlinks before looking up devices in /proc/swaps.

 -- Colin Watson <email address hidden> Mon, 16 Jul 2007 17:56:30 +0100

Changed in partman-base:
status: New → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

partman-basicfilesystems (54ubuntu2) gutsy; urgency=low

  * Backport from trunk (LP: #126328):
    - Resolve symlinks before looking up devices in /proc/swaps.

 -- Colin Watson <email address hidden> Mon, 16 Jul 2007 18:03:30 +0100

Changed in partman-basicfilesystems:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.