FreeBSD Port: rsync-3.1.1_3

Emanuel Haupt ehaupt at FreeBSD.org
Fri Mar 20 10:27:00 UTC 2015


Kai <kai at xs4all.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Hello Ehaupt,
> 
> I'm running into an issue when rsyncing to a freebsd host (10.1,
> running rsync-3.1.1, "pkg install rsync" version).
> 
> When rsyncing a deep directorystructure that contains a socket I get
> the following error (backup is a nested dirstructure created to
> isolate this):
> 
> > $ rsync -avH backup/ backup at freebsd-jail:/tmp/backup/ sending
> > incremental file list created directory /tmp/backup ./ rsync: mknod
> > "/tmp/backup/rTimeMachine/franks/140103-154024/franks/Library/Application
> > Support/iPhone Simulator/5.0/Library/Application
> > Support/Ubuquity/ubiquity.socket" failed: File name too long (63) 
> > rTimeMachine/ rTimeMachine/franks/ 
> > rTimeMachine/franks/140103-154024/ 
> > rTimeMachine/franks/140103-154024/franks/ 
> > rTimeMachine/franks/140103-154024/franks/Library/ 
> > rTimeMachine/franks/140103-154024/franks/Library/Application
> > Support/ 
> > rTimeMachine/franks/140103-154024/franks/Library/Application
> > Support/iPhone Simulator/ 
> > rTimeMachine/franks/140103-154024/franks/Library/Application
> > Support/iPhone Simulator/5.0/ 
> > rTimeMachine/franks/140103-154024/franks/Library/Application
> > Support/iPhone Simulator/5.0/Library/ 
> > rTimeMachine/franks/140103-154024/franks/Library/Application
> > Support/iPhone Simulator/5.0/Library/Application Support/ 
> > rTimeMachine/franks/140103-154024/franks/Library/Application
> > Support/iPhone Simulator/5.0/Library/Application Support/Ubuquity/
> > 
> > sent 433 bytes  received 303 bytes  1,472.00 bytes/sec total size
> > is 0  speedup is 0.00 rsync error: some files/attrs were not
> > transferred (see previous errors) (code 23) at main.c(1183)
> > [sender=3.1.1]
> 
> After cd'ing into the dir, the rsync works perfectly:
> > $ rsync -avH Ubuquity/ backup at freebsd-jail:/tmp/backup/ sending
> > incremental file list ./ ubiquity.socket
> > 
> > sent 84 bytes  received 22 bytes  212.00 bytes/sec total size is 0
> > speedup is 0.00 
> > quadraginta:/tmp/backup/rTimeMachine/franks/140103-154024/franks/Library/Application
> > Support/iPhone Simulator/5.0/Library/Application Support $
> 
> Looking at man mknod(2):
> > [ENAMETOOLONG]     A component of a pathname exceeded 255
> > characters, or an entire path name exceeded 1023 characters.
> 
> This shouldn't be a problem whilst looking at the path, I'm counting
> about 155 characters in total.
> 
> What's wrong?

Hi Kai

Can you identify the particular file that causes the problem? If so,
could you please show me the output of

$ stat file

What filesystem is this file on?

Emanuel


> 
> Kind regards,
> Kai Storbeck
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> 
> iQIcBAEBCAAGBQJVC1KtAAoJEJrnqPcB7lLxAHEQAJZJvqB0dGDubqSed9ESCsyG
> QpgHAKLWaAiqyoutk1uZ7uG6ryluFOWPm09Ys3YriUmM5Kp6D4qGbudCqDJZawot
> myjimcRjqsdG6D6ncDVuCrQ+BEwTXLk9+YcRqe9fs8p0/2H0W+Job2mWtjGX14QH
> HF5hDD/M+ftyaTntqFb/b1ShTz4XK0G4Om3liWZqs7k8rqSv/fqe3MsJ2Y5u1zIi
> YiYLkg748p2vqp3zjYtD0kmdqDxTJSyxtzZd1X+vkK0fOUtwhb/aAG9g92RDcaeF
> ehcs7SfpuuDLbyq5WUZiGCJHGoVX+g4iCKhzJaxS34AbAUsynnT5KsG2chXa4E1x
> FMXmoqXmoKqfHNA++920Cmt1UcYiRW48TUqXQIcNlJ7A4lkuqw6yxt/26qmGssYI
> dpPPS7qD/pCY0a1Be102+43oEgW70x5H7LtJMoFoYPIIXu4Lmu+y+/EaP+wv6MLf
> dvi53CQxQ/S/BmcAKtkZI8rabPnZdwpjhZesrXgIhXK/bhRKKRMIEK23JxHIWIzy
> 3TebG3vzJeMAZwlN4/XH+KGYXw9lV+U9Qc4EZ0qk7QF4XppBrHOfyPRuUTuTong1
> /4G76WsE0aeAJq5wCg8F58OtfSG72cjjVjKHgrf7igncLhLT7+fDGtjK9CUD7zcS
> W5FIhuYOgN39n+bqey6m
> =bA6s
> -----END PGP SIGNATURE-----
> 


More information about the freebsd-ports mailing list