Your message dated Fri, 02 Jul 2010 16:17:53 +0000
with message-id <[email protected]>
and subject line Bug#587599: fixed in acpi-support 0.137-3
has caused the Debian Bug report #587599,
regarding acpi-support: syntax error in /usr/share/acpi-support/policy-funcs
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
587599: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587599
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: acpi-support
Version: 0.137-2
Severity: important
Tags: patch

I noticed the following error message upon boot:

,----
| Checking battery state.../usr/share/acpi-support/policy-funcs: 24: Syntax 
error: ")" unexpected (expecting "then")
| done.
`----

Among other things, this breaks the power button if no desktop
environment is running.  Here is a patch for this:

--8<---------------cut here---------------start------------->8---
diff --git a/debian/patches/policy-funcs.diff b/debian/patches/policy-funcs.diff
index 1bdedcb..cc7ad8a 100644
--- a/debian/patches/policy-funcs.diff
+++ b/debian/patches/policy-funcs.diff
@@ -25,7 +25,7 @@
        PMS="$PMS guidance-power-manager.py dalston-power-applet"
        if pidof -x $PMS > /dev/null ||
 -         (pidof dcopserver > /dev/null && test -x /usr/bin/dcop && 
/usr/bin/dcop kded kded loadedModules | grep -q klaptopdaemon) ||
-+         test "$XUSER" != "" && pidof dcopserver > /dev/null && test -x 
/usr/bin/dcop && /usr/bin/dcop --user $XUSER kded kded loadedModules | grep -q 
klaptopdaemon) ||
++         test "$XUSER" != "" && (pidof dcopserver > /dev/null && test -x 
/usr/bin/dcop && /usr/bin/dcop --user $XUSER kded kded loadedModules | grep -q 
klaptopdaemon) ||
           PowerDevilRunning ; then
                echo 0;
        else
--8<---------------cut here---------------end--------------->8---


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.34-kms
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages acpi-support depends on:
ii  acpi-fakekey                  0.137-2    tool to generate fake key events
ii  acpi-support-base             0.137-2    scripts for handling base ACPI eve
ii  acpid                         1:2.0.6-1  Advanced Configuration and Power I
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip
ii  pm-utils                      1.3.0-2    utilities and scripts for power ma
ii  x11-xserver-utils             7.5+1+b1   X server utilities

Versions of packages acpi-support recommends:
ii  dbus                          1.2.24-1   simple interprocess messaging syst
pn  radeontool                    <none>     (no description available)
ii  vbetool                       1.1-2      run real-mode video BIOS code to a
pn  xscreensaver | gnome-screensa <none>     (no description available)

Versions of packages acpi-support suggests:
pn  rfkill                        <none>     (no description available)
pn  xinput                        <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: acpi-support
Source-Version: 0.137-3

We believe that the bug you reported is fixed in the latest version of
acpi-support, which is due to be installed in the Debian FTP archive:

acpi-fakekey_0.137-3_amd64.deb
  to main/a/acpi-support/acpi-fakekey_0.137-3_amd64.deb
acpi-support-base_0.137-3_all.deb
  to main/a/acpi-support/acpi-support-base_0.137-3_all.deb
acpi-support_0.137-3.diff.gz
  to main/a/acpi-support/acpi-support_0.137-3.diff.gz
acpi-support_0.137-3.dsc
  to main/a/acpi-support/acpi-support_0.137-3.dsc
acpi-support_0.137-3_all.deb
  to main/a/acpi-support/acpi-support_0.137-3_all.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.
Michael Meskes <[email protected]> (supplier of updated acpi-support 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.8
Date: Fri, 02 Jul 2010 17:59:04 +0200
Source: acpi-support
Binary: acpi-support acpi-support-base acpi-fakekey
Architecture: source all amd64
Version: 0.137-3
Distribution: unstable
Urgency: low
Maintainer: Debian Acpi Team <[email protected]>
Changed-By: Michael Meskes <[email protected]>
Description: 
 acpi-fakekey - tool to generate fake key events
 acpi-support - scripts for handling many ACPI events
 acpi-support-base - scripts for handling base ACPI events such as the power 
button
Closes: 584203 587599
Changes: 
 acpi-support (0.137-3) unstable; urgency=low
 .
   * Re-added lost brace to policy-funcs. (Closes: #587599)
   * Give udev time to create devices before starting acpi-fakekeyd.
     (Closes: #584203)
Checksums-Sha1: 
 24f9d952bf048ba8c60ea7ddf7d4733ccbf93dee 1234 acpi-support_0.137-3.dsc
 14da22e2af8abb6f9737c866c3e806bd54c4072c 55837 acpi-support_0.137-3.diff.gz
 b4c2e9f5cca64d8524ac2a570d89882b778e4905 50966 acpi-support_0.137-3_all.deb
 84ed5af415cd47492281c56e1d9138af65d7eb34 18950 
acpi-support-base_0.137-3_all.deb
 b4a2d8799796004e2000a7ebee66ab5f23be09d8 21722 acpi-fakekey_0.137-3_amd64.deb
Checksums-Sha256: 
 23442effa96e1fca95e978dcff65d38cb7e81c0a4df3764dabaf09034fbeb4c9 1234 
acpi-support_0.137-3.dsc
 89d1b9290efd71f7b535d88905d5affc231cec88e90fdbe7910431410d6ed2f4 55837 
acpi-support_0.137-3.diff.gz
 8ccc4dc1e5351e9155d04bc696e9712be0dfc27b3237701b4b2fac1cfab7ad62 50966 
acpi-support_0.137-3_all.deb
 aa6643f9ebf54ea7e7659a9933f7bd120e00b0bb17836d6f57cdec7c1bf6c0fb 18950 
acpi-support-base_0.137-3_all.deb
 3eebc1efa0468adf469c8dc40b23db7b3e78dd4999b215d488e3ae2bb4f77f19 21722 
acpi-fakekey_0.137-3_amd64.deb
Files: 
 10509dbbcf0bdbc4ca3231d5ba64c2be 1234 admin optional acpi-support_0.137-3.dsc
 f15643b011736e1c3e7f20f72cf7087a 55837 admin optional 
acpi-support_0.137-3.diff.gz
 5ad003758ad416fcf2f64cc7c51a3069 50966 admin optional 
acpi-support_0.137-3_all.deb
 401110a7467845820203bb9675086cfc 18950 admin optional 
acpi-support-base_0.137-3_all.deb
 da8aa4fb1218cccd190d027b2794d02b 21722 admin optional 
acpi-fakekey_0.137-3_amd64.deb

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

iD8DBQFMLg0jVkEm8inxm9ERApRrAJ9CxMLwwSfi301hkVdvWx1QLHCbQACfcfqa
E3cuskxktApQNLRc09vIfxY=
=JCpM
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to