[Pkg-acpi-devel] Bug#524910: doesn't seem to be a splashy bug
Ritesh Raj Sarraf
rrs at researchut.com
Sat May 16 18:57:33 UTC 2009
Hi,
I think this isn't a splashy bug.
IMO, the bug seems to be with the follwing line in the acpid init script.
ACPID="/usr/sbin/acpid"
Here's whats happening with the above line as it is:
+ pidof acpid
+ acpi_pid=6441
+ [ ! -z 6441 ]
+ [ -x /etc/init.d/acpid ]
+ invoke-rc.d acpid force-reload
Reloading ACPI services...No /usr/sbin/acpid found running; none killed.
invoke-rc.d: initscript acpid, action "force-reload" failed.
+ true
+ pidof apmd
+ apm_pid=
rrs at champaran:/var/tmp/Debian/pytagsfs$ pidof acpid
6441
And then, I change the line to:
ACPID="/usr/sbin/acpid"
rrs at champaran:/var/tmp/Debian/pytagsfs$ sudo vim /etc/init.d/acpid
rrs at champaran:/var/tmp/Debian/pytagsfs$ pidof acpid
6441
And bingo, it works.
+ pidof acpid
+ acpi_pid=6441
+ [ ! -z 6441 ]
+ [ -x /etc/init.d/acpid ]
+ invoke-rc.d acpid force-reload
+ pidof apmd
+ apm_pid=
Here's the code:
case "$1" in
configure)
acpi_pid=`pidof acpid`
if [ ! -z $acpi_pid ]; then
if [ -x /etc/init.d/acpid ]; then
invoke-rc.d acpid force-reload || true
fi
fi
PS: On the machine, where I faced the issue (and have gathered these test
results from), does not have splashy installed.
Ritesh
--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-acpi-devel/attachments/20090517/3cbf408f/attachment.pgp>
More information about the Pkg-acpi-devel
mailing list