LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-02-2020, 01:47 PM   #1
tadgy
Member
 
Registered: May 2018
Location: UK
Distribution: Slackware (servers), Void (desktop/laptop)
Posts: 299

Rep: Reputation: 401Reputation: 401Reputation: 401Reputation: 401Reputation: 401
Bug in rsync-3.2.1 on current


I think I've discovered a bug in the recent upgrade of rsync in -current.

The bug only seems to show its head when you use the 'transfer logging' option in your rsyncd.conf.

To identify the problem, you can use a very basic rsyncd.conf as a test:

Code:
use chroot              = true
read only               = true

transfer logging        = true
log file                = /tmp/rsyncd.log

[test]
  path                  = /tmp
Then run the daemon:

Code:
rsync --daemon --config=</path/to/config>
As soon as you try to access the daemon with:

Code:
rsync <server-name-or-IP>::test/
you get an error:
Code:
rsync: didn't get server startup line
rsync error: error starting client-server protocol (code 5) at main.c(1675) [Receiver=3.1.3]
When you remove the 'transfer logging' line from the daemon configuration, you can access the rsync module without problem.

I reverted the rsync package back to 3.1.3, the problem goes away.

Can anyone confirm this problem? I've been able to confirm it on slackware.uk and two other -current boxes I have here in VMs.

Cheers
 
Old 07-02-2020, 02:50 PM   #2
Markus Wiesner
Member
 
Registered: Mar 2016
Distribution: Slackware
Posts: 146

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by tadgy View Post
I think I've discovered a bug in the recent upgrade of rsync in -current.

The bug only seems to show its head when you use the 'transfer logging' option in your rsyncd.conf.
I found this commit in the rsync repository: Avoid crash of transfer logging w/default log format., so it's maybe already fixed in 3.2.2pre3 and you can work around this bug by setting a log format?

And when I look at the last (pre-)release dates in the commit log, I wouldn't be surprised if 3.2.2 will be released in the next days.

Last edited by Markus Wiesner; 07-02-2020 at 02:52 PM.
 
Old 07-02-2020, 02:57 PM   #3
tadgy
Member
 
Registered: May 2018
Location: UK
Distribution: Slackware (servers), Void (desktop/laptop)
Posts: 299

Original Poster
Rep: Reputation: 401Reputation: 401Reputation: 401Reputation: 401Reputation: 401
Quote:
Originally Posted by Markus Wiesner View Post
you can work around this bug by setting a log format?
I can just stick with the previous version of rsync that I have installed now.

This is a good advertisement for the cumulative archive I have on slackware.uk, where all previous versions of packages are kept available: https://slackware.uk/cumulative/
 
3 members found this post helpful.
  


Reply

Tags
slackware -current



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync solaris + ld.so.1: rsync: fatal: libiconv.so.2: open failed: xxx_anuj_xxx Solaris / OpenSolaris 25 02-23-2012 03:23 AM
Could I run rsync to download files from a server without rsync daemon? Richard.Yang Linux - Software 1 09-18-2009 04:08 AM
[BUG] Current pkgtools installpkg bug jazzor Slackware 7 04-16-2009 05:30 AM
Rsync server vs rsync over ssh humbletech99 Linux - Networking 1 10-18-2006 12:10 PM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration