Your message dated Mon, 7 Apr 2008 15:14:27 -0400
with message-id <[EMAIL PROTECTED]>
and subject line this bug/#339897 - dpkg: [S-S-D] --stop without --oknodo
doesn't return to script process
has caused the Debian Bug report #339897,
regarding dpkg: [S-S-D] --stop without --oknodo doesn't return to script process
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.)
--
339897: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=339897
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: dpkg
Version: 1.13.11.0.1
Severity: normal
I think there exists an error in forking in start-stop-daemon.
If I run start-stop-daemon in my init-script without the --oknodo
argument start-stop-daemon replaces the script process and exits with 1
on an error.
So the script never continues to the end.
Shouldn't s-s-d return to the script so that one can handle the error?
The manpage tells me about --oknodo:
-o|--oknodo Return exit status 0 instead of 1 if no actions are (would
be) taken.
So without -o it should also return and not exit.
Part of my script:
stop)
log_begin_msg "Stopping ${DESC}:"
start-stop-daemon --stop --oknodo --quiet --pidfile $PID
log_end_msg $?
#
# the pidfile must be removed or the daemon won't start
# the next time
test -f "$DOORMAND_PID" && rm -f "$DOORMAND_PID"
;;
-- System Information:
Debian Release: sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-2-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages dpkg depends on:
ii coreutils [textutils] 5.93-5 The GNU core utilities
ii libc6 2.3.5-8 GNU C Library: Shared libraries an
dpkg recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
No response from submitter; 2 likely, alternate explanations.
--- End Message ---