Your message dated Sat, 2 Jan 2010 12:30:05 +0100
with message-id <[email protected]>
and subject line Re: [Pkg-acpi-devel] Bug#563343: acpid ignoring custom events 
if ends with '.sh'
has caused the Debian Bug report #563343,
regarding acpid ignoring custom events if ends with '.sh'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
563343: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563343
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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                                          
       


r...@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
r...@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



--- End Message ---
--- Begin Message ---
On Thu, Mar 04, 2010 at 11:08:43AM +0530, Ritesh Raj Sarraf wrote:

You might want to check your clock or tell me where to get the time machine. :-)

> 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.

This is not a bug but a feature that was added several years ago to make sure
acpid doesn't bail if some non-event files somehow make it into this directory.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo/Skype: michaelmeskes, Jabber: [email protected]
VfL Borussia! Forca Barca! Go SF 49ers! Use: Debian GNU/Linux, PostgreSQL


--- End Message ---

Reply via email to