Resume from hibernation may fail because swap partition UUID does not match /etc/initramfs-tools/conf.d/resume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Baltix |
Confirmed
|
High
|
Mantas Kriaučiūnas | ||
initramfs-tools (Ubuntu) |
Fix Released
|
Medium
|
Canonical Foundations Team | ||
ubiquity (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
There are a variety of circumstances which can cause the swap partition UUID to get out of sync with the system configuration, for example:
1. User edits /etc/fstab to specify a different swap partition, either by UUID or by hardcoding the device path
2. User reinitializes their swap partition with a new UUID using mkswap
3. User repartitions their disk and thereby reinitializes the swap partition with a new UUID
If this happens, the system will fail to resume from hibernation because it continues to look for the swap partition as specified in /etc/initramfs-
It would be better if the system were more robust in the face of such changes.
summary: |
- swap partition with hibernation data should be detected automatically in - initrd or mkinitramfs should check if swap partition is specified in - /etc/mkinitramfs/conf.d/resume or initramfs.conf + Resume from hibernation may fail because swap partition UUID does not + match /etc/initramfs-tools/conf.d/resume |
description: | updated |
Changed in initramfs-tools (Ubuntu): | |
assignee: | gmlion (gm-l) → nobody |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Changed in initramfs-tools (Ubuntu): | |
assignee: | nobody → Ubuntu Foundations Team (ubuntu-foundations) |
Changed in ubiquity (Ubuntu): | |
status: | New → Invalid |
This bug couses not working resuming in Baltix GNU/Linux distro, so it should be fixed ASAP in Baltix, at least by adding "dpkg-reconfigure initramfs-tools" in ubuntu-express installer in Baltix 1.4 version. Then I should assign this bug to Baltix "dapper" branch.