2006-06-20 10:33:20 |
Mantas Kriaučiūnas |
bug |
|
|
added bug |
2006-06-20 10:35:56 |
Mantas Kriaučiūnas |
bug |
|
|
assigned to Baltix |
2006-06-20 10:41:49 |
Mantas Kriaučiūnas |
None: status |
Unconfirmed |
Confirmed |
|
2006-06-20 10:41:49 |
Mantas Kriaučiūnas |
None: importance |
Untriaged |
High |
|
2006-06-20 10:41:49 |
Mantas Kriaučiūnas |
None: statusexplanation |
|
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. |
|
2006-06-20 10:41:49 |
Mantas Kriaučiūnas |
None: assignee |
|
mantas |
|
2007-04-08 16:24:58 |
gmlion |
initramfs-tools: status |
Unconfirmed |
Needs Info |
|
2007-04-08 16:24:58 |
gmlion |
initramfs-tools: assignee |
|
gm-l |
|
2007-04-08 16:24:58 |
gmlion |
initramfs-tools: statusexplanation |
|
Is the bug still present in newer Ubuntu releases? |
|
2007-11-15 12:25:47 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber jaro |
2007-11-15 12:42:30 |
Mantas Kriaučiūnas |
bug |
|
|
added subscriber jurgis.pralgauskis |
2007-11-15 21:13:55 |
Mantas Kriaučiūnas |
initramfs-tools: status |
Incomplete |
Confirmed |
|
2009-04-16 09:24:14 |
Matt Zimmerman |
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 |
|
2009-04-16 09:29:15 |
Matt Zimmerman |
description |
PROBLEM: if swap partition isn't created for some reason during OS installation (e.g. user plans to create swap partition after installation, e.g. in another hard drive, or simply forgets to create swap partition) and user creates swap partition after the installation, then hibernating works fine, but during the resume user loses all unsaved data, because Ubuntu doesn't resume from hibernation and simply erases all hibernated info :(((
SOLUTION: swap partition with hibernation data should be detected automatically in initrd (initramfs) image.
If it's hard to realize autodetection of swap partition with hibernation data during system startup, then mkinitramfs (and maybe update-initramfs) script should at least check if swap partition is specified in /etc/mkinitramfs/conf.d/resume or /etc/mkinitramfs/initramfs.conf. If the swap partition isn't specified there, then specify it, so user will have working hibernation/resuming after linux kernel image is reconfigured or installed.
Also the reconfiguration of linux kernel image (so, mkinitramfs or update-initramfs scripts) shoud at least give a warning if swap partition, specified in /etc/mkinitramfs/conf.d/resume or in /etc/mkinitramfs/initramfs.conf doesn't exist.
Finding and writing swap partition into /etc/mkinitramfs/conf.d/resume is already done in initramfs-tools package configure script, so, I think it's easy to fix this bug and I can write needed patch for initrd startup scripts or mkinitramfs script if you don't have free time for this :) |
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-tools/conf.d/resume. Not finding this device, it will continue with normal system startup, as if no hibernation had taken place.
It would be better if the system were more robust in the face of such changes. |
|
2009-04-16 09:33:32 |
Matt Zimmerman |
initramfs-tools (Ubuntu): importance |
Undecided |
Medium |
|
2009-04-16 09:33:32 |
Matt Zimmerman |
initramfs-tools (Ubuntu): status |
Confirmed |
Triaged |
|
2009-04-16 09:33:32 |
Matt Zimmerman |
initramfs-tools (Ubuntu): assignee |
gmlion (gm-l) |
|
|
2009-05-31 16:52:39 |
Matt Zimmerman |
initramfs-tools (Ubuntu): assignee |
|
Ubuntu Foundations Team (ubuntu-foundations) |
|
2010-07-12 11:08:53 |
Teo |
bug |
|
|
added subscriber matteo sisti sette |
2010-09-13 16:39:37 |
Tian Bai |
nominated for series |
|
Ubuntu Maverick |
|
2010-10-22 05:44:47 |
boky |
bug |
|
|
added subscriber boky |
2011-01-25 15:29:52 |
Michael Zaugg (AOI) |
bug |
|
|
added subscriber itoas |
2011-02-10 21:06:52 |
Tian Bai |
bug |
|
|
added subscriber Tian Bai |
2011-06-08 13:29:25 |
papukaija |
bug |
|
|
added subscriber papukaija |
2011-07-28 13:00:23 |
Pas |
bug |
|
|
added subscriber PAStheLoD |
2012-05-02 02:25:00 |
Pranav Amrute |
bug |
|
|
added subscriber Pranav Amrute |
2012-05-02 09:20:09 |
papukaija |
tags |
|
hardy lucid natty oneiric precise |
|
2013-09-09 21:04:57 |
Martin Pitt |
bug task added |
|
ubiquity (Ubuntu) |
|
2013-09-09 21:07:16 |
Jean-Baptiste Lallement |
attachment added |
|
herm-saucy-20130909-9.png https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/50437/+attachment/3811769/+files/herm-saucy-20130909-9.png |
|
2013-09-09 21:09:23 |
Jean-Baptiste Lallement |
bug |
|
|
added subscriber Jean-Baptiste Lallement |
2013-09-11 01:39:26 |
Martin Pitt |
bug |
|
|
added subscriber Martin Pitt |
2013-09-27 09:28:47 |
Thomas Hotz |
ubiquity (Ubuntu): status |
New |
Invalid |
|
2013-09-27 09:30:43 |
Thomas Hotz |
bug |
|
|
added subscriber Thomas Hotz |
2013-12-11 04:29:01 |
Uriel Tunn |
bug |
|
|
added subscriber Uriel Tunz |
2015-08-16 14:18:34 |
Andy Whitcroft |
initramfs-tools (Ubuntu): status |
Triaged |
Fix Released |
|