[Bug 10363] New: rsync fails to transfer data

2014-01-08 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=10363

   Summary: rsync fails to transfer data
   Product: rsync
   Version: 3.1.0
  Platform: Sparc
OS/Version: Solaris
Status: NEW
  Severity: critical
  Priority: P5
 Component: core
AssignedTo: way...@samba.org
ReportedBy: sunilkumar.shar...@ge.com
 QAContact: rsync...@samba.org


I am have installed rsync 3.1.0 on solaris 10 sparAC.  I have to transfer the
data from one server to other. below is the command I an tring to execute.

/PATH/TO/RSYNC/rsync-3.1.0/rsync -av --rsh=ssh /PART/TO/src/dir1/confg/
a...@x.xxx.xx.xx:/path/to/dest/dir1/confg/ 

while running the command it prompts me for password for ABC USER and I provide
the same.

I get the below error message 

ksh: rsync:  not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226)
[sender=3.1.0]


I have deployed rync on both the source and destination folder at the same
location.

Let me know if you need further details and if this is a known bug then please
let me know the work arround.

regards
Sunil

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
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


Re: Selective --delete

2014-01-08 Thread Paul Slootman
On Tue 07 Jan 2014, Ashley M. Kirchner wrote:
 On Tue, Jan 7, 2014 at 9:44 AM, Paul Slootman paul+rs...@wurtel.net wrote:
 
  rsync will not touch files that have been --exclude'ed; unless you also
  specify --delete-excluded . So just specify those LIVE-only files in
  your exclude list.
 
 Uh, that hasn't been my experience.  I just ran this and it happily deleted
 the events folder.  I did verify that it gets excluded during the sync
 portion as files that either exist or don't exist on either servers did not
 get synced or deleted, but it did, at the end, delete the entire folder and
 contents.

$ cd /tmp
$ mkdir rsync-src rsync-dst
$ mkdir rsync-dst/events
$ rsync -ai --delete --exclude /events/ rsync-src/ rsync-dst/
.d..t.. ./
$ ls -ld rsync-dst/events
drwxr-xr-x 2 paul paul 4096 Jan  8 17:49 rsync-dst/events

Your experience differs from mine...


Paul
-- 
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


[Bug 10363] rsync fails to transfer data

2014-01-08 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=10363

--- Comment #1 from Paul Slootman p...@debian.org 2014-01-08 16:55:44 UTC ---
The clue is in the error message:

   ksh: rsync:  not found

As you apparently haven't installed rsync in a standard $PATH location (as you
specify the path to rsync locally), how do you expect rsync to be found on the
remote system if you don't tell it where it is? In your case you need to use
the --rsync-path option.

Note also that --rsh=ssh is redundant, that's the default.

Please don't open bug reports if you just need help with rsync usage, use the
mailing list for that.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
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


[Bug 10364] New: send_xattr_request: Assertion `f_out = 0' failed.

2014-01-08 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=10364

   Summary: send_xattr_request: Assertion `f_out = 0' failed.
   Product: rsync
   Version: 3.1.0
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P5
 Component: core
AssignedTo: way...@samba.org
ReportedBy: xose.vazq...@gmail.com
 QAContact: rsync...@samba.org


Fedora 20 x86_64:
rsync-3.1.0-1pre1.fc20.x86_64
kernel-3.12.6-300.fc20.x86_64

# rsync   --exclude='/swapfile' \
  --exclude='/home/*/.gvfs' \
  --exclude='/tmp/*' \
  --exclude='/var/tmp/*' \
  -A -X -a -H -x -v --delete / /mybook/raiz-t61-p.f20/
[...]
var/lib/mlocate/mlocate.db
rsync: xattrs.c:572: send_xattr_request: Assertion `f_out = 0' failed.
rsync: connection unexpectedly closed (35060 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226)
[sender=3.1.0pre1]

# df | grep ext4
/dev/sda1 on / type ext4 (rw,noatime,discard,data=ordered)
/dev/sdb on /mybook type ext4 (rw,noatime,data=ordered)

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
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


[Bug 10364] send_xattr_request: Assertion `f_out = 0' failed.

2014-01-08 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=10364

--- Comment #1 from Xose Vazquez Perez xose.vazq...@gmail.com 2014-01-08 
17:00:12 UTC ---
Fedora bug: http://bugzilla.redhat.com/show_bug.cgi?id=1050081

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
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