alex.vladulescu at csteam.ro
2009-Aug-14 09:10 UTC
rsyncd.conf chroot yes problem with symlink-ing
Hy there, My name is Alex Vladulescu, and i found this very interesting tool for backup files and folders over remote network servers. For the past four days i have been reading the FAQ on the site, google-ing the web for some answers on my local problem, but i am very stuck, nothing seems to answer my question so far. My issue consists on having a rsyncd.conf on a master server on which i use regular cron jobs to update slaves with directory path and content, and all of this work well but except the symlinks. This is the rsyncd.conf on the master : uid root gid = root use chroot = yes max verbosity = 1 lock file = 1 read only = false write only = false list = true port = 873 address = 10.99.1.1 max connections = 0 munge symlinks = false log file /etc/scripts/rsync/rsync.log hosts allow = 10.99.1.0/30 ignore errors false ignore nonreadable = false transfer logging = yes timeout 600 [home] path = /home/ [mail] path = /etc/virtual/ ... and on the slave the rsync command looks like : rsync -vrulpHEtzhi4ogk -L --copy-links rsync://root at 10.99.1.1::/home /home/ and the symlink message : root at ph:/# rsync -vrulpHEtzhi4ogk -L --copy-links --del rsync://root at 10.99.1.1::/home /home/ receiving incremental file list symlink has no referent: "/webmaster/domains/csteam.ro" (in home) sent 338 bytes received 94.71K bytes 63.36K bytes/sec total size is 5.54M speedup is 58.32 rsync error: some files could not be transferred (code 23) at main.c(1524) [generator=3.0.3] Ok, so far the googlein' got me this : http://lists.samba.org/archive/rsync/2009-July/023532.html but it does't helps me, because the issue was that he didn't use in the config "use chroot = yes", which is not my case as you can see, and i have been trying all kind of params on the slaves command like : --links --copy-unsafe-links, given the perm options.. ?i have no clue. Please enlight me. Tnks in advance. Best regardes, Vladulescu Alexandru -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20090814/20b8e816/attachment.html>
On Fri 14 Aug 2009, alex.vladulescu at csteam.ro wrote:> > Ok, so far the googlein' got > me this : http://lists.samba.org/archive/rsync/2009-July/023532.html but it > does't helps me, because the issue was that he didn't use in the config > "use chroot = yes", which is not my case as you can see, and i have been
alex.vladulescu at csteam.ro
2009-Aug-14 10:03 UTC
rsyncd.conf chroot yes problem with symlink-ing
So it look like this : ls -l /home/webmaster/domains/csteam.ro lrwxrwxrwx 1 root root 31 2009-07-28 21:47 /home/webmaster/domains/csteam.ro -> /home/csteam/domains/csteam.ro/ and panel:/home# ls -l /home/webmaster/domains/csteam.ro/ total 20 drwx------ 2 csteam csteam 4096 2009-08-14 00:10 logs drwxr-xr-x 2 csteam csteam 4096 2009-07-26 10:36 private_html drwx--x--x 3 csteam csteam 4096 2009-07-26 10:36 public_ftp drwxr-xr-x 3 csteam csteam 4096 2009-08-03 12:11 public_html drwxr-xr-x 2 root root 4096 2009-08-04 00:10 stats On Fri, 14 Aug 2009 11:52:16 +0200, Paul Slootman <paul+rsync at wurtel.net> wrote:> On Fri 14 Aug 2009, alex.vladulescu at csteam.ro wrote: > >> root at ph:~# rsync -vrulLpHEtzhi4og --copy-unsafe-links --del >> rsync://root at 10.99.1.1:/home/ /home >> receiving incremental file list >> symlink has no referent: "/webmaster/domains/csteam.ro" (in home) > > So what does that symlink look like on the source? 10.99.1.1 > ls -l /home/webmaster/domains/csteam.ro > > > Paul
Reasonably Related Threads
- Fwd: Re: rsyncd.conf chroot yes problem with symlink-ing
- google voice calling dial plan question.
- Trouble automatic changing local machine account (manual join work!)
- windows netlogon error 3224: Manual join works, automatic renew of machine account not, probably unrelated error netlogon_creds_server_check falied.
- NTP strangeness...