Displaying 20 results from an estimated 300 matches similar to: "rsync-2.5.4:backup.c possible bug"
2002 Apr 02
2
Handling of backup files - two new features proposed
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear list members,
there are two new rsync-features I made up and would like to discuss with you.
If you think these new features might be useful for the whole rsync-community,
please give me a note and I'll send you the patches (or post them here).
1.) Setting owner and/or group of backup files.
In our servers I'm using rsync to backup
2002 Apr 23
5
Dynamic address problem
Hi All,
We have clients which dynamic IPs which we have setup with
<host>.dyndns.org addresses. We have added these to the rsync.conf
'hosts allow=" but they are being denied access.. Is there anyway
around this?
Matt
2002 May 10
1
Using rsync to sync up password file
Is it possible to use rsync to synchronize the /etc/passwd, /etc/shadow,
/etc/shadow- files under linux?
Lui Bove
AIM Funds Management Inc.
5140 Yonge St.
Toronto, Ont. M2N 6X7
Tel: 416-228-3664
Fax: 416-590-7742
Email: Lui_Bove@aimfunds.ca
-------------- next part --------------
HTML attachment scrubbed and removed
2002 Apr 17
6
Non-determinism
Is anyone else concerned about the fact that rsync doesn't guarantee
to produce identical file copies on the the target machine?
Don't get me wrong in sounding critical because I think that rsync is
a great example of how software should be written. (I often make the
observation, as I learn more about Linux, and inevitably find myself
comparing open source applications to Microsoft
2002 Dec 09
1
when using --backup-dir: why not make_bak_dir() . . .
here (in keep_backup())?
--- backup.c.orig Mon Dec 9 17:02:36 2002
+++ backup.c Mon Dec 9 17:03:50 2002
@@ -273,6 +273,7 @@
/* move to keep tree if a file */
if(!kept) {
+ make_bak_dir(fname,backup_dir);
if (!robust_move (fname, keep_name))
rprintf(FERROR, "keep_backup failed %s -> %s : %s\n",
fname, keep_name, strerror(errno));
this reconstructs parent
2002 Jun 21
1
small security-related rsync extension
Included below is a shar archive containing two patches that together:
1) make backup files get their setuid and setgid bits stripped by
default
2) add a "-s" option that allows backup files to continue to have
these privileges
This means that if you update a collection of binaries with rsync, and
one or more of them has a local-root security problem, the backup
file(s) created when
2003 Sep 05
1
new option suggestion '--backup-only'
Hi,
How about adding now option '--backup-only' that means making backups
only and don't change any destination files?
(I posted similar patch a month ago, but the patch was made for
nightly snapshot of 20020808, which was tooo old! Laugh at me...)
I want to use rsync with LVM snapshot to make incremental backups like
below:
1) Make LVM snapshot of file system and mount it.
2003 Aug 26
1
Tired of "filename too long"? Me too...
I assume there's some good reason for the way filenames are faithfully
maintained as temp files, but it's a little frustrating when you get
"filename too long" messages as a result... with no indication of what
file it was it's complaining about.
The obvious fix is to simply generate a tmpname and have done with it.
Possibly safer, truncate the filename, in case there's
2002 Jun 07
0
problem related to filename length
hi, all.
I had an problem with rsync-2.5.4/5 related to filename length.
On Linux box (kernel-2.4.18 + ext3 fs), filename length limits to
255byte, but rsync can't handle fn > (255 -9) byte. So I had an instant
hack to avoid this problem. Patch file attatched works fine in my case,
but I'm not sure that it is correct or not. Any suggestions ?
Please cc me, I'm not on this
2004 Feb 06
4
memory reduction
As those of you who watch CVS will be aware Wayne has been
making progress in reducing memory requirements of rsync.
Much of what he has done has been the product of discussions
between he and myself that started a month ago with John Van
Essen.
Most recently Wayne has changed how the file_struct and its
associated data are allocated, eliminating the string areas.
Most of these changes have been
2005 Jan 05
1
rsync filename heuristics
On 5 Jan 2005, Rusty Russell <rusty@rustcorp.com.au> wrote:
> On Tue, 2005-01-04 at 18:24 +0100, Robert Lemmen wrote:
> > hi rusty,
> >
> > i read on some webpage about rsync and debian that you wrote a patch to
> > rsync that let's it uses heuristics when deciding which local file to
> > use. could you tell me whether this is planned to be included in
2003 Feb 14
0
patch for krb4 authentization in openssh-3.5p1 on RH 8.0
Dear developers,
recently I tried to compile kerberos4 authentization support in
openssh-3.5p1 on Redhat 8.0, unfortunately autentization against
kerberos server in a kerberos4 realm doesn't work well, probably due to
the bug in auth-krb4.c. My colleague David Komanek wrote patch to this
file solving the problem, so credits goes to him. I'm sending this here,
believing that it can help
2002 Jan 27
0
IdentityFile patch
By the way, I noticed in the previous IdentityFile patch I forgot to
expand tilde. I fixed this by making the change in ssh.c instead of
readconf.c, which is probably where it belongs, as far as the existing code
is concerned:
diff -ur openssh-3.0.2p1/auth.c openssh-3.0.2p1I/auth.c
--- openssh-3.0.2p1/auth.c Sun Nov 11 17:06:07 2001
+++ openssh-3.0.2p1I/auth.c Sun Jan 27 12:05:14 2002
@@ -44,7
2004 Jan 24
2
[PATCH] --links-depth for rsync
Hello,
about a year ago I ran into situation where there's a "metadirectory"
containing directories and symlinks to files. There was a need to mirror
the contents of files and directories gathered via symlinks to this
metadirectory, regular mirroring of the tree wouldn't do any good.
The attached patch gives the user ability to define how many symbolic
links rsync should follow
2001 Sep 19
3
permissions bug w/ --backup-dir or --backup option?
Running rsync 2.4.7pre1, using the --backup-dir option, I just realized
today that file ownerships and permissions of backed up files are not
preserved. In other words, if rsync moves an obsolete file to the backup
dir, it's ownership seems to revert to root:root, and permissions change, as
well. We are also using the -a (archive) option, by the way, which should
mean "preserve
2002 Jan 27
1
[PATCH] Add user-dependent IdentityFile to OpenSSH-3.0.2p1
Here is a patch to allow private key files to be placed system wide (for
all users) in a secure (non-NFS) mounted location on systems where home
directories are NFS mounted. This is especially important for users who use
blank passphrases rather than ssh-agent (a good example of where this is
necessary is for tunnelling lpd through ssh on systems that run lpd as user
lp).
IdentityFile now accepts
2003 Oct 18
0
Added functionality --compare-file and --compare-auto
Recently various needs for multiple version handling were discussed
and I put forward a plan of mine. Subsequently the proposal for a
--compare-file=<FILE> switch had support, so I have implemented
this. I have also implemented an experimental --compare-auto which
decides which file to match against using a rule.
Instructions for patch:
1. Install rsync-2.5.6 source
2. "patch -p1
2003 Jan 18
0
[Patch] User-dependent IdentityFile
Here is the user-dependent IdentityFile patch for openssh3.5 (BSD version),
which allows private key files to be placed system wide (for all users) in
a secure (non-NFS) mounted location.
This addresses an important security hole on systems where home directories
are NFS mounted, particularly if there are users who use blank passphrases
(or when lpd is tunneled through ssh on systems running lpd
2001 Sep 30
0
Exclude sets generated with -C
Hi guys,
I recently stumbled across what I think is an rsync bug. The problem
was I was trying to rsync from one CVS checkout, to another, and was
using rsync -Cavz to do the job. In this CVS module, there happens to
be two sub-directories with the names of "core" and "tags"
respectively, which were ignored, since these names matched the
default CVS ignore list.
When rsync
2000 Jun 12
1
Openssh on SCO Openserver Release 5
Yo Andrew!
What version of Openssh are you trying?
RGDS
GARY
On Mon, 12 Jun 2000, Andrew McGill wrote:
> Date: Mon, 12 Jun 2000 15:26:53 +0200
> From: Andrew McGill <andrewm at datrix.co.za>
> To: djm at ibs.com.au
> Cc: gem at rellim.com
> Subject: Openssh on SCO Openserver Release 5
>
> Hi there
>
> Your e-mail address appears in the README for openssh,