[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#725275: initramfs-tools: hooks/resume problems



Hi,

On Wed, 30 Oct 2013, Olivier Berger wrote:
> Hi.
> 
> Interesting. Thanks for these details.
> 
> I've tried and change the "resume device" in /etc/uswsusp.conf, to use a path in the form /dev/mapper/VG-swap, and now have :
> 
> # grep -i resume /etc/uswsusp.conf /etc/initramfs-tools/conf.d/resume
> /etc/uswsusp.conf:resume device = /dev/mapper/main-swap
> /etc/initramfs-tools/conf.d/resume:RESUME=/dev/mapper/main-swap
> 
> And guess what ? ... This works, now. Boot proceeds normally, and eventually resumes when I hibernated :-)

I wondered why you said (in your previous mail) that uswsusp did not
work after fixing the typo, since I use uswsusp too!

After your latest mail (and checking my own /etc/uswsusp.conf and
/etc/initramfs-tools/conf.d/resume), all is clear.

An aside is that the hook with the typo does incorrect error catching.

  error due to typo in command != error generated by command

So checking the error number should have caught this mistake!

Regards,

Kapil.
--


Reply to: