DO NOT REPLY [Bug 4263] New: Symlinks gets corruped when rsyncd is used to 'put' the symlink.

samba-bugs at samba.org samba-bugs at samba.org
Tue Nov 28 12:55:45 GMT 2006


https://bugzilla.samba.org/show_bug.cgi?id=4263

           Summary: Symlinks gets corruped when rsyncd is used to 'put' the
                    symlink.
           Product: rsync
           Version: 2.6.8
          Platform: Sparc
        OS/Version: Solaris
            Status: NEW
          Severity: critical
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: bjorn.unden at se.atlascopco.com
         QAContact: rsync-qa at samba.org


I get problem with symbolic links when I do a backup between two servers using
rsyncd on one of them.
When I get the backup everything works fine. See the GET-part belowe.
But when I shall put it back to the original place in the first server, rsync
strips off the initial '/' in the symlink and this will not work. See the
PUT-part belowe.
I have tryed it out a lot and it seems to work fine to 'GET' but not to 'PUT'
when I use rsyncd.

GET
====
toos6<kalle> ls -al
total 6
drwxrwxr-x   2 root     other        512 Nov 27 19:15 .
drwxrwxr-x  11 root     other        512 Oct 25 14:40 ..
lrwxrwxrwx   1 root     other         47 Nov 27 19:15 LDAPBrowser ->
/opt/ptc/Aphelion/SyntegraLDAPBrowser/ptclbe.sh

toos22<bin> rsync -av toos6::ptc/kalle/LDAPBrowser
/backup/pdmlink_061126/Aphelion_latest/bin
receiving file list ... done
LDAPBrowser -> /opt/ptc/Aphelion/SyntegraLDAPBrowser/ptclbe.sh

sent 91 bytes  received 149 bytes  160.00 bytes/sec
total size is 47  speedup is 0.20
toos22<bin> ls -al
total 6
drwxrwxr-x   2 root     other        512 Nov 27 19:15 .
drwxrwxr-x  11 root     other        512 Oct 25 14:40 ..
lrwxrwxrwx   1 root     other         47 Nov 27 19:15 LDAPBrowser ->
/opt/ptc/Aphelion/SyntegraLDAPBrowser/ptclbe.sh

PUT
====
toos22<bin> ls -al
total 6
drwxrwxr-x   2 root     other        512 Nov 27 19:15 .
drwxrwxr-x  11 root     other        512 Oct 25 14:40 ..
lrwxrwxrwx   1 root     other         47 Nov 26 23:00 LDAPBrowser ->
/opt/ptc/Aphelion/SyntegraLDAPBrowser/ptclbe.sh

toos22<bin> rsync -av /backup/pdmlink_061126/Aphelion_latest/bin/LDAPBrowser
toos6::ptc/kalle
building file list ... done
LDAPBrowser -> /opt/ptc/Aphelion/SyntegraLDAPBrowser/ptclbe.sh

sent 109 bytes  received 22 bytes  262.00 bytes/sec
total size is 49  speedup is 0.37

toos6<kalle> ls -al
total 6
drwxrwxr-x   2 root     other        512 Nov 27 19:15 .
drwxrwxr-x  11 root     other        512 Oct 25 14:40 ..
lrwxrwxrwx   1 root     other         47 Nov 27 19:15 LDAPBrowser ->
opt/ptc/Aphelion/SyntegraLDAPBrowser/ptclbe.sh


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list