Bug#370285: [Yaird-devel] Bug#370285: /etc/yaird/Default.cfg should have "TEMPLATE resume" not "RESUME"

C. Scott Ananian cscott at cscott.net
Tue Jun 6 16:43:25 UTC 2006


On Sun, 4 Jun 2006, James Jurach wrote:

> As is, the initrd.img yaird produces doesn't properly come out of
> suspend2 hibernation.  After I change /etc/yaird/Default.cfg to be
> "TEMPLATE resume" rather than "RESUME", suspend2 resume functions
> properly.

This is not the correct fix.  The resume template is invoked by 
'addResumePlan' in /usr/lib/yaird/perl/Plan.pm, which handles the 
parameter passing.  Before it invokes the resume plan, it verifies
that it has an appropriate resume device.  That's probably the bit
that's breaking for suspend2 (which I don't really know anything about).
Perhaps you just need to add a 'resume' entry in your fstab?
(If this is the fix, it probably needs to be better documented.)
  --scott

FBI Dictionary QKFLOWAGE Bejing General Serbian BATF AMLASH KGB strategic 
Honduras NORAD CABOUNCE ZRMETAL Hawk class struggle ECJOB ESSENCE
                          ( http://cscott.net/ )




More information about the Yaird-devel mailing list