Bug 114443 - /proc/acpi/event is root-only
Summary: /proc/acpi/event is root-only
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-01-28 07:51 UTC by Bill Nottingham
Modified: 2015-01-04 22:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-11 04:56:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bill Nottingham 2004-01-28 07:51:24 UTC
Description of problem:

/proc/acpi/event is root-only for read

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

2.6.1-1.57

How reproducible:

Every time!

Steps to Reproduce:
1. $ cat /proc/acpi/event
2. -EPERM
3. there is no step 3.
  
Actual results:

-EPERM

Expected results:

Glorious ACPI events.

The lack of readibility makes writing battery monitors ... tricky.

Additional info:

Hey, at least chmod() on it works!

Comment 1 Dave Jones 2004-10-30 03:57:39 UTC
not any more it doesn't 8-)
is this actually a problem?  Battery monitors seem to work fine for me.


Comment 2 Bill Nottingham 2004-10-30 04:50:34 UTC
Is acpid running when your battery monitor is working?

Comment 3 Dave Jones 2004-11-01 19:19:19 UTC
yes, why is that a problem ?


Comment 4 Bill Nottingham 2004-11-01 19:48:50 UTC
Does the battery monitor work once you turn off acpid?

Comment 5 Dave Jones 2004-11-02 20:40:42 UTC
no, as the battery applet talks to the acpid socket.
This isn't supposed to work afaict.

I don't see what we benefit by making /proc/acpi/event world readable, other
than a bunch of headaches. (Note that it can only have one exclusive reader by
design)


Comment 6 Bill Nottingham 2004-11-03 03:57:22 UTC
Well, the battery applet has code to work without acpid... as long as
it's readable.

I suppose it's simpler to just get all the acpi notification on the
kernel events layer, or similar.

Comment 7 Dave Jones 2004-11-22 20:06:03 UTC
"the battery applet has code to work without acpid"

Why ?


Comment 8 Bill Nottingham 2004-11-22 20:58:59 UTC
Probably because acpid is crap. Not sure, though. :)

Comment 9 Dave Jones 2005-01-11 04:56:04 UTC
I don't think there's a compelling argument to keep this one open.



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