John Blinka wrote: > Hi, all, > > I'm rebuilding a gentoo box from a disk failure, and everything is working > (I think) except restoring its ability to act as my local rsync mirror. > I've > followed the instructions in http://www.gentoo.org/doc/en/rsync.xml, > (and they worked fine, of course, before the disk crash) > but clients trying to sync with it get this error message: > > [EMAIL PROTECTED]:~--> emerge --sync > >>>> Starting rsync with rsync://192.168.1.104/gentoo-portage... >>>> Checking server timestamp ... >>>> > @ERROR: Unknown module 'gentoo-portage' > rsync error: error starting client-server protocol (code 5) at > main.c(1296) [rec > eiver=2.6.8] > >>>> Retrying... >>>> > > The /etc/rsyncd.conf file contains: > > # /etc/rsyncd.conf > > # Minimal configuration file for rsync daemon > # See rsync(1) and rsyncd.conf(5) man pages for help > > # This line is required by the /etc/init.d/rsyncd script > pid file = /var/run/rsyncd.pid > max connections = 5 > use chroot = yes > uid = nobody > gid = nobody > > # Simple example for enabling your own local rsync server > #[gentoo-portage] > path = /usr/portage > comment = Gentoo Portage > exclude = distfiles/ packages/ > > The system log contains only a similar "unknown module" message. > > Any ideas about what's going on? > > John Blinka > >
Well, if your config is exactly the same as posted here, I think you should uncomment the line "#[gentoo-portage]" ;-) -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list