Can rsync update files in place?

2002-04-16 Thread Paul Slootman
hen updates those blocks in the second file that differ... won't work over a network though :-) Thanks, Paul Slootman -- -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Re: Can rsync update files in place?

2002-04-16 Thread Paul Slootman
On Tue 16 Apr 2002, Martin Pool wrote: > On 16 Apr 2002, Paul Slootman <[EMAIL PROTECTED]> wrote: > > > Is there a way to get rsync to not create a new file while transferring > > and then rename it, but to instead update the existing file in place, > > i.e. simpl

Re: Can rsync update files in place?

2002-04-17 Thread Paul Slootman
thon (and heavily tainted with C and Perl indoctrination) I wonder how easy it'll be to get familiar with it. I'll have a look sometime. Thanks, Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www

Re: Concern: rsync failing to find some attributes in a file transfer?

2014-07-26 Thread Paul Slootman
On Sat 26 Jul 2014, Kevin Korb wrote: > > > I just moved my home partition to a new harddisk w/more space. > > Home Partition? Are we in 1995? Why would you have a partition > mounted anywhere other than /boot ? Didn't we just have this discussion already recently? There are valid reasons to h

Re: Backup scripts - recycling old backup directories (Kevin Korb)

2014-09-15 Thread Paul Slootman
On Mon 15 Sep 2014, Kevin Korb wrote: > > I would never operate in a manner that only has 5-6 days of old > backups. The backups that I am deleting are more than a year old. I keep the Sunday backups for a month, the 1st of the month backups for a year. The other daily backups are expired after

Re: Rsync keeps copying everything to the server

2014-10-04 Thread Paul Slootman
On Thu 02 Oct 2014, Juan Carlos Valle Sandoval wrote: > I have changed the script to: > > rsync.exe -ai --size-only --progress > --log-file=/cygdrive/v/notes/archive/RSyncLogFile.txt > /cygdrive/d/%username%/notes/archive /cygdrive/v/notes/ You could still try the other suggestion of --modify-wi

Re: Rsync keeps copying everything to the server

2014-10-04 Thread Paul Slootman
On Sat 04 Oct 2014, Paul Slootman wrote: > > Only the modified file was backed up. However the whole file was copied, > > not just the new things. :-( > > Why do you say this? Oops, didn't read Kevin's followup and didn't notice the rsync over two "local&qu

Re: Bug-report:rsync may hung if time jumps backwards

2014-12-03 Thread Paul Slootman
On Wed 03 Dec 2014, yhu2 wrote: > On 11/28/2014 09:41 AM, yhu2 wrote: > > > >thanks your reply, could you please send off official fix? > > or could you please tell me which release will include this patch. any > comments would be appreciated! The git repository is browseable, the patch for this

Re: Differing behaviour on consecutive runs

2014-12-17 Thread Paul Slootman
On Wed 17 Dec 2014, David Jennings wrote: > Hi all. I have a strange issue with sync'ing from a USB-attached ext4 file > system on one machine, to a USB-attached ext3 file system on another. > The sync works fine (a few thousand files). If I run it again straight away, > or a few minutes later, r

Re: rsync splits filenames, creates special characters where none are, weird permissions

2015-01-07 Thread Paul Slootman
On Wed 07 Jan 2015, Lenz Weber wrote: > Where the local destination /data/snapshots is an NFS volume mounted with the > flags > (rw,noatime,addr=192.168.1.XX) > and the source is a symlink to a zfs snapshot - that looks like this: > /var/backups/mail -> > /tank/mail/.zfs/snapshot/zfs-aut

Re: rsync to multiple destinations

2015-01-29 Thread Paul Slootman
On Thu 29 Jan 2015, Johan Kröckel wrote: > I am looking for a way to start one rsync command with multiple destinations. > My use case: > I have one (slow) usb drive which should be synced to two other > harddrives. It would be great if rsync could read one file which is to > be copied to both har

Re: rsync slow exclude folder

2015-02-28 Thread Paul Slootman
On Sat 28 Feb 2015, ? ?? wrote: > > rsync version 3.0.9 protocol version 30 > > rsync -a --exclude="tmp/*" /home/ /backup/home/ > > It is necessary that the contents of the folder tmp copy, but the folder tmp > in > backup was created. > > If the folder /home/tmp/ is many millions of

Re: rsync 3.0.9 segmentation fault

2015-04-07 Thread Paul Slootman
On Tue 07 Apr 2015, Aron Rotteveel wrote: > Anyone have any other ideas I could try to debug this issue? :) You could try using the latest version of rsync? 3.1.1 was released some time ago. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or cha

