Your message dated Tue, 10 May 2005 08:17:47 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#306929: fixed in portmap 5-11
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Apr 2005 13:21:20 +0000
>From [EMAIL PROTECTED] Fri Apr 29 06:21:19 2005
Return-path: <[EMAIL PROTECTED]>
Received: from lukas.rz.uni-frankfurt.de [141.2.22.92] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DRVQl-0003kl-00; Fri, 29 Apr 2005 06:21:19 -0700
Received: from emma.rz.uni-frankfurt.de ([141.2.22.59])
        by lukas.rz.uni-frankfurt.de with esmtps (TLSv1:AES256-SHA:256)
        (Exim 4.50)
        id 1DRVQG-0004AT-Qc
        for [EMAIL PROTECTED]; Fri, 29 Apr 2005 15:20:48 +0200
Received: from p54b2f52c.dip.t-dialin.net ([84.178.245.44] helo=blu.achennet)
        by emma.rz.uni-frankfurt.de with esmtpsa (TLSv1:AES256-SHA:256)
        (Exim 4.50)
        id 1DRVQE-0003H4-Iz
        for [EMAIL PROTECTED]; Fri, 29 Apr 2005 15:20:47 +0200
Received: from localhost ([127.0.0.1] ident=xela)
        by blu.achennet with esmtp (Exim 4.50)
        id 1DRVQD-0000Zb-Ps
        for [EMAIL PROTECTED]; Fri, 29 Apr 2005 15:20:45 +0200
Message-ID: <[EMAIL PROTECTED]>
Date: Fri, 29 Apr 2005 15:20:45 +0200
From: Alexander Achenbach <[EMAIL PROTECTED]>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.6) Gecko/20050324 
Debian/1.7.6-1
X-Accept-Language: en, de
MIME-Version: 1.0
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: SIGCHLD handler doesn't preserve errno
Content-Type: multipart/mixed;
 boundary="------------000504000804040509090900"
X-MailScanner: Found to be clean
X-MailScanner-SpamCheck: 
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is a multi-part message in MIME format.
--------------000504000804040509090900
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Package: portmap
Version: 5-9
Severity: normal
Tags: patch

The asynchronous SIGCHLD handling function 'reap' in 'portmap.c' uses
system call wait3() without preserving global errno.
This may lead to unreliable operation under heavier service loads,
potentially causing unexpected termination of the service process.

The attached patch adds wrappers to save and restore errno.

This problem has existed for a long time now. It has been reported
on freebsd-bugs in June 1998, but a fix doesn't seem to have made it
into Debian yet.

[ A similar bug #306925 has been filed for package 'nis'. ]

--------------000504000804040509090900
Content-Type: text/plain;
 name="portmap.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="portmap.diff"

diff -Nru portmap-5/portmap.c portmap-5.new/portmap.c
--- portmap-5/portmap.c 2005-04-29 13:08:19.593966032 +0200
+++ portmap-5.new/portmap.c     2005-04-29 15:00:17.281779538 +0200
@@ -714,5 +714,7 @@
 void
 reap()
 {
+       int save_errno = errno;
        while (wait3((int *)NULL, WNOHANG, (struct rusage *)NULL) > 0);
+       errno = save_errno;
 }

--------------000504000804040509090900--

---------------------------------------
Received: (at 306929-close) by bugs.debian.org; 10 May 2005 12:28:47 +0000
>From [EMAIL PROTECTED] Tue May 10 05:28:47 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DVTqx-0005Sw-00; Tue, 10 May 2005 05:28:47 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DVTgJ-0006lO-00; Tue, 10 May 2005 08:17:47 -0400
From: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#306929: fixed in portmap 5-11
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 10 May 2005 08:17:47 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: portmap
Source-Version: 5-11

We believe that the bug you reported is fixed in the latest version of
portmap, which is due to be installed in the Debian FTP archive:

portmap_5-11.diff.gz
  to pool/main/p/portmap/portmap_5-11.diff.gz
portmap_5-11.dsc
  to pool/main/p/portmap/portmap_5-11.dsc
portmap_5-11_i386.deb
  to pool/main/p/portmap/portmap_5-11_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anibal Monsalve Salazar <[EMAIL PROTECTED]> (supplier of updated portmap 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 10 May 2005 21:54:21 +1000
Source: portmap
Binary: portmap
Architecture: source i386
Version: 5-11
Distribution: unstable
Urgency: high
Maintainer: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Changed-By: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Description: 
 portmap    - The RPC portmapper
Closes: 305505 306929
Changes: 
 portmap (5-11) unstable; urgency=high
 .
   * Changed all references of '/etc/default/portmap' to '/etc/portmap.conf'
     in postinst, init.d, templates and po/*. Created postrm. Removed default.
     This fixes RC bug "Portmap modifies conffile from postinst", closes: 
#305505.
   * Fixed "SIGCHLD handler doesn't preserve errno", closes: #306929.
     Patch by Alexander Achenbach <[EMAIL PROTECTED]>.
Files: 
 6923cf2bb8cb49c80f041c2766bf5ae8 575 net standard portmap_5-11.dsc
 dbd48b298fcaba65ba69134fe62ca11a 17635 net standard portmap_5-11.diff.gz
 f78ace5d5a06e8764a61eadc79acb4a8 27558 net standard portmap_5-11_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCgKKwgY5NIXPNpFURAjdwAKDSZjSBOTY68LkvBjvnu5A4kQ3MdQCfWdVa
glkqfUa3yMCzNDjaGce3mvE=
=3GQv
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to