Package: hibernate
Version: 1.96~pre-svn.r1136-1

Hello,

> The reason for the double execution is
> that common.conf is included twice. Here
> are the first lines of the output of
> hibernate -v3 --dry-run:
>
> hibernate: Trying method in suspend2.conf...
> hibernate: Trying method in disk.conf...
> hibernate: Trying method in ususpend-disk.conf...
> hibernate: Including configuration from common.conf
> Using '/etc/init.d' as init.d directory.
> hibernate: Trying method in sysfs-disk.conf...
> hibernate: Including configuration from common.conf

        Yeah, that looks like the problem:  hibernate is including common.conf 
from 
(some) of the methods it does not actually use.  Hibernate finally decides to 
use sysfs-disk.conf, but also includes common.conf from ususpend-disk.
        Interestingly hibernate doesn't include common.conf from suspend2.conf. 
 Here 
is the tree of Includes from /etc/hibernate/*.conf .  One can see that 
common.conf might have been Included 3 times including the sysfs-disk.conf 
time.  My guess is that hibernate correctly decides not to Include 
common.conf from suspend2.conf and erroneously includes common.conf from 
ususpend-disk.conf which it decides not to use:

hibernate.conf
        suspend2.conf
[1]             common.conf
        disk.conf
                ususpend-disk.conf
[2]                     common.conf
                sysfs-disk.conf
[3]                     common.conf
[-------------sysfs-disk used--------------------]
        ram.conf
                ususpend-ram.conf
                        common.conf
                sysfs-ram.conf
                        common.conf

        Perhaps this bug #392712 "ClockSave and ModulesUnloadBlacklist (at 
least) 
need to avoid double hooking" is also related?  These commands are found in 
common.conf as well.

Thanks!
        C.


--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.22.1

Debian Release: lenny/sid
  990 testing         localhost 
  990 testing         ftp.uwsg.indiana.edu 
  980 testing         localhost 
   50 unstable        ftp.egr.msu.edu 
   25 feisty          us.archive.ubuntu.com 
   25 edgy            us.archive.ubuntu.com 

--- Package information. ---
Depends            (Version) | Installed
============================-+-===========
console-tools                | 1:0.2.3dbs-65
 OR kbd                      |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to