Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 12902

Summary: new rsync package doesn't reconfigure rsyncd.conf location
Product: Gentoo Linux Reporter: Chris Russell (RETIRED) <cjr>
Component: [OLD] Core systemAssignee: Maik Schreiber <blizzy-keyword-gentoo_bugs2.a8a736>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.4_rc1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Russell (RETIRED) gentoo-dev 2002-12-29 05:33:28 UTC
by default previous versions of rsync (rsync-2.5.5-r1 and earlier) looked for
/etc/rsync/rsyncd.conf
with rsync-2.5.6_pre20021105 it now looks for /etc/rsyncd.conf even though the
ebuild tries to alter the sysconfdir as with previous versions.

this causes the rsync server to stop accepting conections until the config file
is moved or a symlink created.

The cause is that the RSYNCD_CONF variable in rsyncd.h has changed to RSYNCD_SYSCONF

FIX; change line 22 of the ebuild to:
 	sed -e 's:RSYNCD_SYSCONF "/etc/rsyncd.conf":RSYNCD_SYSCONF
"/etc/rsync/rsyncd.conf":g' rsync.h.orig > rsync.h

tested here, working OK.
Comment 1 Maik Schreiber 2002-12-29 13:51:34 UTC
I've fixed that yesterday in rsync-2.5.6_pre20021105-r1.