On Thu, 2008-10-09 at 17:08 -0700, Wayne Davison wrote: > On Thu, Oct 09, 2008 at 03:29:04PM +0100, michael wrote: > > and this is when I've tried both of > > a) /usr/bin/rsync --daemon -v > > b) sudo /sbin/chkconfig rsync on > > Fedora supplies an /etc/xinetd.d/rsync file that defaults to off. Using > your b command should turn it on and sighup xinetd. If you go the > xinetd route, that means that there won't be a dedicated rsync daemon > running. You could elect to leave the xinetd config file disabled and > run a daemon, if you like. > > However, Fedora doesn't supply an /etc/rsyncd.conf file, which you must > create for rsync to work. With that set you should be able to run a > "telnet localhost 873". If not, check the xinetd config files (if > used). You can also try a "rsync --daemon --no-detach" to see if it > outputs any errors about your config file (it can output some errors > that way that can't make it into a log file, such as permission errors > trying to create the log file). Hit Ctrl-C to kill it if it didn't die > due to an error (an inability to bind error would be expected if you > left xinetd enabled).
okay, I think I've done it - I created [EMAIL PROTECTED]:~$ cat /etc/rsyncd.conf # rsyncd.conf file # Time-stamp: <13:11BST on Fri 10 Oct 2008 by mkb on veri.phy.umist.ac.uk> [backup] path = /data1/BACKUPS/ratty/ max connections = 1 comment = rsyncd backup and it seems I have to be sudo to start the daemon: [EMAIL PROTECTED]:~$ sudo /usr/bin/rsync --daemon -v --no-detach and then I can see said module from another machine: [EMAIL PROTECTED]:~/bin$ rsync veri.phy.umist.ac.uk:: backup rsyncd backup So I believe that's the daemon running. I'll look at the xinetd stuff later but for now, back to the "rsync backup permissions" thread since I've not yet got the correct magic incantantions to use the daemon as superuser to get the ownership of files to be same as where I've copying from... ta, Michael -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html