Bug 136988 - acpid doesn't parse multiple event/action pairs in one file
acpid doesn't parse multiple event/action pairs in one file
Product: Fedora
Classification: Fedora
Component: acpid (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2004-10-24 16:56 EDT by Patrick Jordan
Modified: 2014-03-16 22:49 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-01-28 17:40:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Patrick Jordan 2004-10-24 16:56:04 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041020

Description of problem:
I have /etc/acpi/events/events.conf:

action=/etc/acpi/actions/ac.sh %e
action=/etc/acpi/actions/battery.sh %e

When acpid starts with this it only loads 1 rule. The others are
ignored. If I put them in 3 different conf files all three get loaded.
I'm almost positive that in fc2 and prior I was able to do this,
though I don't have another available acpi machine to test it on.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.define an /etc/acpi/events/file with multiple event/action pairs
2.restart acpid


Actual Results:  log shows 1 rule loaded, behavior confirms

Expected Results:  Should load as many event/action pairs as you have
defined in a file, and show that many rules loaded in log file.

Additional info:
Comment 1 Bill Nottingham 2005-01-28 17:40:48 EST
Looking at the code, it very clearly only parses one rule per file.

I don't think this is a behavior we'd change locally; it would be a
somewhat intrusive change.

You'd probably be better off requesting the change at:


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