Package: initramfs-tools
Version: 0.114
Followup-For: Bug #725275

Dear Maintainer,

On Sat, 05 Oct 2013, Kapil Hari Paranjape wrote:
> The reason for this bug is a typo in /usr/share/initramfs/hooks/resume.

Looking into this a bit further, I wondered why this typo should cause a
problem. After all, the rest of this script generates a
conf/conf.d/resume file containing what should be the correct resume
device.

However, what it generates is an entry like:

RESUME="UUID=ZyyyyZ-ZZyy-yZZy-yZZy-Zyyy-ZyZy-yyyyyZ"

This may work fine if the swap device is not on LVM. If it is ...

The problem is that "scripts/local-top/lvm2" cannot figure out the
volume group to activate in order to make the device accessible. (Or
even the fact that this _is_ an LVM device!)

Some more script-fu is required to check whether the resume device is
of the form "/dev/dm-xxx" and in that case one needs to find its "name" by
listing "/dev/mapper/". That name needs to be used in order to get lvm2
to activate the volume group or logical volume.

Regards,

Kapil.
--


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131005035712.GA1922@bhatke

Reply via email to