[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mirrors.kernel.org (Re: rsync and debian mirror consistency)

On Wed, Feb 27, 2008 at 04:54:54PM -0500, Justin Pryzby wrote:
> On Tue, Feb 26, 2008 at 01:10:55PM +0100, Josip Rodin wrote:
> > On Thu, Feb 21, 2008 at 10:14:58AM -0500, Justin Pryzby wrote:
> > > He seems to say that debian.org pushes archive content to the kernel.org
> > > mirrors (rather than running an ssh trigger causing them to immediately
> > > do a "pull").  It seems that consistency between the .deb files and the
> > > Packages.gz files isn't maintained by this special push, as it is with
> > > the anonftpsync template script.  Is this correct?
> > 
> > No, it's not, I fixed that a few months ago. The script rsyncs over the
> > index files first, doesn't delete,  and then in the second run rsyncs
> > everything else with --delete-after. Can you demonstrate a problem, what
> > error messages did you get that led you to the conclusion that this is
> > broken on .k.o sites?
> By adding a cronjob, the following was caused within a few hours.
Just a thought, is this due to running 2 successive backgrounded ssh
commands?  Something like

command="~/sync &"
command="~/sync2 &"

Rather than command="~/sync" (no need to background it?)

and in "sync":
exec sync2

Reply to: