Debian Bug report logs -
#501708
sleepd suspends system regardless of sleepctl status
Reported by: green <greenfreedom10@gmail.com>
Date: Thu, 9 Oct 2008 18:21:02 UTC
Severity: important
Found in version sleepd/1.10
Fixed in version sleepd/1.12
Done: Joey Hess <joeyh@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Joey Hess <joeyh@debian.org>:
Bug#501708; Package sleepd.
(Thu, 09 Oct 2008 18:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to green <greenfreedom10@gmail.com>:
New Bug report received and forwarded. Copy sent to Joey Hess <joeyh@debian.org>.
(Thu, 09 Oct 2008 18:21:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
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 (application/pgp-signature, inline)]
Reply sent
to Joey Hess <joeyh@debian.org>:
You have taken responsibility.
(Thu, 09 Oct 2008 21:24:09 GMT) (full text, mbox, link).
Notification sent
to green <greenfreedom10@gmail.com>:
Bug acknowledged by developer.
(Thu, 09 Oct 2008 21:24:09 GMT) (full text, mbox, link).
Message #10 received at 501708-close@bugs.debian.org (full text, mbox, reply):
Source: sleepd
Source-Version: 1.12
We believe that the bug you reported is fixed in the latest version of
sleepd, which is due to be installed in the Debian FTP archive:
sleepd_1.12.dsc
to pool/main/s/sleepd/sleepd_1.12.dsc
sleepd_1.12.tar.gz
to pool/main/s/sleepd/sleepd_1.12.tar.gz
sleepd_1.12_i386.deb
to pool/main/s/sleepd/sleepd_1.12_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 501708@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Joey Hess <joeyh@debian.org> (supplier of updated sleepd package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 09 Oct 2008 16:22:40 -0400
Source: sleepd
Binary: sleepd
Architecture: source i386
Version: 1.12
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <joeyh@debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description:
sleepd - puts an inactive or low battery laptop to sleep
Closes: 501708
Changes:
sleepd (1.12) unstable; urgency=low
.
* Write status back out to control file when resume from manual sleep causes
sleeping to be re-enabled, so that sleepctl will see the correct status
in this case. Closes: #501708
Checksums-Sha1:
8d3946871a9ab54bcdf39b8a1e16e826502b115a 806 sleepd_1.12.dsc
9fb487f689deb3365f07748735169460362b53c5 26740 sleepd_1.12.tar.gz
4b4c641eac3e9a5d8bef3ade13d22195576e2dc9 21774 sleepd_1.12_i386.deb
Checksums-Sha256:
e6fe4db2827cb2316a76208923f6f579e3d53867e861b22270f59607d60dc525 806 sleepd_1.12.dsc
afb037da37c1a1bdcf6ac10a3e9de70277e15a8351688e275a99fc0f8dd170d1 26740 sleepd_1.12.tar.gz
5fcb541d52f90ce9957d93ca531affd2f3c706afa4eec7ac2dff65cc617cda8c 21774 sleepd_1.12_i386.deb
Files:
270a79d1807c506d70eb2bb8164a2347 806 admin optional sleepd_1.12.dsc
aeb8c66484b032c5cd3cd794d0940136 26740 admin optional sleepd_1.12.tar.gz
bfefd2075c2d398876314c274a9c7736 21774 admin optional sleepd_1.12_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFI7mh/2tp5zXiKP0wRAlCQAKCzzRd5yp40cRVZxk/6WsPDABHDbACeI8w5
plbLDGz5DG6b0+8WPqHltXs=
=W1sT
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 16 Mar 2009 07:43:51 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Tue Aug 14 21:52:12 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.