Bug 1363632 - acpid is NOT enabled by `systemctl enable acpid`
Summary: acpid is NOT enabled by `systemctl enable acpid`
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: acpid
Version: 24
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-03 09:07 UTC by Artem S. Tashkinov
Modified: 2016-08-15 21:27 UTC (History)
2 users (show)

Fixed In Version: acpid-2.0.27-4.fc24
Clone Of:
Environment:
Last Closed: 2016-08-15 21:27:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Artem S. Tashkinov 2016-08-03 09:07:21 UTC
Description of problem: I need my brightness buttons to work even when the Xorg server is not running so I wrote two handlers for brightness buttons in acpid. However when I enable acpid they still do not work, unless I run acpi_listen


Version-Release number of selected component (if applicable): acpid-2.0.27-1.fc24.x86_64


How reproducible: always


Steps to Reproduce:
1. systemctl enable acpid
2. reboot
3. press power buttons

Actual results: acpid will not handle them, because it's not running


Expected results: acpid handlers doing something


Additional info: the only solution #systemd guys told me is this one:

# systemctl add-wants multi-user.target acpid.service

http://pastebin.com/3cDDBGT1

Comment 1 Jaroslav Škarvada 2016-08-03 09:41:13 UTC
Thanks for report, that's probably the result of the recently added socket activation support. I asked systemd guys what's the best option how to handle it.

Comment 2 Fedora Update System 2016-08-03 15:27:33 UTC
acpid-2.0.27-4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f34b739a83

Comment 3 Jaroslav Škarvada 2016-08-03 15:30:19 UTC
Currently with the updated package you can:

- enable both the service and socket activation by running:
# systemctl enable acpid.service
or simply by using:
# systemctl enable acpid

- enable only socket activation by running:
# systemctl enable acpid.socket

Comment 4 Artem S. Tashkinov 2016-08-03 15:38:10 UTC
(In reply to Jaroslav Škarvada from comment #3)

Great many thanks!

Comment 5 Fedora Update System 2016-08-04 01:54:07 UTC
acpid-2.0.27-4.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f34b739a83

Comment 6 Fedora Update System 2016-08-15 21:26:59 UTC
acpid-2.0.27-4.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.