Pierre THIERRY <[EMAIL PROTECTED]> writes:
> Package: shishid
> Version: 0.0.23-1
> Severity: grave
> Justification: renders package unusable
>
> The shishid script in /etc/init.d doesn't start the daemon in the
> background, so the server won't be started after installation (you're
> forced to kill it to let dpkg end it's job).
>
> It may also prevent the system from booting (didn't boot until I had it
> installed).
Hi Pierre! Thanks for testing this. Shishid is the most unstable
part of shishi, and I haven't tested the Debian packaging of it much.
I have found the --background parameter to start-stop-daemon, and
believe it will solve this problem. Could you modify the
/etc/init.d/shishid file and replace --start with --start
--background?
Thanks!
Index: shishid.init.d
===================================================================
RCS file: /sources/shishi/shishi-debian/shishid.init.d,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- shishid.init.d 10 Mar 2006 08:55:25 -0000 1.1
+++ shishid.init.d 18 Apr 2006 08:13:37 -0000 1.2
@@ -1,6 +1,6 @@
#! /bin/sh
-# Copyright (C) 2005 Simon Josefsson
+# Copyright (C) 2005, 2006 Simon Josefsson
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
@@ -23,7 +23,7 @@ case "$1" in
start)
echo -n "Starting $DESC: "
start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
- --exec $DAEMON -- $DAEMON_OPTS
+ --background --exec $DAEMON -- $DAEMON_OPTS
echo "$NAME."
;;
stop)
@@ -43,7 +43,7 @@ case "$1" in
/var/run/$NAME.pid --exec $DAEMON
sleep 1
start-stop-daemon --start --quiet --pidfile \
- /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
+ /var/run/$NAME.pid --background --exec $DAEMON -- $DAEMON_OPTS
echo "$NAME."
;;
*)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]