Hi,
the attached patch works for me in the described case. I can NMU if
necessary.
bye,
Roland
Common subdirectories: update-inetd-4.27.orig/debian and update-inetd-4.27/debian
diff -u update-inetd-4.27.orig/DebianNet.pm update-inetd-4.27/DebianNet.pm
--- update-inetd-4.27.orig/DebianNet.pm 2006-11-12 19:15:24.000000000 +0100
+++ update-inetd-4.27/DebianNet.pm 2006-11-22 13:29:56.000000000 +0100
@@ -222,7 +222,7 @@
}
sub wakeup_inetd {
- my($pid);
+ my($pid,$service);
if (open(P,"/var/run/inetd.pid")) {
$pid=<P>;
if (open(C,sprintf("/proc/%d/stat",$pid))) {
@@ -231,6 +231,12 @@
close(C);
}
close(P);
+ } else {
+ $_ = glob "/etc/init.d/*inetd";
+ if(/\/etc\/init\.d\/(.*inetd)/) {
+ $service = $1;
+ system("invoke-rc.d $service restart");
+ }
}
return(1);
}