[Bug 554009] Re: Resume from disk (swapfile) fails

Scott James Remnant scott at canonical.com
Fri Apr 30 22:29:58 UTC 2010


On Fri, 2010-04-30 at 19:45 +0000, Chow Loong Jin wrote:

> About that false negative you pointed out, I think you are getting the
> wrong idea. I never intended to remove the wait-for-root call. In my
> proposed solution, the wait-for-root call stays, and *AFTER* that, it
> unconditionally attempts a resume, without checking the output of wait-
> for-root. Hence, the resume script will wait for the swap device, and
> then attempt a resume no matter what wait-for-root says.
> 
We don't want to unconditionally attempt a resume; we should only
attempt a resume if there was a signature.

Unconditionally attempting resumes can cause problems.

> And about the SRU...
> >From the looks of it, resume_offset was a feature of the past
> initramfs-tools. Dropping support for this, however accidental, is
> considered a regression.
> 
It was never a feature we supported - therefore it is not a regression.

Scott
-- 
Scott James Remnant
scott at ubuntu.com

-- 
Resume from disk (swapfile) fails
https://bugs.launchpad.net/bugs/554009
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.




More information about the kernel-bugs mailing list