Your message dated Mon, 18 Sep 2006 14:18:12 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#387122: fixed in sleepd 1.3.7
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: sleepd
Version: 1.3.6
Severity: normal


Hello,

after upgrading from 1.3.5 dpkg couldn't start sleepd any longer,
aborting with

  Starting sleep daemon: sleepd/usr/sbin/sleepd: invalid option -- F
  Usage: sleepd [-s command] [-d command] [-u n] [-U n] [-i n [-i n ..]] [-a] 
[-n] [-c n] [-b n] [-A]

This is because my /etc/default/sleepd has a quoted --sleep-command
option argument configured in the shell variable PARAMS:

PARAMS="--ac-unused=0 --unused=600 --battery=5 
--sleep-command='/usr/sbin/hibernate -F 
/etc/hibernate/hibernate.conf.ram.sleepd'"

Passing this unquoted to the lsb function start_daemon results in the
loss of the proper quotation and hence the error message. The easy fix
is to quote "$PARAMS" when calling start_daemon, patch is attached.

Kind regards
WK

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages sleepd depends on:
ii  libapm1                      3.2.2-8     Library for interacting with APM d
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  lsb-base                     3.1-15      Linux Standard Base 3.1 init scrip

Versions of packages sleepd recommends:
pn  apmd                          <none>     (no description available)

-- no debconf information
--- /etc/init.d/sleepd.dpkg-dist        2006-09-12 12:34:20.000000000 +0200
+++ /etc/init.d/sleepd  2006-09-12 12:48:10.000000000 +0200
@@ -40,7 +40,7 @@ case "$1" in
                test -e /dev/apm_bios && touch /dev/apm_bios
 
                log_daemon_msg "Starting sleep daemon" "sleepd"
-               start_daemon -p /var/run/$NAME.pid $DAEMON $PARAMS
+               start_daemon -p /var/run/$NAME.pid $DAEMON "$PARAMS"
                log_end_msg $?
        ;;
        stop)

--- End Message ---
--- Begin Message ---
Source: sleepd
Source-Version: 1.3.7

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.3.7.dsc
  to pool/main/s/sleepd/sleepd_1.3.7.dsc
sleepd_1.3.7.tar.gz
  to pool/main/s/sleepd/sleepd_1.3.7.tar.gz
sleepd_1.3.7_i386.deb
  to pool/main/s/sleepd/sleepd_1.3.7_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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <[EMAIL PROTECTED]> (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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 18 Sep 2006 15:29:16 -0400
Source: sleepd
Binary: sleepd
Architecture: source i386
Version: 1.3.7
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[EMAIL PROTECTED]>
Changed-By: Joey Hess <[EMAIL PROTECTED]>
Description: 
 sleepd     - puts an inactive or low battery laptop to sleep
Closes: 387122
Changes: 
 sleepd (1.3.7) unstable; urgency=low
 .
   * Add back missing eval in start_daemon call to fix a quoting problem in
     PARAMS caused by the switch to lsb scripts. Closes: #387122
Files: 
 f7e3eedece33f86a2c0032eab16a00ef 516 admin optional sleepd_1.3.7.dsc
 2f134d5c897d6766e753692afbcd579a 22324 admin optional sleepd_1.3.7.tar.gz
 fa7dedcbad03a11d35c1d1b0dfeb600f 18158 admin optional sleepd_1.3.7_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFDvgh2tp5zXiKP0wRAruHAJ4hJO23TWWmUuBUAKFXT8slbbtMBACfVfgK
NCCGaVOUYXvRxsX3WEIDyjc=
=fMHd
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to