Subject: update-inetd: inetd.pid check always fails
Package: update-inetd
Version: 4.38+nmu1
Severity: important

*** Please type your report below this line ***
/usr/share/perl5/DebianNet.pm:
if (open(P,"/var/run/inetd.pid")) {
    $pid=<P>;
    chomp($pid);
    if (open(C,sprintf("/proc/%d/stat",$pid))) {
        $_=<C>;
        if (m/^\d+ \(inetd\)/) {
            &printv("About to send SIGHUP to inetd (pid: $pid)\n");
            unless ($fake_invocation) {
                kill(1,$pid);
            }
        } else {
            print STDERR "/var/run/inetd.pid does not have a valid pid!";
            print STDERR "Please investigate and restart inetd manually.";
        }
        close(C);
    }
    close(P);
}

# cat /proc/15037/stat
15037 (inetutils-inetd)

This check always fails as the daemon is called inetutils-inetd instead of inetd.


This problem causes the proftpd configuration to fail:
# dpkg-reconfigure proftpd-basic
Stopping ftp server: proftpd.
/var/run/inetd.pid does not have a valid pid!Please investigate and restart inetd manually./var/run/inetd.pid does not have a valid pid!Please investigate and restart inetd manually.Starting ftp server: proftpd.


-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages update-inetd depends on:
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy ii libfile-copy-recursive 0.38-1 Perl extension for recursively cop
ii  perl-modules [libfile- 5.10.1-17squeeze2 Core Perl modules

update-inetd recommends no packages.

update-inetd suggests no packages.

-- debconf information:
  update-inetd/ask-disable-entries: false
  update-inetd/ask-several-entries: true
  update-inetd/title:
  update-inetd/ask-entry-present: true
  update-inetd/ask-remove-entries: false

--
Mit freundlichen Grüßen

Jörg Ludwig

IServ GmbH
Rebenring 33
38106 Braunschweig

Telefon:   0531-2243666-0
Fax:       0531-2243666-9
Mobil:     0179-9101055
E-Mail:    joerg.lud...@iserv.eu
Internet:  iserv.eu

USt.-IdNr.:       DE265149425
Registergericht:  Amtsgericht Braunschweig
Registernummer:   HRB 201822
Geschäftsführer:  Jörg Ludwig




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to