Bug 7765 - Make "skipping daemon-excluded file" look more like an error
Summary: Make "skipping daemon-excluded file" look more like an error
Status: RESOLVED FIXED
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.9
Hardware: PPC Linux
: P3 minor (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-29 08:21 UTC by nvbolhuis
Modified: 2011-06-18 19:52 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nvbolhuis 2010-10-29 08:21:05 UTC
We use rsync on an embedded powerpc 32bit target.

for one transfer rsync shows:
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7]

but afaik there are no errors, this is what -vvv
shows:

# /mountedisd/bin/rsync -azvvvv --delete /flashfs/var/log/ main2_mmlan::log
opening tcp connection to main2_mmlan port 873
note: iconv_open("ANSI_X3.4-1968", "ANSI_X3.4-1968") succeeded.
sending daemon args: --server -vvvvlogDtprze.isf --delete . log/
(Client) Protocol versions: remote=30, negotiated=30
sending incremental file list
[sender] make_file(.,*,0)
[sender] make_file(guilog,*,2)
[sender] make_file(alilog.0,*,2)
[sender] make_file(messages,*,2)
[sender] make_file(messages.0,*,2)
[sender] make_file(alilog,*,2)
[sender] make_file(guilog.0,*,2)
[sender] flist start=1, used=7, low=0, high=6
[sender] i=1 /flashfs/var/log ./ mode=040755 len=576 uid=0 gid=0 flags=5
[sender] i=2 /flashfs/var/log alilog mode=0100644 len=36864 uid=0 gid=0 flags=0
[sender] i=3 /flashfs/var/log alilog.0 mode=0100644 len=0 uid=0 gid=0 flags=0
[sender] i=4 /flashfs/var/log guilog mode=0100666 len=5352 uid=0 gid=0 flags=0
[sender] i=5 /flashfs/var/log guilog.0 mode=0100644 len=0 uid=0 gid=0 flags=0
[sender] i=6 /flashfs/var/log messages mode=0100644 len=193078 uid=0 gid=0 flags=0
[sender] i=7 /flashfs/var/log messages.0 mode=0100644 len=230549 uid=0 gid=0 flags=0
send_file_list done
file list sent
send_files starting
skipping daemon-excluded file "messages"
skipping daemon-excluded file "messages.0"
send_files phase=1
send_files phase=2
send files finished
total: matches=0  hash_hits=0  false_alarms=0 data=0

sent 127 bytes  received 8 bytes  270.00 bytes/sec
total size is 465843  speedup is 3450.69
[sender] _exit_cleanup(code=0, file=main.c, line=1042): entered
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7]
[sender] _exit_cleanup(code=0, file=main.c, line=1042): about to call exit(23)


If it's needed I can enable any debug/trace option, just tell me.
Comment 1 Matt McCutchen 2010-10-29 08:36:08 UTC
(In reply to comment #0)
> skipping daemon-excluded file "messages"
> skipping daemon-excluded file "messages.0"

Here's your error.  The client wanted to push those files, but the daemon refused to accept them.  Granted, the wording of the message could be improved to make it look more like an error.
Comment 2 nvbolhuis 2010-10-29 08:40:05 UTC
aha!
I tried many things to avoid the error, but forgot to try
the rsync option --exclude messages*

thanks for the quick response!

and btw. rsync is great (we used to do this with
busybox tftp)
Comment 3 Wayne Davison 2011-06-18 19:52:43 UTC
Errors will be more error-like in 3.0.9.