Package: tftpd-hpa
Version: 0.43-1.1
Severity: normal
Tags: patch

Hello,

There is problem with upgrading this package while daemon isn't running.

Without --oknodo option start-stop-daemon exits with non-zero error code
(if there is no tftpd-hpa to stop). Exiting with error breaks whole
package upgrade process.

#v+
--- tftpd-hpa.orig      2007-03-22 16:10:23.212113480 +0100
+++ tftpd-hpa   2007-03-22 16:10:57.498422230 +0100
@@ -48,7 +48,7 @@
 #      Function that stops the daemon/service.
 #
 d_stop() {
-       start-stop-daemon --stop --quiet --name $NAME
+       start-stop-daemon --stop --quiet --oknodo --name $NAME
 }
 
 #
#v-

Regards,
Kupson

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-xen-vserver-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages tftpd-hpa depends on:
ii  debconf [debconf-2.0]       1.5.11       Debian configuration management sy
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libwrap0                    7.6.dbs-13   Wietse Venema's TCP wrappers libra
ii  netbase                     4.29         Basic TCP/IP networking system

tftpd-hpa recommends no packages.

-- debconf information:
* tftpd-hpa/use_inetd: false


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to