rsync log issues

2006-10-26 Thread atstake atstake
I got rsyncd v2.6.6 protocol version 29 running on Suse Enterprise Server 10. Here's what my /etc/rsyncd.conf looks like - max connections = 0 log format = %a %h %o %f %l %b log file = /var/log/rsync/rsync.log [nibbler] path = /backup/nibbler comment = nibbler read only = no use chroot = no

New implementation and Rsync3

2006-10-26 Thread Arjen Nienhuis
Two things: 1) New implementation I started to develop an implementation (not a wrapper) of the rsync protocol. Its purpose is to create a version that can run on windows without cygwin and to create an API for building a GUI. The method to get there is to create a platform independent version

Re: Extended attributes in MacOS X

2006-10-26 Thread Victor Shoup
I'm glad to see rsync may finally be getting proper support for extended attributes on OSX (since apple's own implementation of this is notoriously buggy). I'm wondering, though: does the xattr code avoid copying, or even comparing hashes of, the xattr data itself? Especially on OSX there

DO NOT REPLY [Bug 4168] Random file has vanished when syncing clock with ntpdate/hwclock ?

2006-10-26 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=4168 --- Comment #3 from [EMAIL PROTECTED] 2006-10-26 05:30 MST --- The master server isn't a NFS Server nor a NFS mounted volume. All files are stored on a XFS partition with noatime flag. The rsync use ssh as transport maybe this could

How to keep owner on destination file

2006-10-26 Thread Janning Vygen
Hi, i am using rsync since years and i think it's one of the must-use tools. Great! Today i got my first problem after years of usage and the fantastic manpage doesn't give me any answer, neither the web does. I am starting with two directory foo and bar with a text file test.txt in each of

Re: Extended attributes in MacOS X

2006-10-26 Thread Wesley W. Terpstra
On Oct 26, 2006, at 4:01 AM, Wayne Davison wrote: Great! I've taken your code, tweaked it a little, and then did some bug-fixing of the xattr code in general (I found some buffer problems quickly using valgrind). The end result is now in CVS and in the most recent nightly tar file (see the

Storing ownership / device nodes without root

2006-10-26 Thread Wesley W. Terpstra
Right now, if you want a faithful backup of a system, you must either have root access on the target machine (for chown, mknod, ...), or you have to arrange for fakeroot/pretendroot to wrap itself around the rsync server to catch all these permissions/etc and keep them in a database file.

Re: Extended attributes in MacOS X

2006-10-26 Thread Wayne Davison
On Thu, Oct 26, 2006 at 05:58:45AM -0400, Victor Shoup wrote: I'm wondering, though: does the xattr code avoid copying, or even comparing hashes of, the xattr data itself? Especially on OSX there can be a lot of this stuff, and it would be nice if changes in the xattr's were detected

Re: Extended attributes in MacOS X

2006-10-26 Thread Wayne Davison
On Thu, Oct 26, 2006 at 01:03:38PM +0200, Wesley W. Terpstra wrote: I've built CVS, but had to make this change: flist.c:983: Thanks -- I had neglected to build xattr support w/o acls. Also, these warnings remain: I'll check into those. The problem I anticipate is that MacOSX has a lot more

Re: rsync log issues

2006-10-26 Thread Wayne Davison
On Thu, Oct 26, 2006 at 02:12:47AM -0700, atstake atstake wrote: [remote] path = /backup/remote/ comment = remote read only = no use chroot = no timeout = 3600 transfer logging = yes log file = remote.log The log file directive is not a per-module setting in anything prior to 2.6.9, so

Re: How to keep owner on destination file

2006-10-26 Thread Wayne Davison
On Thu, Oct 26, 2006 at 12:14:11PM +0200, Janning Vygen wrote: I run rsync as root to get the permission to overwrite those files: # rsync bar/ foo/ You'd need to use --inplace to avoid changing the current owner. This has the downside that the file is briefly in-transition between the

Re: Storing ownership / device nodes without root

2006-10-26 Thread Wayne Davison
On Thu, Oct 26, 2006 at 01:25:56PM +0200, Wesley W. Terpstra wrote: I was thinking of options like '--source-fake-root' and '--dest-fake- root'. The client turns '--dest-fake-root' into '--source-fake-root' on the remote rsync process. I think this would be a useful thing to support. I

Log file help needed

2006-10-26 Thread David Cuthill
Hi, We've got a current rsync deployment that's just gone live and will eventually have over 200 clients. The server is running on Windows Server 2003 (no choice :( ) with the cygwin libs and the clients are all Linux - all is well so far. Two questions regarding log files: 1) We need more

Re: Log file help needed

2006-10-26 Thread Wayne Davison
On Thu, Oct 26, 2006 at 05:05:53PM +0100, David Cuthill wrote: log format = %a %n %b log file = C:/rsync/rsyncd.log Don't forget to set: transfer logging = yes ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read:

Re: skipping growing files?

2006-10-26 Thread John P. Speno
On Oct 25, 2006, at 9:44 PM, Olivier Thauvin wrote: Le Friday 20 October 2006 16:26, John P. Speno a écrit : Is there a way to instruct rsync to ignore a file that is currently growing in size? However I can understand mirroring opened files is an issue, but I failed to see this happening

Re: Rsync 2.6.9pre3 released

