From owner-freebsd-ports@FreeBSD.ORG Fri Mar 20 10:27:00 2015 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BB2FBD17; Fri, 20 Mar 2015 10:27:00 +0000 (UTC) Received: from critical.ch (critical.ch [IPv6:2a01:4f8:d16:2743::1:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.critical.ch", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5ED5278E; Fri, 20 Mar 2015 10:27:00 +0000 (UTC) Received: from wiggles.local (dynamic.wline.6rd.res.cust.swisscom.ch [IPv6:2a02:120b:c3f9:27d0:dad3:85ff:fe79:dd2] (may be forged)) (authenticated bits=0) by critical.ch (8.14.9/8.14.9/critical-1.0) with ESMTP id t2KAQvoF002941; Fri, 20 Mar 2015 11:26:57 +0100 (CET) (envelope-from ehaupt@FreeBSD.org) Date: Fri, 20 Mar 2015 11:26:52 +0100 From: Emanuel Haupt To: Kai Subject: Re: FreeBSD Port: rsync-3.1.1_3 Message-Id: <20150320112652.b52f41b26968933912692727@FreeBSD.org> In-Reply-To: <550B52B3.8070502@xs4all.net> References: <550B52B3.8070502@xs4all.net> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2015 10:27:00 -0000 Kai 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@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@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----- >