[Bug 1313469] Re: Power button causes unclean shutdown

Martin Pitt martin.pitt at ubuntu.com
Mon Jun 23 05:51:18 UTC 2014


*** This bug is a duplicate of bug 1201180 ***
    https://bugs.launchpad.net/bugs/1201180

This was fixed in 14.04:
https://launchpad.net/ubuntu/+source/acpid/1:2.0.21-1ubuntu2

** Changed in: acpid (Ubuntu)
       Status: New => Fix Released

** This bug has been marked a duplicate of bug 1201180
   powerbtn.sh conflicts with logind

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1313469

Title:
  Power button causes unclean shutdown

Status in “acpid” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  New

Bug description:
  I noticed that with Ubuntu Server 13.10 when I press the power button,
  it flashes "acpid exiting" on the console and then does an immediate
  hard poweroff. Filesystems are not umounted and require recovery on
  restart.

  Upon further investigation I found that apparently both acpid and
  systemd-logind attempt to handle the event with the described result.

  Disabling either acpid (by deleting /etc/acpi/events/powerbtn) or
  systemd (by adding HandlePowerKey=ignore to /etc/systemd/logind.conf)
  fixes the issue.

  Note: I was reproducing the issue using clean 13.10 server installs in
  KVMs. http://superuser.com/questions/677331/unsafe-power-off-on-power-
  button-pressed/746841#746841 indicates that others have observed this
  with non-VM installs.

  Also #1219338 and #1245327 may be related.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/1313469/+subscriptions



More information about the foundations-bugs mailing list