LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-22-2021, 01:41 PM   #1
tadgy
Member
 
Registered: May 2018
Location: UK
Distribution: Slackware (servers), Void (desktop/laptop)
Posts: 309

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
Regression in rsync since the glibc 2.32 update (including the 2.33 update too)


There is a regression in rsync since version 3.2.3 tag -2 (including the post mass rebuild for glibc 2.33 version with the -3 tag) which prevents the setting of permissions when /proc is not available - which occurs when using the option:
Code:
use chroot = true
(or leaving it unset since true is the default)

To demonstrate, just create a rsync daemon process that utilises "use chroot" option and try to upload a file to a repository - it produces the error:
Code:
Operation not supported
This is apparently due to glibc implementing lchmod() in a less than perfect way as discussed here: https://github.com/WayneD/rsync/issues/109 and in various distributions specific bugtrackers.

The solution, as detailed in the above link, is to patch rsync to not detect the lchmod() call on Linux hosts - there is already a commit in git to implement this.

I've had to revert the rsync package on slackware.uk to the (pre glibc 2.32) version ending with the -1 tag, which is unaffected.

Hope this can get fixed ASAP
 
Old 02-23-2021, 06:23 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,086

Rep: Reputation: Disabled
Code:
Mon Feb 22 20:58:01 UTC 2021
<snip>
n/rsync-3.2.3-x86_64-4.txz:  Rebuilt.
  Don't use lchmod(). Thanks to tadgy.

Last edited by Didier Spaier; 02-23-2021 at 06:24 AM.
 
Old 02-23-2021, 07:53 PM   #3
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 491

Rep: Reputation: Disabled
A mention in the ChangeLog.txt. Good on ya, mate.
 
  


Reply



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-/usr/bin/rsync: Argument list too long sswaran Linux - Newbie 3 04-09-2015 07:18 AM
[SOLVED] xwindows not running since glibc update on slack14.1 32bit timsoft Slackware 3 02-01-2015 03:17 AM
LXer: My Nerd Life: Too Loud, Too Funny, Too Smart, Too Fat LXer Syndicated Linux News 0 01-24-2014 05:21 AM
[SOLVED] rsync execution issue with crontab - Have given full path to rsync too!! Prabagaran Linux - Server 6 04-15-2011 01:39 AM
RH 9.0 glibc rpm says it needs glibc-common, but glibc-common is installed whitshade Red Hat 2 04-28-2007 05:49 PM

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

All times are GMT -5. The time now is 05:30 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