Re: Two same rsync commands give different results on two debian mirrors.

2015-04-14 Thread Paul Slootman
On Tue 14 Apr 2015, Hongyi Zhao wrote: > > See the following commands: > > ___ > > $ rsync -rmnv -f +_README -f -_* ftp.is.co.za::mirror/ftp.debian.org/ > ftp.us.debian.org/debian > > [snipped] > > receiving file list ... done > > sent 23 bytes received 9 bytes 1.42

Re: Two same rsync commands give different results on two debian mirrors.

2015-04-14 Thread Paul Slootman
On Tue 14 Apr 2015, Hongyi Zhao wrote: > On Tue, 14 Apr 2015 09:32:10 +0200, Paul Slootman wrote: > > > On Tue 14 Apr 2015, Hongyi Zhao wrote: > >> > >> See the following commands: > >> > >> ___ > >> &

Re: The complicated filter rule used by me worked for one Debian mirror and not for the other.

2015-04-14 Thread Paul Slootman
On Tue 14 Apr 2015, Hongyi Zhao wrote: > I write a complex filter rules as follows: > > rsync -amvHPRSB131072 -n --delete --delete-excluded \ > -f +_dists/jessie/**binary-all/Packages.gz \ > -f +_dists/jessie/Release* \ > -f +_dists/jessie/**binary-amd64/Packages.gz \ > -f +_dists/jessie/**instal

Re: Rsync Failed & /proc/kcore 128 TiB & NTFS HDD Makes Scary sounds even when not mounted

2015-04-30 Thread Paul Slootman
On Thu 30 Apr 2015, Kezhawe wrote: > I can still read&write on the external hdd and on my laptop (which I > have my gentoo there) I can't do anything on / because its filled up > with /proc/kcore after "rsync failed" You need to ignore /proc/kcore as (a) that's a virtual file that doesn't reside

Re: rsync --link-dest and --files-from lead by a "change list" from some file system audit tool (Was: Re: cut-off time for rsync ?)

2015-07-14 Thread Paul Slootman
On Mon 13 Jul 2015, Andrew Gideon wrote: > > On the other hand, I do confess that I am sometimes miffed at the waste > involved in a small change to a very large file. Rsync is smart about > moving minimal data, but it still stores an entire new copy of the file. > > What's needed is a file sy

Re: What is the default compression level for local synchronisation?

2015-10-05 Thread Paul Slootman
On Mon 05 Oct 2015, Charles wrote: > > The question I want answering is "Does rsync need telling not to > compress when SOURCE and DEST are both local or does it automatically > choose a sane compression setting?" If you don't ask rsync to compress, it won't compress... That's different from tell

minor patch for manpage

2015-12-30 Thread Paul Slootman
The description for --compress-level=NUM does not give any indication what values are permitted for NUM. Paul --- ./rsync.yo.orig 2015-12-30 11:47:24.180646652 +0100 +++ ./rsync.yo 2015-12-30 11:47:27.477198899 +0100 @@ -1907,7 +1907,9 @@ that will not be compressed. dit(bf(--compress-le

strange behaviour when using (conflicting) options -q --progress

2015-12-30 Thread Paul Slootman
-q seems to override -v completely, but when combined with --progress, a single newline is output when there are no updates transferred; but if a file *was* updated nothing at all is output. It seems that there might be some short-circuited code when nothing is trasferred, but that a check for qui

Re: strange behaviour when using (conflicting) options -q --progress

2015-12-30 Thread Paul Slootman
On Wed 30 Dec 2015, Paul Slootman wrote: > -q seems to override -v completely, but when combined with --progress, > a single newline is output when there are no updates transferred; but if > a file *was* updated nothing at all is output. > > It seems that there might be some short

Re: [PATCH] Consider nanoseconds when quick-checking for unchanged files

2016-01-20 Thread Paul Slootman
On Wed 20 Jan 2016, Andrey Gursky wrote: > > I was just about to implement the same, since nanoseconds are taken > into account when transferring, thus making it obvious not to ignore Really? I thought the protocol only transmits seconds. Paul -- Please use reply-all for most replies to avoid

Re: [PATCH] Consider nanoseconds when quick-checking for unchanged files

2016-01-20 Thread Paul Slootman
On Wed 20 Jan 2016, Wayne Davison wrote: > equal. One possible improvement would be to skip the nanosecond check if > the destination file has a nanosecond value of 0. That could possibly be > improved if we figure out if a particular device ID supports nanoseconds > somehow. I have a potential

Re: Memory consumption for rsync -axv --delete

2016-03-25 Thread Paul Slootman
On Fri 25 Mar 2016, John Long wrote: > > I have been using rsync for many years and never had any kind of problem. > Lately I am running out of RAM trying to do an incremental backup to a box > that only has 2G of RAM. The entire directory structure I'm mirroring is > about 200G of files. A minori

Re: --partial not working?

2016-06-28 Thread Paul Slootman
On Fri 24 Jun 2016, Kevin Korb wrote: > Again, --partial only means don't delete the incomplete file if rsync is > aborted. Normally rsync will delete the incomplete file so you don't > have bogus files laying around. > > When you rsync to or from a network mount to rsync that is a local copy. >

Re: RFE to allow dry-run against read only target

2016-07-08 Thread Paul Slootman
On Fri 01 Jul 2016, Stuart Anderson wrote: > I would like to request that rsync -n to an rsync server target that is read > only be supported rather than generating the following error, > ERROR: module is read only > > The motivation is to allow the generation of a list of files against an rsync

Re: rsync: connection unexpectedly closed

2016-10-11 Thread Paul Slootman
On Mon 10 Oct 2016, Kip Warner wrote: > > The server the data is being uploaded to with the strace running on it > has rsync version: > > $ rsync --version > rsync  version 3.0.9  protocol version 30 > > The client reported: > > $ rsync --version > rsync  version 3.1.1  protocol

Re: rsync: connection unexpectedly closed

2016-10-12 Thread Paul Slootman
On Wed 12 Oct 2016, Kip Warner wrote: > > I think the key insight was in the strace log which showed the select() > call was timed out. If I knew what type of file descriptor it was being > fed, I might have a clue. It might have been a socket or something on > disk. I don't know. You can use lso

Re: rsync: connection unexpectedly closed

2016-10-17 Thread Paul Slootman
Try the transfer without -z. 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

Re: -e escape rule

2016-10-20 Thread Paul Slootman
On Thu 20 Oct 2016, Samuel Williams wrote: > > I'm using Ruby's Shellwords module, which generates a string from an > array, suitable for shell evaluation. > > Ruby's implementation prefers escaping whitespace with a backslash > rather than quotes. However, this appears to cause some kind of issu

Re: error code 255 - not mentioned in manpage?

2016-10-25 Thread Paul Slootman
On Tue 25 Oct 2016, devz...@web.de wrote: > > is there a reason why error code 255 is not mentioned in the manpage > and wouldn`t it make sense to add "255 Unexplained Error" there > for completeness ? It wouldn't be unexplained then anymore, would it? :-) Paul -- Please use reply-all f

Re: O_NOATIME ?

2016-10-26 Thread Paul Slootman
On Wed 26 Oct 2016, devz...@web.de wrote: > > since we are using rsync for backing up millions of files in a virtual > environment, and most of the virtual machines run on SSD cached storage, i`d > be curious how that negatively impacts lifetime of the SSD`s when we do rsync > run every night f

Re: -e escape rule

2016-10-29 Thread Paul Slootman
On Sat 29 Oct 2016, Samuel Williams wrote: > I'm not proposing some additional characters to split on, but quite > the opposite, to handle the backslash escaped spaces correctly and NOT > split. Rest assured, there is no bug with the original escaping. For > your edification: > > $ echo \I\'\m\ \

Re: make "rsync -N" == "rsync --numeric-ids" ?

2016-11-18 Thread Paul Slootman
On Fri 18 Nov 2016, Harald Dunkel wrote: > > "--numeric-ids" is a lot of text and easy to be forgotten or > misspelled. > > Since it is a highly important option for making backups of > remote systems via rsync I wonder if "-N" could be introduced > as an abbreviation for "--numeric-ids"? "-N" is

Re: Ownership and permissions when syncing directory contents

2017-01-20 Thread Paul Slootman
On Fri 20 Jan 2017, John Lane wrote: > > When you rsync a directory, say `$rsync mydir/ ...` with the trailing > slash, the destination directory is changed to the ownership, > permissions and timestamp of `mydir`. > $ rsync -a a/ b/ c > $ ls -ld c > drwxr-xr-x 2 john users 4096 Jun 1

Re: How do you exclude a directory that is a symlink?

2017-03-03 Thread Paul Slootman
On Fri 03 Mar 2017, Steve Dondley wrote: > I'm trying to rsync a directory from a server to my local machine that has > a symbolic link to a directory I don't want to download. I have an > "exclude" option to exclude the symlink which works fine. However, if I add > a --copy-links option to the co

Re: How do you exclude a directory that is a symlink?

2017-03-03 Thread Paul Slootman
On Fri 03 Mar 2017, Steve Dondley wrote: > The directory I'm trying to copy from is: /home/blah/dir > > The symlink is /home/blah/dir/unwanted_symlinked_dir > > On Fri, Mar 3, 2017 at 8:10 AM, Paul Slootman wrote: > > > You don't say explicitly, is t

Re: File name too long

2003-03-10 Thread Paul Slootman
has a 255-char filename. Only thing that may be a problem is the NAME_MAX thing, but that's a POSIX thing, so should be relatively safe (famous last words). Paul Slootman diff -ru orig/rsync-2.5.6/receiver.c rsync-2.5.6/receiver.c --- orig/rsync-2.5.6/receiver.c 2003-01-21 00:32:17.0

fudging filename characters

2003-03-10 Thread Paul Slootman
tions? What should the option be called? Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Re: File name too long

2003-03-11 Thread Paul Slootman
as possible. Copying up to 4kB of data around (MAXPATHLEN) when that can be avoided makes me feel bad... It's relatively localized in this case, so it shouldn't be too big a problem. Besides, the original code also did it :-) Paul Slootman -- To unsubscribe or change options: http://l

Re: BUG: logging on the wrong side with 2.5.6

2003-03-11 Thread Paul Slootman
don't see how the logging about what's being deleted could be changed in this case. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Re: File name too long

2003-03-11 Thread Paul Slootman
On Tue 11 Mar 2003, jw schultz wrote: > On Tue, Mar 11, 2003 at 09:16:24AM +0100, Paul Slootman wrote: > > > > > > The one thing that bothers me, also present in the current > > > code is the bit of changing and then restoring fname. That > > > complic

Re: File name too long

2003-03-11 Thread Paul Slootman
"./", but then clean_fname would end up shifting that off again, thus wasting resources. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Re: File name too long

2003-03-11 Thread Paul Slootman
; Don't. I think it messes up the filenames if they actually > are that long. The patch from the debian developer should > be safer. I'll probably make a debian package available soon. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailm

Re: File name too long

2003-03-11 Thread Paul Slootman
is no tmpdir and no directory in fname! This is not good. How about: if (length) fnametmp[length++] = '/'; fnametmp[length++] = '.'; > > maxname = MIN(MAXPATHLEN - 8 - length, NAME_MAX - 9); Shouldn't this be: maxname =

Re: File name too long

2003-03-11 Thread Paul Slootman
1_i386.deb The dependencies are libc6 (>= 2.3.1-1), libpopt0 (>= 1.6.4). If those are too new for you, let me know and I'll try to build a version that is less demanding. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before pos

Re: File name too long

2003-03-11 Thread Paul Slootman
On Tue 11 Mar 2003, Luc Santeramo wrote: > maybe you can send me receiver.c ? Done. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Re: File name too long

2003-03-11 Thread Paul Slootman
On Tue 11 Mar 2003, Luc Santeramo wrote: > A 16:19 11/03/2003 +0100, Paul Slootman a écrit : > >On Tue 11 Mar 2003, Luc Santeramo wrote: > > > >> maybe you can send me receiver.c ? > > > >Done. > > ok I got it > but maybe I should wait for you and JW

Re: File name too long

2003-03-12 Thread Paul Slootman
xname < 1) { rprintf(FERROR, "temporary filename too long: %s\n", fname); return 0; } strlcpy(fnametmp + length, f, maxname); strcat(fnametmp + length, ".XX"); return 1; } The extra parentheses around t

Re: File name too long

2003-03-12 Thread Paul Slootman
if (fd2 == -1) { > - rprintf(FERROR,"mkstemp %s failed: > %s\n",fnametmp,strerror(errno)); > + rprintf(FERROR,"mkstemp s %s failed: %s\n", fname, > strerror(errno)); What's the " s " for? Paul Slootma

patch against manpage

2003-03-12 Thread Paul Slootman
This is a patch against the manpage to clarify what the --perm option does and does not do. Paul Slootman diff -ru orig/rsync-2.5.6/rsync.1 rsync-2.5.6/rsync.1 --- orig/rsync-2.5.6/rsync.12003-01-28 04:11:57.0 +0100 +++ rsync-2.5.6/rsync.1 2003-03-07 12:18:19.0 +0100

patch: typo's and gcc warnings

2003-03-12 Thread Paul Slootman
Two patches: one to correct the spelling of permissions (in comments, but such typos disturb me as well), and one to cast inode and dev to unsigned long before comparing, to prevent gcc giving a warning "comparison between signed and unsigned". Paul Slootman diff -ru orig/rsync-2.5.6/g

patch: interrupting ssh when it's asking for a password turns offecho in the shell

2003-03-12 Thread Paul Slootman
called, I couldn't really determine how to fix this problem cleanly. I came up with a small delay before the wait on child processes, and this seems to work fine for me. AFAICS this patch shouldn't cause any trouble on other platforms in any way. Paul Slootman --- ../../orig/rsync-

Re: patch against manpage

2003-03-12 Thread Paul Slootman
On Wed 12 Mar 2003, jw schultz wrote: > On Wed, Mar 12, 2003 at 01:27:32PM +0100, Paul Slootman wrote: > > This is a patch against the manpage to clarify what the --perm option > > does and does not do. > > If we are going to embellish this description it would be > good t

Re: patch: typo's and gcc warnings

2003-03-12 Thread Paul Slootman
d a patch for Makefile.in so that header > changes will force rebuilds. This one is clearly for > maintainer convenience. Good one. Who will commit these to CVS? Will that happen automagically after posting here, of does someone need prodding? :-) Paul Slootman -- To unsu

Re: Modified --files-from patch

2003-03-24 Thread Paul Slootman
g on rsync not to change the order of the files when transferring is a rather silly thing to do, but it would be nice if it could be done anyway :-) Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/

Re: Rsyncing Problem with - character!

2003-06-03 Thread Paul Slootman
On Fri 30 May 2003, Tom Freeman wrote: > > But no matter how you put it, I can't seem to escape out the destination > file name. So this doesn't work Why bother, if in every case the source filename is the same as the destination filename? At least, that's the case in a

Re: Rsync not requiring a server

2003-06-03 Thread Paul Slootman
r for this... Can anyone give me a short > answer? Explain what you mean that rsync does not require a server for this... Of course it does. Perhaps you don't start a server explicitly, in which case rsync starts one for you. Paul Slootman -- To unsubscribe or change options: http:

Re: [RFC] report options

2003-06-03 Thread Paul Slootman
like the idea, but I didn't thing just sending a message "I like the idea" was appropriate... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Update included popt to version 1.7

2003-05-15 Thread Paul Slootman
d. In fact, Debian's rsync also links to the "external" popt library, here's the relevant part of the configure output: checking for poptGetContext in -lpopt... yes checking whether to use included libpopt... no So dropping it from the rsync source tree might not be a

Re: rsync silently changes special files to regular ones!

2003-09-16 Thread Paul Slootman
m the manpage: You can also use rsync in local-only mode, where both the source and destination don´t have a ´:´ in the name. In this case it behaves like an improved copy command. For me it's quite understandable that people then get the idea that "rsync(1) is a

rsync --daemon and logfile that can't be created

2003-11-17 Thread Paul Slootman
ogfile = fopen(logfname, "a"); umask(old_umask); +if (!logfile) { +char buf[512]; +sprintf(buf, "logfile %.400s could not be opened, errno %d", logfname, errno); + logfname = NULL; +

Re: IPv6 literal addresses on command line

2003-11-18 Thread Paul Slootman
(To be restarted) (hostname and IPv6 address mangled a bit to protect the innocent.) > unable to find the host and appeared, unlike BSD, to ignore the /etc/hosts > file. I don't have any IPv6 addresses in my hosts file... Paul Slootman -- To unsubscribe or change options: http://lis

Re: IPv6 literal addresses on command line

2003-11-27 Thread Paul Slootman
king ipv6 stack type... linux-glibc This implies to me that the standard glibc supports IPv6. I have no libinet6 or such on my system. rsync is linked with -lresolv, if that helps any... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: IPv6 literal addresses on command line

2003-11-27 Thread Paul Slootman
se Debian (even on their Cobalt or Alpha), but I'm biased :-) Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync'd destination much larger than source

2003-11-30 Thread Paul Slootman
that I did use Perhaps there are sparse files on the source? Try using --sparse as well. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync security advisory

2003-12-04 Thread Paul Slootman
eeding to upgrade older rsync's as well, or only those that are 2.5.6... As Debian provides security patches for the stable release (which contains rsync 2.5.5), I'm wondering whether an update for that is necessary. Paul Slootman -- To unsubscribe or change options: http://lists.samba.o

Re: rsync security advisory

2003-12-04 Thread Paul Slootman
.nl/rsync_2.5.7-1_i386.deb (md5sum 985e720f7502c2df9685a2202d36692d) and install that with dpkg -i taking into account its dependencies: libc6 (>= 2.3.2.ds1-4), libpopt0 (>= 1.7) Paul Slootman signature.asc Description: Digital signature -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: [SECURITY] [DSA 404-1] New rsync packages fix unauthorised remote code execution

2003-12-04 Thread Paul Slootman
The following announcement was made by the Debian security team: Paul Slootman Date: Thu, 4 Dec 2003 17:09:35 +0100 (CET) To: Debian Security Announcements <[EMAIL PROTECTED]> From: Martin Schulze <[EMAIL PROTECTED]> Subject: [SECURITY] [DSA 404-1] New rsync packages fix unautho

Re: rsync --daemon fails on systems with nfs-kernel-server

2003-12-05 Thread Paul Slootman
ow it's using 834. On another it's using 1009. So it's entirely possible that on your system you will find it running on rsync's port... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Using Rsync With SSH?

2003-12-05 Thread Paul Slootman
telling me to setup Rsync with such and such > and SSH with no pasword will not get me there. lol Well, first step is getting ssh to log you into the other system without needing a password. As that's 100% specific to ssh, I suggest you go bother some ssh list about it :-) Paul Slo

Re: Prepping for a new release (2.5.8? 2.6.0?)

2003-12-15 Thread Paul Slootman
y or so, which will allow those adverse to CVS to help out in > the pre-release testing. I'll make debian packages of those... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: default --rsh

2003-12-16 Thread Paul Slootman
. The patch is below. I'd like to see this go into 2.6.0 if possible. Paul Slootman --- rsync-2.5.7.orig/cleanup.c +++ rsync-2.5.7/cleanup.c @@ -104,6 +104,16 @@ if (cleanup_child_pid != -1) { int status; +/* if the user hits ctrl-C while ssh is

Re: tty screwed up on ctrl-c

2003-12-17 Thread Paul Slootman
x27;t really cross my mind. My fear is that the reaction will be that we shouldn't be sending SIGUSR1 in cases where we don't really know what that will do... It's far more usual to trap SIGINT than SIGUSR1. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: preview release: 2.6.0pre1

2003-12-19 Thread Paul Slootman
safest, as although I can't really see how sum->s2length could contain more than 32 bits, I guess it was declared as size_t for some reason... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: preview release: 2.6.0pre1

2003-12-19 Thread Paul Slootman
//wurtel.op.het.net/rsync_2.5.99pre1-1.dsc http://wurtel.op.het.net/rsync_2.5.99pre1-1.diff.gz http://wurtel.op.het.net/rsync_2.5.99pre1.orig.tar.gz The last is identical to: > http://samba.org/ftp/rsync/preview/rsync-2.6.0pre1.tar.gz It's just been renamed to comply with the versioning thin

Re: Status of upcoming 2.6.0 release

2003-12-29 Thread Paul Slootman
I just noticed this in the rsyncd.conf manpage: .SH "VERSION" This man page is current for version 2\&.0 of rsync I'm sure that this can be updated to 2.6.0 :-) Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before

Re: Rsync problem / Special characters

2004-01-23 Thread Paul Slootman
re) detail is needed here. What versions rsync, what operating systems, etc. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: File rename detection?

2004-01-29 Thread Paul Slootman
logrotate so that it can use a MMDD extension instead of the 0, 1, 2, ... . That would help :-) Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: ssh and rsyncd.conf

2004-02-25 Thread Paul Slootman
ssh -L8730:127.0.0.1:873 host Then, (separately) use rsync like so: rsync --port=8730 filename localhost::module_name and after the transfer stop the ssh session. but that's a rather roundabout method... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: --exclude and --delete

2004-02-25 Thread Paul Slootman
e exclude need to be "/profile", as the exclude patterns starting with / are anchored at the top of the source tree, ie. /home/user ? Or am I confused about the exclude patterns again :) Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before

Re: error writing 4 unbuffered bytes - exiting: Broken pipe

2004-03-10 Thread Paul Slootman
e's "lots of useless information" to scroll through, then the quoter hasn't removed the irrevelant part of the post he's replying to. And that's caused by the lazy habit of quoting the complete post and then top-posting... Paul Slootman -- To unsubscribe or change opti

incorrect exclude list with -C

2004-03-24 Thread Paul Slootman
re file is apparently used to exclude file outside the directory where the .cvsignore file is found. Any comments? Paul Slootman On Wed 24 Mar 2004, Frank Mehnert wrote: > Subject: Bug#239791: rsync: incorrect exclude list with -C > From: Frank Mehnert <[EMAIL PROTECTED]> > Date:

Re: incorrect exclude list with -C

2004-03-24 Thread Paul Slootman
On Wed 24 Mar 2004, Wayne Davison wrote: > On Wed, Mar 24, 2004 at 01:12:25PM +0100, Paul Slootman wrote: > > Here the patterns of a .cvsignore file is apparently used to exclude > > file outside the directory where the .cvsignore file is found. > Thi has been fixed in CVS si

Re: rsync 2.6.1pre-1 released

2004-03-25 Thread Paul Slootman
available at http://wurtel.op.het.net/rsync/ (sorry, not apt-gettable). The strange version number is to prevent upgrade problems when 2.6.1 comes out. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: --delete with fantasy

2004-03-30 Thread Paul Slootman
hence, in both directories files are added, changed and deleted. I am Have a look at unison, it's designed for this sort of thing. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: deadlock in rsync protocol on AUTHREQD

2004-03-31 Thread Paul Slootman
the code to > use a default username of "guest" if neither USER nor LOGNAME is defined > in the environment. Might "nobody" be a better default perhaps? Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: restrict access for rsync

2004-04-22 Thread Paul Slootman
running as a daemon, or are you using ssh? If rsync is running as a daemon, put this at the top of the rsyncd.conf file: hosts allow = 10.42.20.43/32 If you're using ssh, then it's more difficult, depending on whether ssh connections are to be permitted between all systems or not.

Re: Error?

2004-04-22 Thread Paul Slootman
nc processess (an extra one > seems to be run every minute). Perhaps a * where a 0 should be in the crontab minutes column? Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync problems from flist.c change

2004-04-23 Thread Paul Slootman
e's no real action that I have to take, with every new upstream release I check the Debian patches anyway (they get smaller everytime :-) If a new prerelease is made with this, I'll upload that to the experimental archives (like I did with the previous prereleases). Paul Slootman -- To

Re: rsync'ing large files

2004-04-23 Thread Paul Slootman
rt. This could be quite > useful. I don't think that the overhead of one sqrt() per file will make much difference either way... Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: [BUG] rsync 2.6.2

2004-05-10 Thread Paul Slootman
On Sun 09 May 2004, Wayne Davison wrote: > (The patch you cited eliminates the combo IPv6/IPv4 > socket, which is the opposite of what I want.) The patch only does that if the system can't support it anyway... thus effectively forcing the -4 option. Paul Slootman -- To unsubscrib

Re: @ERROR: auth failed on module -- PROBLEM SOLVED!

2004-05-08 Thread Paul Slootman
On Fri 07 May 2004, Jonathan Johnson wrote: > > I found that a newline is required after the line containing the > password, at least in rsync 2.6.2. Without the newline character, I Try the patch below. Paul Slootman --- authenticate.c.orig 2004-04-01 20:05:40.00

Re: rsync 2.6.1 released (including security note)

2004-04-27 Thread Paul Slootman
e seems to be MIA (404). Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: [PATCH] --timelimit and --stopat

2004-04-27 Thread Paul Slootman
than a hunderd years from now :-) Basically though, I agree. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Error message when trying to sync

2004-04-30 Thread Paul Slootman
uot;telnet 192.168.100.25 873" give? Also a "connection refused"? Then it's not an rsync problem per se. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync 2.6.1 released (including security note)

2004-05-02 Thread Paul Slootman
On Sat 01 May 2004, Albert Chin wrote: > > Anyone ever come up with a patch for the chroot fix against 2.5? The patch below should do it. Note that line numbers may be off. Paul Slootman --- rsync-2.5.5-orig/options.c 2002-03-19 21:16:42.0 +0100 +++ rsync-2.5.5/options.c

Re: rsync 2.6.2 --daemon Problem

2004-05-05 Thread Paul Slootman
to fail on your system, because no IPV6 is available perhaps? (It works on mine...) If that's the root cause of the problem, skipping the IPV6 socket when that call fails should suffice. Try the followng patch. Paul Slootman --- socket.c.orig 2004-04-14 18:51:48.0 +0200 +++

Re: rsync 2.6.2 --daemon Problem

2004-05-05 Thread Paul Slootman
to patch older kernels to fix the security problems (like Debian does). However, that's not really an issue for me, as this version of rsync will only go into the new distribution, not to the current stable one (which has the old kernels). > So if there's a but, don't hide it

  1   2   3   4   5   6   7   8   >