Bug 128834

Summary: acpid uses 100% CPU if directory in /etc/acpid/events exists
Product: [Fedora] Fedora Reporter: Hans Ulrich Niedermann <rhbugs>
Component: acpidAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 1.0.3-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-08-09 13:36:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 123268    

Description Hans Ulrich Niedermann 2004-07-30 08:47:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7)
Gecko/20040706 Firefox/0.9.1

Description of problem:
I use RCS with the RCS/ subdirectory for my config files.

When starting acpid while /etc/acpid/events/RCS/ exists, acpid eats
100% of CPU time. Probably acpid should ignore directories when
scanning /etc/acpid/events, or explicitly only accept files.

The busy-looping acpid doesn't even react to SIGTERM.


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

How reproducible:
Always

Steps to Reproduce:
1. mkdir /etc/acpid/events/foobar
2. /etc/init.d/acpid stop
3. /etc/init.d/acpid start

Comment 1 Miloslav Trmač 2004-08-09 13:36:26 UTC
Should be fixed in acpid-1.0.3-2, to show up in rawhide soon.