[Pkg-acpi-devel] Bug#563343: acpid ignoring custom events if ends with '.sh'
Ritesh Raj Sarraf
rrs at researchut.com
Sat Jan 2 05:45:22 UTC 2010
Package: acpid
Version: 1:2.0.0-1
Severity: minor
I have added some custom events/actions to the acpid configuration. When I restart the daemon
so that it can read those additionanl events/actions, acpid complains that it will be
ignoring those custom events.
Mar 4 10:57:49 learner acpid: starting up with netlink and the input layer
Mar 4 10:57:49 learner acpid: ignoring conf file /etc/acpi/events/kill_shutdown.sh
Mar 4 10:57:49 learner acpid: parsing conf file /etc/acpi/events/lm_ac_adapter
Mar 4 10:57:49 learner acpid: parsing conf file /etc/acpi/events/lm_battery
Mar 4 10:57:49 learner acpid: parsing conf file /etc/acpi/events/powerbtn-acpi-support
Mar 4 10:57:49 learner acpid: parsing conf file /etc/acpi/events/lm_lid
Mar 4 10:57:49 learner acpid: ignoring conf file /etc/acpi/events/battery.sh
Mar 4 10:57:49 learner acpid: 4 rules loaded
Mar 4 10:57:49 learner acpid: waiting for events: event logging is on
Mar 4 10:57:50 learner acpid: client connected from 1822[0:0]
Mar 4 10:57:50 learner acpid: 1 client rule loaded
Mar 4 10:57:53 learner acpid: client connected from 1779[106:110]
Mar 4 10:57:53 learner acpid: 1 client rule loaded
Mar 4 10:57:53 learner acpid: client connected from 1822[0:0]
Mar 4 10:57:53 learner acpid: 1 client rule loaded
Mar 4 10:58:50 learner acpid: exiting
rrs at learner:~$ ls -l /etc/acpi/events/
total 24
-rw-r--r-- 1 root root 54 Mar 4 10:57 battery.sh
-rw-r--r-- 1 root root 59 Mar 4 10:57 kill_shutdown.sh
-rw-r--r-- 1 root root 61 Oct 8 16:13 lm_ac_adapter
-rw-r--r-- 1 root root 58 Oct 8 16:13 lm_battery
-rw-r--r-- 1 root root 58 Oct 8 16:13 lm_lid
-rw-r--r-- 1 root root 64 May 28 2009 powerbtn-acpi-support
rrs at learner:~$ ls -l /etc/acpi/actions/
total 20
-rwxr-xr-x 1 root root 31 Mar 4 10:45 kill_shutdown.sh
-rwxr-xr-x 1 root root 111 Oct 8 16:13 lm_ac_adapter.sh
-rwxr-xr-x 1 root root 179 Oct 8 16:13 lm_battery.sh
-rwxr-xr-x 1 root root 125 Oct 8 16:13 lm_lid.sh
-rwxr-xr-x 1 root root 33 Mar 4 10:40 shutdown.sh
Renaming the events by removing the '.sh' from the name solves the problem.
Regards,
Ritesh
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages acpid depends on:
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
ii module-init-tools 3.11-1 tools for managing Linux kernel mo
Versions of packages acpid recommends:
ii acpi-support-base 0.130-1 scripts for handling base ACPI eve
acpid suggests no packages.
-- no debconf information
More information about the Pkg-acpi-devel
mailing list