Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122703 - net-fs/nfs-utils - /etc/init.d/rsyncd won't start if /etc/init.d/nfs already running
Summary: net-fs/nfs-utils - /etc/init.d/rsyncd won't start if /etc/init.d/nfs already ...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http:////forums.gentoo.org/viewtopic-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-13 09:47 UTC by Dan Ost
Modified: 2006-02-13 20:44 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 Dan Ost 2006-02-13 09:47:23 UTC
When rsync is run in daemon mode when nfs already running, rsync fails and pops the following into the daemon.log:

rsyncd version 2.6.0 starting, listening on port 873
rsync: open inbound socket on port 873 failed: Address family not supported by protocol
rsync error: error in socket IO (code 10) at socket.c(466)

rsync works fine if I shut down nfs (/etc/init.d/nfs stop).

I found a forum topic that describes the problem at http://forums.gentoo.org/viewtopic-t-359538.html
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-13 10:02:51 UTC
Works just fine here. Don't define the same port for two different services, obviously won't work (and no, they don't overlap by default).
Comment 2 Dan Ost 2006-02-13 20:44:00 UTC
I have never adjusted the ports assigned to either service (nfs doesn't even appear in /etc/services). Even stranger, I haven't changed any rsync or nfs configuration for well over a year and yet this problem just appeared mysteriously after a reboot last week (last reboot before that was about 2 months previous).

Is it possible that I'm only seeing this now because of recent changes in baselayout that start nfs before rsync?