Comment 30 for bug 50437

Revision history for this message
maximilian attems (maks-debian) wrote : Re: [Bug 50437] Re: Resume from hibernation may fail because swap partition UUID does not match /etc/initramfs-tools/conf.d/resume

On Wed, Sep 11, 2013 at 01:38:26AM -0000, Martin Pitt wrote:
> > A bit nasty is the upgrade scenario, but it should not write into
> /etc, as it would just write into the initramfs.
>
> I agree. I think *if* /etc/initramfs-tools/conf.d/resume exists and is
> valid, it should copy that into the initramfs.

Most of the times initramfs-tools generated that crap config file.

It might be easier to just forget about it, but you have a point
that in the meantime it might be admin set and hence should be checked.

> otherwise dynamically create one based on the existing swap partition(s)
> using the ubiquity logic.

No idea what ubiquity does and what logic you point too, afaik that
config file was allways in Debian written by initramfs-tools preinst.

Could you point to the relevant ubiquity code, please.