Package:  hibernate
Version:  1.97-1
Tags:     patch
User:     [EMAIL PROTECTED]
Usertags: incorrect-dependency

When testing dependency based boot sequencing, I discovered a bug in
the init.d script for hibernate.  It optionally depend on cryptdisk,
but when cryptdisk isn't installed, it depend on nothing, and the
script is placed at the very first of the boot, before devices and
file systems are available.  I propose to copy the optional
dependencies used by init.d/cryptdisk, making sure it get the expected
boot sequence location when cryptdisk is missing.  If you know more
about the real dependencies, please update this list.

This patch solve the issues:

diff -ur hibernate-1.97.orig/debian/patches/50-init.d-lsb-depends.dpatch 
hibernate-1.97/debian/patches/50-init.d-lsb-depends.dpatch
--- hibernate-1.97.orig/debian/patches/50-init.d-lsb-depends.dpatch     
2008-01-02 13:41:53.000000000 +0100
+++ hibernate-1.97/debian/patches/50-init.d-lsb-depends.dpatch  2008-01-02 
13:44:54.000000000 +0100
@@ -12,7 +12,7 @@
  # Default-Stop:
  # Required-Start:
  # Required-Stop:
-+# Should-Start:      cryptdisks
++# Should-Start:      udev devfsd raid2 mdadm lvm evms cryptdisks
 +# X-Start-Before:    mountall
  # Short-Description: invalidates stale swsusp and Software Suspend 2 image
  # Description:       This script invalidates any stale swsusp and Software 
Suspend 2 images. It

Happy hacking,
--
Petter Reinholdtsen



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

Reply via email to