Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49731 - rsyncd fails to correctly start and stop, missing option in /etc/conf.d/rsyncd
Summary: rsyncd fails to correctly start and stop, missing option in /etc/conf.d/rsyncd
Status: RESOLVED DUPLICATE of bug 49707
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-02 10:23 UTC by Gustav Schaffter
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gustav Schaffter 2004-05-02 10:23:46 UTC
Release 2.6.2-r1 of rsync broke my rsync server.

Earlier releases run with no problem. After upgrading to this release, "nothing worked any more".

Found out that "rsync --daemon" doesn't work any more, since rsyncd looks for /etc/rsyncd.conf but Gentoo Linux (visely) stores the file as /etc/rsync/rsyncd.conf.

I looked in the /etc/conf.d/rsyncd and found that the RSYNC_OPTS variable is commented out. This is as expected, since it was the case before v 2.6.2-r1. But with this new release, it is required.

Solution:

When I added
RSYNC_OPTS="--config=/etc/rsync/rsyncd.conf"
to the /etc/conf.d/rsyncd configuration file (with env-update and source /etc/profile as usual) the rsync daemon started as expected.

Biker


Reproducible: Always
Steps to Reproduce:
1. emerge net-misc/rsync v 2.6.2-r1
2. execute /etc/init.d/rsyncd start
3. watch the /ver/log/syslog file
4. See the error message in the syslog

Actual Results:  
rsync daemon failed to start.

Expected Results:  
rsync daemon should start.
Comment 1 André Terpstra 2004-05-02 13:13:56 UTC
Here there are more problems. Even after applying your solution, I'm still unable to stop the rsync service. Apparently /var/run/rsyncd.pid doesn't get written properly at startup and hence the stop routine from /etc/init.d/rsyncd fails.

I don't have the time or the knowledge to further investigate so I'm back to 2.6.0.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-05-02 15:20:47 UTC

*** This bug has been marked as a duplicate of 49707 ***