[Bug 529686] Re: Depressing power button does not shutdown computer

Dustin Kirkland dustin.kirkland at gmail.com
Wed Apr 28 07:12:26 BST 2010

*** This bug is a duplicate of bug 570450 ***

Fix is on the way to lucid-updates, guys.  Sorry I didn't see this

** This bug has been marked a duplicate of bug 570450
   regression in /etc/acpi/powerbtn.sh causes it to fail entirely on Ubuntu servers

Depressing power button does not shutdown computer
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.

Status in “acpid” package in Ubuntu: Triaged

Bug description:
Binary package hint: acpid

Description:	Ubuntu lucid (development branch) 
Release:	10.04
Server Install

  Installed: 1.0.10-5ubuntu2
  Candidate: 1.0.10-5ubuntu2
  Version table:
 *** 1.0.10-5ubuntu2 0
        500 http://gb.archive.ubuntu.com lucid/main Packages
        100 /var/lib/dpkg/status

Expecting the computer to shut down once the power button was pressed. Instead the computer remained powered up and there was no text on the console. After investigating it appears to be an issue with the /etc/acpi/powerbtn.sh script.

Running "sudo /etc/acpi/powerbtn.sh" (which is referenced in /etc/acpi/events/powerbtn as the action) returns
.: 6: Can't open /usr/share/acpi-support/power-funcs

Replacing the line "action=/etc/acpi/powerbtn.sh" with "action=/sbin/poweroff" in /etc/acpi/events/powerbtn is a successfully workaround.

ProblemType: Bug
Architecture: i386
Date: Sun Feb 28 21:08:05 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Error: [Errno 13] Permission denied: '/var/log/installer/media-info'
Package: acpid 1.0.10-5ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-13.18-generic-pae
SourcePackage: acpid
Uname: Linux 2.6.32-13-generic-pae i686

More information about the Ubuntu-sponsors mailing list