Package: dpkg
Version: 1.13.8
Followup-For: Bug #157305
Hi,
I also hit that bug, here is a patch to fix it. In do_stop, there should
be no warning if signal_nr was 0 (poll whether pid exists).
--- start-stop-daemon-orig.c 2005-06-12 21:46:21.000000000 +0200
+++ start-stop-daemon.c 2005-06-12 21:47:14.000000000 +0200
@@ -1005,8 +1005,9 @@ do_stop(int signal_nr, int quietmode, in
push(&killed, p->pid);
(*n_killed)++;
} else {
- printf("%s: warning: failed to kill %d: %s\n",
- progname, p->pid, strerror(errno));
+ if (signal_nr)
+ printf("%s: warning: failed to kill %d: %s\n",
+ progname, p->pid, strerror(errno));
(*n_notkilled)++;
}
}
Regards,
Samuel Thibault
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (900, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-rc4
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages dpkg depends on:
ii coreutils [textutils] 5.2.1-2 The GNU core utilities
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii textutils 5.2.1-2 The GNU text file processing utili
-- no debconf information
--
Samuel Thibault <[EMAIL PROTECTED]>
Yep. Moi j'ai un clavier à une touche.
Par contre, ma souris a 102 boutons, c'est pas toujours pratique.
-+- OG in: Guide du Cabaliste Usenet - Le mulot contre attaque -+-
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]