Bug#712714: Problem with the patch introduced by 708180

Xavier x.guimard at free.fr
Wed Jun 19 04:34:10 UTC 2013


Hi all,

to close #708180 (applications die() because of SIGCHLD vs. SIGCLD
confusion), a patch has been added to change CHLD signal to CLD.

--- a/lib/Net/Server/SIG.pm
+++ b/lib/Net/Server/SIG.pm
@@ -40,6 +40,9 @@
     my $code_ref = shift;
     my $ref = ref($code_ref);

+    # Added by Debian maintainer to close #708180
+    $sig = 'CLD' if ($sig eq 'CHLD');
+
     if (! $ref) {
         if ($code_ref eq 'DEFAULT') {
             delete $_SIG{$sig};

This bug has introduced a new one: #712714 "Regression: amavisd died at
/usr/share/perl5/Net/Server/SIG.pm line 75": check_sigs() calls
"$_SIG_SUB{$sig}->($sig);" but it is empty since register_sig() has
register code in $_SIG_SUB{CLD} instead of $_SIG_SUB{CHLD}.

Best regards,
Xavier



More information about the pkg-perl-maintainers mailing list