[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

request to upload update-inetd 4.38+nmu1+squeeze1



Dear members of the stable release team,

I'd like to upload update-inetd 4.38+nmu1+squeeze1 to fix #638180 (that's
severity: important).

update-inetd parses successfully the /proc/pid/stat file of inetd only when
the latter comes from the default "Provides: inet-superserver" package (ie.
openbsd-inetd) but fails to do so for inetutils-inetd and rlinetd.

Here's the patch below for squeeze; the fix has already been uploaded to
unstable in version 4.40.

cheers,
sez

diff --git a/DebianNet.pm b/DebianNet.pm
index 5bd6d69..32a7d32 100644
--- a/DebianNet.pm
+++ b/DebianNet.pm
@@ -305,7 +305,7 @@ sub wakeup_inetd {
         chomp($pid);
         if (open(C,sprintf("/proc/%d/stat",$pid))) {
             $_=<C>;
-            if (m/^\d+ \(inetd\)/) {
+            if (m/^\d+ \((rl|inetutils-)?inetd\)/) {
                 &printv("About to send SIGHUP to inetd (pid: $pid)\n");
                 unless ($fake_invocation) {
                     kill(1,$pid);
diff --git a/debian/changelog b/debian/changelog
index 0efbd08..1224635 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+update-inetd (4.38+nmu1+squeeze1) stable; urgency=low
+
+  * Fix breakage with non-default inetd packages (Closes: #638180)
+  * Thanks to Christian Perrier <bubulle@debian.org> for the NMU.
+
+ -- Serafeim Zanikolas <sez@debian.org>  Wed, 31 Aug 2011 08:53:37 +0200
+
 update-inetd (4.38+nmu1) unstable; urgency=low
 
   * Non-maintainer upload.

-- 
Every great idea is worthless without someone to do the work. --Neil Williams


Reply to: