Your message dated Sun, 10 Apr 2005 15:17:10 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#267781: rsync: Better error reporting if socketpair() fails
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; 24 Aug 2004 12:43:17 +0000
>From [EMAIL PROTECTED] Tue Aug 24 05:43:17 2004
Return-path: <[EMAIL PROTECTED]>
Received: from viefep12-int.chello.at [213.46.255.25]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Bzadx-0001j3-00; Tue, 24 Aug 2004 05:43:17 -0700
Received: from lexx.delysid.org ([80.109.223.65]) by viefep12-int.chello.at
(InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP
id <[EMAIL PROTECTED]>
for <[EMAIL PROTECTED]>; Tue, 24 Aug 2004 14:42:45 +0200
Received: from mlang by lexx.delysid.org with local (Exim 3.36 #1 (Debian))
id 1Bzadh-0003uG-00
for <[EMAIL PROTECTED]>; Tue, 24 Aug 2004 14:43:01 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: rsync: Better error reporting if socketpair() fails
X-Debbugs-CC: Nico <[EMAIL PROTECTED]>
From: Mario Lang <[EMAIL PROTECTED]>
Date: Tue, 24 Aug 2004 14:42:50 +0200
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
micalg=pgp-sha1; protocol="application/pgp-signature"
Sender: Mario Lang <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
--=-=-=
Package: rsync
Version: 2.6.2-3
Severity: wishlist
Tag: patch
I was just bitten by the following problem: the rsync client requires
that AF_UNIX is configured into the kernel (or loaded as a module).
Otherwise, it fails with a cryptic error message.
strace on the rsync client job revealed to me that scoektpair() fails
with "Protocol Family not supported". Had I got this message
immediately, tracking the problem down would have been faster.
The patch below adds a strerror(errno) to the error log which is
emitted if fd_pair() fails.
--- main.c.orig 2004-02-10 04:54:47.000000000 +0100
+++ main.c 2004-08-24 14:34:41.000000000 +0200
@@ -428,7 +428,8 @@
}
if (fd_pair(error_pipe) < 0) {
- rprintf(FERROR,"error pipe failed in do_recv\n");
+ rprintf(FERROR,"error pipe failed in do_recv: %s\n",
+ strerror(errno));
exit_cleanup(RERR_SOCKETIO);
}
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-speakup
Locale: LANG=C, LC_CTYPE=C
Versions of packages rsync depends on:
ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an
ii libpopt0 1.7-4 lib for parsing cmdline parameters
-- no debconf information
--
CYa,
Mario
--=-=-=
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBBKzfU3/wCKmsRPkQRAj1zAJ4tLviIVG4bfgLCmyPUnWtUPghnhQCgge+n
hYlGLJgACRUM8TEtEL605F0=
=ZMO8
-----END PGP SIGNATURE-----
--=-=-=--
---------------------------------------
Received: (at 267781-done) by bugs.debian.org; 10 Apr 2005 13:17:22 +0000
>From [EMAIL PROTECTED] Sun Apr 10 06:17:22 2005
Return-path: <[EMAIL PROTECTED]>
Received: from cust.88.114.adsl.cistron.nl (gw.wurtel.net) [195.64.88.114]
(mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DKcJW-0001Qt-00; Sun, 10 Apr 2005 06:17:22 -0700
Received: from wurtel ([192.168.1.1] helo=wurtel.net)
by gw.wurtel.net with esmtp (Exim 3.36 #1 (Debian))
id 1DKcJK-0002lp-00; Sun, 10 Apr 2005 15:17:10 +0200
Received: from paul by wurtel.net with local (Exim 4.33 #1 (Debian))
id 1DKcJK-0006wW-9W; Sun, 10 Apr 2005 15:17:10 +0200
Date: Sun, 10 Apr 2005 15:17:10 +0200
From: Paul Slootman <[EMAIL PROTECTED]>
To: Mario Lang <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#267781: rsync: Better error reporting if socketpair() fails
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.6i
X-Scanner: exiscan *1DKcJK-0002lp-00*G87RXhCnZDY*Wurtel
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:
On Tue 24 Aug 2004, Mario Lang wrote:
>
> I was just bitten by the following problem: the rsync client requires
> that AF_UNIX is configured into the kernel (or loaded as a module).
> Otherwise, it fails with a cryptic error message.
> strace on the rsync client job revealed to me that scoektpair() fails
> with "Protocol Family not supported". Had I got this message
> immediately, tracking the problem down would have been faster.
Upstream rsync now has better error reporting, also this case should now
be reported with the errno and the correspeonding error message.
This is available in the current 2.6.4 version,
so now closing this bug report.
Thanks,
Paul Slootman
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]