[Pkg-acpi-devel] Bug#524910: Bug#524910: Bug#524910: acpid: init.d script returns 1 even in case of success
Michael Meskes
meskes at debian.org
Tue Apr 21 13:05:06 UTC 2009
On Tue, Apr 21, 2009 at 02:19:33PM +0200, Jan Kriho wrote:
> I believe it is caused by function log_end_msg in script /lib/lsb/init-
> functions, which is called last in /etc/init.d/acpid script (See bug #524823)
Not really, log_end_msg just returns its parameter. Given that it is called
with $? this means that the command right in front of it returns 1. The command
in question is start-stop-daemon. Yes, it's quite likely that start-stop-daemon
is throwing 1 but why? What's going wrong?
According to the manpage start-stop-daemon only returns 1 if --oknodo was not
given. But --oknodo is given. You might get more information by removing
--quiet and adding --verbose to the start-stop-daemon calls in
/etc/init.d/acpid.
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: michaelmeskes, Jabber: meskes at jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!
More information about the Pkg-acpi-devel
mailing list