On Mon, Sep 09, 2013 at 09:09:17PM -0000, Martin Pitt wrote:
> Would it not be better if we wrote/updated conf.d/resume during update-
> initramfs, so that it adjusts the initramfs' UUID even if the admin
> changes the swap partitions? In that script we could also remove
> conf.d/resume if we detect cryptswap, as resuming from hibernation won't
> work with cryptswap anyway AFAIK?

It should just be a hook so that update-initramfs calls it everytime
and not a postinstall script that runs only once on install.
Will propose hook script in next 24h.

A bit nasty is the upgrade scenario, but it should not write into /etc,
as it would just write into the initramfs.

Best,

-- 
maks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/50437

Title:
  Resume from hibernation may fail because swap partition UUID does not
  match /etc/initramfs-tools/conf.d/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/50437/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to