[Pkg-acpi-devel] Bug#579798: Bug#579798: acpi-fakekey: "/etc/init.d/acpi-fakekey start" fails if acpi_fakekeyd is already running

Michael Meskes meskes at debian.org
Sat May 1 17:20:51 UTC 2010


On Fri, Apr 30, 2010 at 10:23:08PM +0200, Sven Joachim wrote:
> It seems this happens because of two bugs:
> 
> - the old acpi-support (from 0.133-2) prerm script did not stop
>   acpi_fakekeyd

Right, this is a bug.

> - the acpi-fakekeyd initscript's start action is missing
>   start-stop-daemon's --oknodo option and thus fails if acpi_fakekeyd is
>   already running.

This, however, I don't see as a bug. Why should the script use --oknodo? The
new script does stop acpi_fakekeyd, so why do we need --oknodo.

> The second problem is easily fixable, I don't know what to do about the
> first; maybe dhinstallinit -R would help, or manually stop acpi_fakekeyd
> in the postinst on first-time installs.

I think a manual stop is better because it's only needed for this one upgrade.

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 meskes at jabber.org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL





More information about the Pkg-acpi-devel mailing list