Your message dated Mon, 05 Mar 2007 09:32:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#354445: fixed in acpid 1.0.4-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: acpid
Version: 1.0.4-5
Severity: normal

Hello,

thanks for packaging acpid!

In my system (ASUS M2000 laptop), after resuming from a suspend I get a
powerbutton event (probably intending to mean that the power has been
switched on).  However, that calls powerbtn.sh which shuts down the
machine right away.

I solved this by changing powerbtn.sh this (very crude) way:

  #!/bin/sh
  # /etc/acpi/powerbtn.sh
  # Initiates a shutdown when the power putton has been
  # pressed.
  
  logger "Power button has been pressed"
  exit 0
  
  if ps -Af | grep -q '[k]desktop' && test -f /usr/bin/dcop
  then
      dcop --all-sessions --all-users ksmserver ksmserver logout 0 2 0 && exit 0
  else
      /sbin/shutdown -h now "Power button pressed"
  fi

Another technique I've heard from another person with the same problem
(Georg Greve, IIRC) is to touch a file on unsuspend and check its age in
powerbtn.sh.  Matthew Garrett told me that that requires extra care, as
a file in /tmp can be created and continuously touched by any user and
that would allow unauthorised people to prevent the machine for shutting
down.

Matthew will probably followup with more insight.


Ciao,

Enrico


-- 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.15-1-686
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)

Versions of packages acpid depends on:
ii  libc6                         2.3.6-1    GNU C Library: Shared libraries an

acpid recommends no packages.

-- debconf information:
  acpid/noacpi:
  acpid/modules: ac processor battery button fan thermal


--- End Message ---
--- Begin Message ---
Source: acpid
Source-Version: 1.0.4-7

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

acpid_1.0.4-7.diff.gz
  to pool/main/a/acpid/acpid_1.0.4-7.diff.gz
acpid_1.0.4-7.dsc
  to pool/main/a/acpid/acpid_1.0.4-7.dsc
acpid_1.0.4-7_i386.deb
  to pool/main/a/acpid/acpid_1.0.4-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.
Cajus Pollmeier <[EMAIL PROTECTED]> (supplier of updated acpid 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,  5 Mar 2007 09:33:07 +0100
Source: acpid
Binary: acpid
Architecture: source i386
Version: 1.0.4-7
Distribution: unstable
Urgency: low
Maintainer: Cajus Pollmeier <[EMAIL PROTECTED]>
Changed-By: Cajus Pollmeier <[EMAIL PROTECTED]>
Description: 
 acpid      - Utilities for using ACPI power management
Closes: 285779 354445 360167 383591 384687 388038 404680
Changes: 
 acpid (1.0.4-7) unstable; urgency=low
 .
   * Fixed typo in manual page (Closes: #404680)
   * Updated README (Closes: #360167)
   * Include lsb compliant logging (Closes: #384687)
   * Fixed logrotate/cron error if acpid is not running (Closes: #388038)
   * Removed powerbutton scripts - these are contained in other packages
     (Closes: #354445, #285779)
   * Added lsb compliant init script styles (Closes: #383591)
Files: 
 0d1649bf378998d6ce29fb9991e638a5 567 admin optional acpid_1.0.4-7.dsc
 8cb4004a53c85fd3da6df15f0a4f959f 10307 admin optional acpid_1.0.4-7.diff.gz
 8c79bf1f616d9e80b0bfacf1f4f8c821 25144 admin optional acpid_1.0.4-7_i386.deb

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

iD8DBQFF6+F8tyibJ/7Y+CYRAl17AJwLo67NtI3Cn5NSULe6yPN1MZ17eACdEdS/
B3uoSdZ17nIIpo7rg7W8i3c=
=b29g
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to