Bug 458751 - hal-addon-acpi and acpid conflict
Summary: hal-addon-acpi and acpid conflict
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: hal
Version: 12
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Zeuthen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-12 03:47 UTC by Harlan
Modified: 2013-03-06 03:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-05 07:09:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Harlan 2008-08-12 03:47:27 UTC
Because hal-addon-acpi starts before acpid, it intercepts some of the rules, and doesn't let acpid have control over the actions. Because hal-addon-acpi doesn't seem to be configurable - at least, not that I've been able to find - this pretty much renders acpid useless.

As killing hal-addon-acpi and restarting acpid then hal-addon-acpi allows acpid to function correctly, I recommend changing the runlevel startup sequence so as to start acpid before haldaemon.

Comment 1 Zdenek Prikryl 2008-08-14 06:56:51 UTC
Hello, in the runlevel startup sequence acpid has to be executed before hald-addon-acpi. Otherwise acpid will not work. In F9 the sequence is right, at least at my PC it is correct and I didn't change any relevant cfg file.

Comment 2 Harlan 2008-08-16 00:59:52 UTC
Strange. Well, it's not as simple as the startup sequence then.

Something is happening that is preventing acpid from processing events correctly. Something that is fixed when I kill hal-addon-acpi and restart acpid.

Any ideas of where to look next?

Comment 3 Zdenek Prikryl 2008-08-19 11:19:13 UTC
The thing is, that if hal-addon-acpi starts first, then it'll grab /proc/acpi/event. After that, when acpid is started, it'll complain because it cannot grap /proc/acpi/event now. But if acpid is started first, then it'll open the UNIX socket. After that, when hal-addon-acpi starts, it'll detect that it cannot open /proc/acpi/event so it'll listen at acpid's socket and both applications works fine.

Comment 4 Harlan 2008-08-20 02:08:03 UTC
I understand. But the theoretical behaviour isn't working properly.

For some reason, hal-addon-acpi is keeping acpid from processing the events properly.

Or so I must assume, given that killing hal-addon-acpi and restarting acpid fixes the problem.

Comment 5 Zdenek Prikryl 2008-08-20 10:29:49 UTC
At the boot time, do you see something like this?

...
Starting acpi daemon: [ OK ]
Starting HAL daemon: [ OK ]
...

Comment 6 Harlan 2008-08-21 02:06:38 UTC
I just checked three times. All three boots had that message upon boot.

Comment 7 Zdenek Prikryl 2008-08-21 07:34:43 UTC
In this case acpid IS started before hal-addon-acpi.

Could you send the output of:

$ ps aux | grep -e acpid -e hal-addon-acpi

Comment 8 Harlan 2008-08-24 23:23:45 UTC
"
68        2205  0.0  0.0  12456   884 ?        S    19:05   0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root      2434  0.0  0.0   3900   616 ?        Ss   19:05   0:00 /usr/sbin/acpid
"

Weird. That looks like hald-addon-acpi starts before acpid.

Comment 9 Zdenek Prikryl 2008-08-26 11:02:20 UTC
This says that acpid is started before hald-addon-acpi. From my point of view this is the correct behaviour. What exactly doesn't work?

Comment 10 Till Maas 2010-01-04 16:52:46 UTC
The problem still exists if one wants to install and use acpid after haldaemon is already started, e.g. on a fresh install where acpid is missing. Then acpid will just fail unless one first stops haldaemon, starts acpid and then starts haldaemon again.

Comment 12 Bug Zapper 2010-11-04 11:48:54 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 13 Bug Zapper 2010-12-05 07:09:04 UTC
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


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