| Summary: | sys-power/acpid-1.0.6-r1 still requires deprecated /proc/acpi/event | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Pacho Ramos <pacho> |
| Component: | Current packages | Assignee: | Mobile Herd (OBSOLETE) <mobile+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | akshayushah, blitz00, genzilla, hanno, larstobi, m.debruijne, matej, mirimiri66, muusik, nietonfir, polynomial-c, radhermit |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | acpid-1.0.8.ebuild with Ted Felix's netlink-patch | ||
|
Description
Pacho Ramos
2007-11-03 11:00:54 UTC
Hi! This is a known problem, which is not distribution-specific - under these circumstances it is best to contact the upstream. acpid lives on https://sourceforge.net/projects/acpid/ Someone has already posted this issue to upstream and it could be tracked here: https://sourceforge.net/tracker/index.php?func=detail&aid=1809944&group_id=33140&atid=407341 You may also use sourceforge's monitor feature to track the bug's status. Upstream seems very quiet to me (their last release is from June 2007)... Upstream seems to be working on this issue: "Date: 2008-10-11 15:40 Sender: tedfelix I'm going to start fixing this problem this week. I've talked with Tim and he's given me the go-ahead. This has caused the power button and lid switch to be broken in Ubuntu 8.04.1 and 8.10 beta even though /proc/acpi/event is built into the kernel. I've not tracked this down as I figure it's kind of pointless to fix a deprecated interface. Slackware 12.1 works fine. I'll try to post weekly updates on the status. Wish me luck. I'm going in.... Ted." Status updates: http://sourceforge.net/developer/diary.php?diary_user=2245441 Created attachment 175270 [details] acpid-1.0.8.ebuild with Ted Felix's netlink-patch Here is an ebuild for =sys-power/acpid-1.0.8 with Ted Felix's patch for Netlink and Input Layer support. Ref.: http://sourceforge.net/tracker/index.php?func=detail&aid=2419210&group_id=33140&atid=407343 I'm using larstobi's ebuild on a x86 Gentoo box with mixed stable and testing packages and it works*. Is there any hope of this ebuild getting to Portage tree? * With the minor caveat that it displays some messages on startup that don't go well together with the the nice and colourful "*starting blabla [OK]" init output. (In reply to comment #5) > * With the minor caveat that it displays some messages on startup that don't go > well together with the the nice and colourful "*starting blabla [OK]" init > output. Is your blabla-message is this? "acpid: can't open /proc/acpi/event: No such file or directory" Did you put ACPID_OPTIONS="-n" in /etc/conf.d/acpid? Sorry for the delay in response, I still have to learn to keep an eye on my inbox.
I do have ACPID_OPTIONS="-n" in /etc/conf.d/acpid (I haven't modified the file) and the messages I get from acpid on boot are these:
acpid: starting up with netlink and the input layer
acpid: 1 rule loaded
acpid: waiting for events: event logging is off
So it's just cosmetics we're talking about, the way I see it.
+*acpid-1.0.10 (03 May 2009) + + 03 May 2009; Peter Alfredsen <loki_val@gentoo.org> +acpid-1.0.10.ebuild: + Bump, bug 246802. Thanks to Davide Pesavento <davidepesa@gmail.com>. Use + Ted Felix version of acpid that correctly handles using the netlink + interface instead of the deprecated /proc/acpi/event interface. Also fixes + bug 268079, CVE-2009-0798. + |