samba-bugs@samba.org
2005-Apr-07 21:41 UTC
[Bug 2583] New: rsync fails with "authentication failure"
https://bugzilla.samba.org/show_bug.cgi?id=2583
Summary: rsync fails with "authentication failure"
Product: rsync
Version: 2.6.4
Platform: Other
OS/Version: Linux
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: hpa@zytor.com
QAContact: rsync-qa@samba.org
On kernel.org, we have a upload system which consists of one server rsyncing to
another, using an rsync daemon with a very long, random password.
Since upgrading the server to an x86-64 machine running Fedora Core 3 and rsync
2.6.3 (also tried rsync 2.6.4) we have been getting the following errors. The
client machine is a i386 tested with rsync 2.5.8 from RHEL3 as well as rsync
2.6.3 and 2.6.4:
[Note: this message is from rsync-2.6.4-2 from Fedora Development.]
@ERROR: auth failed on module pubupload
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(420)
There are a total of four upload modules, of which "pubupload" is the
largest
one by several orders of magnitude. These errors *only* happen on the
"pubupload" module, and even then not consistently (fortunately.)
The command used on the client host is:
rsync -rlHtSpq --delete --timeout=3600 --exclude /mirrors/ --exclude lost+found/
--exclude '.#*' /pub/ korg@zeus2.kernel.org::pubupload/
Please contact me directly for a copy of the rsyncd.conf file, since I do not
want to post it publically.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
John Van Essen
2005-Apr-09 11:08 UTC
[Bug 2583] New: rsync fails with "authentication failure"
On Thu, 7 Apr 2005, <samba-bugs@samba.org> wrote:> > https://bugzilla.samba.org/show_bug.cgi?id=2583(replying to the list for now...) ....> Since upgrading the server to an x86-64 machine running Fedora Core 3 and rsync > 2.6.3 (also tried rsync 2.6.4) we have been getting the following errors. The > client machine is a i386 tested with rsync 2.5.8 from RHEL3 as well as rsync > 2.6.3 and 2.6.4: > > [Note: this message is from rsync-2.6.4-2 from Fedora Development.] > @ERROR: auth failed on module pubupload > rsync: connection unexpectedly closed (0 bytes received so far) [sender] > rsync error: error in rsync protocol data stream (code 12) at io.c(420)....> The command used on the client host is: > > rsync -rlHtSpq --delete --timeout=3600 --exclude /mirrors/ --exclude lost+found/ > --exclude '.#*' /pub/ korg@zeus2.kernel.org::pubupload/So there's yet another case of an upgrade to FC 3 causing an auth problem. It looks like the client tries to contact the daemon to do the auth by calling auth_server(). It fails, so the client prints the @ERROR message. Wayne - is the 'connection unexpectedly closed' normal? Or does that indicate that the daemon child probably crashed like it's been doing in other cases? Here are some links to related issues that I've compiled: "connection unexpectedly closed error" http://www.mail-archive.com/rsync@lists.samba.org/msg12745.html "Re: rsync crashing under centos 4" http://www.mail-archive.com/rsync@lists.samba.org/msg12815.html "Re: Anonymous rsync + chroot + LDAP" http://www.mail-archive.com/rsync@lists.samba.org/msg12709.html Hope that helps. Maybe this issue needs to be added to the Current Issues page? -- John Van Essen Univ of Minn. Alumnus <vanes002@umn.edu>