Package: sleepd Version: 1.10 Severity: important sleepd suspends the system even when it is supposedly disabled, according to 'sleepctl status' (without a low battery).
This seems to be caused by a discrepancy between sleepd and sleepctl after a manual suspend. sleepd is acting according to the sleepctl man page: Note that if the system is forced to sleep by other means, sleepd will not remember what mode it was in when it wakes back up, and will return to the default mode of putting the system to sleep after some amount of inactivity. but sleepctl is not reflecting that: rather it remembers the previous mode after a manual suspend. So sleepctl claims that sleeping is disabled when it actually is enabled. Steps to reproduce: 1. 'sleepctl on' (enabled) 2. invoke-rc.d sleepd restart 3. 'sleepctl status' (enabled) 4. 'sleepctl off' (disabled) 5. Suspend manually 6. Wake 7. 'sleepctl status' (disabled) 8. Leave idle for --unused or --ac-unused seconds 9. Watch it suspend 10. Wake 11. 'sleepctl status' (disabled) Here is the contents of /etc/default/sleepd: PARAMS="--unused 300 --ac-unused 7200 --battery 5 --sleep-command /usr/local/sbin/suspnow" Thanks for your contribution to Debian. -- System Information: Debian Release: lenny/sid APT prefers stable APT policy: (730, 'stable'), (720, 'testing'), (710, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-o50 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages sleepd depends on: ii libapm1 3.2.2-8.1 Library for interacting with APM d ii libc6 2.7-10 GNU C Library: Shared libraries ii libdbus-1-3 1.2.1-2 simple interprocess messaging syst ii libhal1 0.5.10-5 Hardware Abstraction Layer - share ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip Versions of packages sleepd recommends: pn hal <none> (no description available) pn hibernate | apmd <none> (no description available) -- no debconf information
signature.asc
Description: Digital signature