Package: hibernate
Version: 2.0+15+g88d54a8-1
Severity: normal
Tags: patch
Dear Maintainer,
there is a wrong (or just missing) path to the wicd autoconnect.py in the
/usr/share/hibernate/scriptlets.d/wicd
scriplet. The script expect wicd autoconnect.py file in one of these two
directories:
/usr/lib/wicd
/usr/share/wicd
but it is sitting in /usr/share/wicd/daemon. Could you please fix it ? Simple
patch is attached. Without the correction, hibernate fails with message:
wicd directory not found, cannot signal Wicd
(although it can be easily overcome by using --force option).
Thanks,
Pavel
-- Package-specific info:
--- configuration
==> /etc/hibernate/common.conf <==
Verbosity 0
LogFile /var/log/hibernate.log
LogVerbosity 1
Distribution debian
SaveClock restore-only
UnloadBlacklistedModules yes
LoadModules auto
DownInterfaces auto
UpInterfaces auto
EnableWICDReconnect yes
RestartServices bluetooth alsa-utils
SwitchToTextMode yes
==> /etc/hibernate/disk.conf <==
TryMethod ususpend-disk.conf
TryMethod sysfs-disk.conf
==> /etc/hibernate/hibernate.conf <==
TryMethod tuxonice.conf
TryMethod disk.conf
TryMethod ram.conf
==> /etc/hibernate/ram.conf <==
TryMethod ususpend-ram.conf
TryMethod sysfs-ram.conf
==> /etc/hibernate/sysfs-disk.conf <==
UseSysfsPowerState disk
Include common.conf
==> /etc/hibernate/sysfs-ram.conf <==
UseSysfsPowerState mem
Include common.conf
==> /etc/hibernate/tuxonice.conf <==
UseTuxOnIce yes
Reboot no
EnableEscape yes
DefaultConsoleLevel 1
Compressor lzo
Encryptor none
FullSpeedCPU yes
Include common.conf
==> /etc/hibernate/ususpend-both.conf <==
USuspendRamAcpiSleep 3
USuspendMethod both
Include common.conf
==> /etc/hibernate/ususpend-disk.conf <==
USuspendMethod disk
Include common.conf
==> /etc/hibernate/ususpend-ram.conf <==
USuspendMethod ram
USuspendRamForce yes
Include common.conf
--- /sys/power
==> /sys/power/disk <==
[platform] shutdown reboot
==> /sys/power/image_size <==
1910862315
==> /sys/power/pm_async <==
1
==> /sys/power/pm_test <==
[none] core processors platform devices freezer
==> /sys/power/reserved_size <==
1048576
==> /sys/power/resume <==
8:5
==> /sys/power/state <==
mem disk
==> /sys/power/wakeup_count <==
4
--- log
Starting bluetooth: bluetoothd.
hibernate-disk: [11] Executing XHacksResumeHook1 ...
hibernate-disk: [01] Executing NoteLastResume ...
hibernate-disk: [01] Executing LockFilePut ...
Resumed at Thu May 17 11:47:21 CEST 2012
-- System Information:
LSB Version:
core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:languages-3.2-amd64:languages-3.2-noarch:languages-4.0-amd64:languages-4.0-noarch:languages-4.1-amd64:languages-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-3.2
-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:printing-4.1-amd64:printing-4.1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 10.04
Release: 10.04
Codename: lucid
Architecture: amd64 (x86_64)
Kernel: Linux 3.3.4-trunk-amd64-ipnp-n22a-7 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages hibernate depends on:
ii dpkg 1.16.3
ii kbd-compat [kbd] 1:0.2.3dbs-70
Versions of packages hibernate recommends:
ii dash 0.5.7-3
ii hdparm 9.39-1
ii uswsusp 1.0+20110509-2
ii vbetool 1.1-2
Versions of packages hibernate suggests:
ii 915resolution <none>
ii vlock 2.2.2-3
ii xscreensaver 5.15-2
-- Configuration Files:
/etc/hibernate/common.conf changed [not included]
/etc/hibernate/ususpend-both.conf changed [not included]
/etc/hibernate/ususpend-ram.conf changed [not included]
-- no debconf information
--- old/usr/share/hibernate/scriptlets.d/wicd 2012-05-17 12:19:28.000000000 +0200
+++ new/usr/share/hibernate/scriptlets.d/wicd 2012-05-17 12:19:19.000000000 +0200
@@ -14,7 +14,7 @@
AddConfigHelp "EnableWICDReconnect <boolean>" "Disconnect and reconnect WICD before and after suspending."
WICDFindScripts() {
- for NAME in /usr/lib/wicd /usr/share/wicd; do
+ for NAME in /usr/lib/wicd /usr/share/wicd /usr/share/wicd/daemon ; do
if [ -f "${NAME}/autoconnect.py" ]; then
WICD_DIR=${NAME}
fi