[Bug 570450] Re: regression in /etc/acpi/powerbtn.sh causes it to fail entirely on Ubuntu servers
Launchpad Bug Tracker
570450 at bugs.launchpad.net
Mon May 3 08:49:45 BST 2010
This bug was fixed in the package acpid - 1.0.10-5ubuntu2.1
---------------
acpid (1.0.10-5ubuntu2.1) lucid-proposed; urgency=low
* debian/powerbtn.sh: ensure that /usr/share/acpi-support/power-funcs
exists before sourcing it; note that acpid does not depend on
acpi-support (which is fine, as it brings in lots of X dependencies
not appropriate for servers); this fix will allow Ubuntu servers
(especially those in VMs) to run acpid and catch and handle power
button events again; LP: #570450
-- Dustin Kirkland <kirkland at ubuntu.com> Mon, 26 Apr 2010 17:25:02 -0500
** Changed in: acpid (Ubuntu Lucid)
Status: Fix Committed => Fix Released
--
regression in /etc/acpi/powerbtn.sh causes it to fail entirely on Ubuntu servers
https://bugs.launchpad.net/bugs/570450
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a subscriber of a duplicate bug.
Status in “acpid” package in Ubuntu: Fix Released
Status in “acpid” source package in Lucid: Fix Committed
Bug description:
Binary package hint: acpi
The last upload of acpid causes a problem on systems which do not have the acpi-support package installed:
acpid (1.0.10-5ubuntu2) lucid; urgency=low
* Source /usr/share/acpi-support/power-funcs in powerbtn.sh (LP: #508073)
-- Jonathan Thomas <echidnaman at kubuntu.org> Fri, 15 Jan 2010 19:59:47 -0500
The sourcing of the file happens unconditionally, and the acpid package does not depend on acpi-support, which provides that file.
This could be solved by adding acpi-support to acpid's depends, however, this isn't desirable because it pulls in several X related packages which we would not want on a server.
Instead, let's only source that file if it exists. If it doesn't, then there is a foolproof failure case handling at the bottom of that script.
More information about the Ubuntu-sponsors
mailing list