2006-10-26 Thread Wayne Davison
I've just released rsync 2.6.9pre3. This should be the last version before the final 2.6.9 release, and I don't foresee any significant changes between it and the final release. Please test this out and email the rsync mailing list with any questions, comments, bug reports, etc. Thanks! Here

Re: skipping growing files?

2006-10-26 Thread Wayne Davison
On Thu, Oct 26, 2006 at 02:20:50PM -0400, John P. Speno wrote: Does rsync skip the currently uploading files of other rsyncs by default? Or should I do it via an exclude pattern? You can either add an exclude, which will be easy to do if you don't have any other dot files (e.g.

UID on destination system

2006-10-26 Thread Aldrich, Michael
Can some tell me if there is a way to change the uid of files transferred. Example on source the system appltest (uid 100) owns all the files I want to transfer but on the other system I want applpatch (uid101) to own them? Thanks -- Michael Aldrich Unix

rsync: mkstemp ... No such file or directory mangled dirname

2006-10-26 Thread Markus Schaub
(resent as I got the impression this was not sent out to the members of the list last week, the issue still exists) Hello all I have two Linux boxes. The first one is samba servers for the Windows clients. The second one is backup storage. So every few hours rsnc synchronises the data

Re: UID on destination system

2006-10-26 Thread Wayne Davison
On Thu, Oct 26, 2006 at 03:19:33PM -0400, Aldrich, Michael wrote: Can some tell me if there is a way to change the uid of files transferred? The only way at present is to login as that user on the destination system: rsync -av /src/ [EMAIL PROTECTED]:/dest/ sudo -u applpatch rsync -av [EMAIL

Re: rsync: mkstemp ... No such file or directory mangled dirname

2006-10-26 Thread Wayne Davison
On Thu, Oct 26, 2006 at 11:55:51PM +0200, Markus Schaub wrote: They are Suse Linux 9 Linux max 2.6.11.4-21.7-smp #1 SMP Thu Jun 2 14:23:14 UTC 2005 i686 i686 i386 GNU/Linux rsync version 2.6.3 protocol version 28 I'd suggest upgrading to 2.6.9pre3 and see if the problem persists, since

Re: Storing ownership / device nodes without root

2006-10-26 Thread Wesley W. Terpstra
On Oct 26, 2006, at 5:45 PM, Wayne Davison wrote: I think this would be a useful thing to support. I don't like the options tied in to source/dest, though as that makes it harder to reverse a copy. I think that adding a single option, --fake-super (since we already have --super) that does not

resolving difference in interface between rsync and cp/rcp/scp

2006-10-26 Thread Erick Tryzelaar
I've run into a situation where we'd like to replace rcp with rsync, but we've run into a difference in interface, which is causing us problems. Here's the problem. If we run this in rsync: mkdir tmpdir; cd tmpdir mkdir a; touch a/b rsync -r a b/ ls b a/ But for all the other programs, we

CVS update: rsync/patches

2006-10-26 Thread Wayne Davison
Date: Thu Oct 26 15:14:03 2006 Author: wayned Update of /data/cvs/rsync/patches In directory dp.samba.org:/tmp/cvs-serv8537 Modified Files: xattrs.diff Log Message: A fix that lets xattr support be compiled without ACL support. Revisions: xattrs.diff 1.35 = 1.36

CVS update: rsync/patches

2006-10-26 Thread Wayne Davison
Date: Thu Oct 26 16:34:40 2006 Author: wayned Update of /data/cvs/rsync/patches In directory dp.samba.org:/tmp/cvs-serv29067 Modified Files: xattrs.diff Log Message: Output ssize_t values for rprintf() cast to long for portability. Revisions: xattrs.diff 1.36 = 1.37

CVS update: rsync

2006-10-26 Thread Wayne Davison
Date: Thu Oct 26 17:06:42 2006 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv31071 Modified Files: configure configure.in rsync.1 rsync.yo rsyncd.conf.5 rsyncd.conf.yo Log Message: Preparing for release of 2.6.9pre3 Revisions: configure

CVS update: rsync/packaging/lsb

2006-10-26 Thread Wayne Davison
Date: Thu Oct 26 17:06:42 2006 Author: wayned Update of /data/cvs/rsync/packaging/lsb In directory dp.samba.org:/tmp/cvs-serv31071/packaging/lsb Modified Files: rsync.spec Log Message: Preparing for release of 2.6.9pre3 Revisions: rsync.spec 1.37 = 1.38

CVS update: rsync

2006-10-26 Thread Wayne Davison
Date: Thu Oct 26 17:22:15 2006 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv16789 Modified Files: NEWS Log Message: Mention Mac OS X xattr work. Revisions: NEWS1.428 = 1.429

CVS update: rsync

2006-10-26 Thread Wayne Davison
Date: Thu Oct 26 19:19:23 2006 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv11666 Modified Files: NEWS Log Message: Mention WIFEXITED() change. Revisions: NEWS1.429 = 1.430

CVS update: rsync/patches

2006-10-26 Thread Wayne Davison
Date: Fri Oct 27 03:56:55 2006 Author: wayned Update of /data/cvs/rsync/patches In directory dp.samba.org:/tmp/cvs-serv29512 Modified Files: xattrs.diff Log Message: Added removexattr() functions, which aren't used yet, but will need to be (and are useful for the --fake-root patch).