Re: kernel.bkbits.net off the air

From: H. Peter Anvin
Date: Fri Nov 14 2003 - 20:11:03 EST


Carl-Daniel Hailfinger wrote:
> Larry,
>
> regarding rsync from bkbits.net to kernel.org, would it be possible to do
> that with a post-incoming trigger in kernel.bkbits.net which starts rsync
> to kernel.org? That should solve all atomicity requirements, at least on
> the way from bkbits.net to kernel.org.
> Same way for the CVS tree. Since you are starting the conversion (I assume
> it's at least half automated), you could also add a call to rsync at the
> end of that script.
> Using rsync over ssh with pubkey authentication should be pretty
> straightforward and also mostly secure, since no incoming connections to
> bkbits.net are needed. The only thing listening to network connections
> would be bkd.
>
> Comments on the (in)feasibility of my suggestion are welcome.
>
>
> Carl-Daniel
> (happy bk user)

One way to do think would be to have bkcvs flock() a particular key
file; we can then have the upload script flock() the same file, which
will wait if it's already busy.

It does *not* solve all atomicity problems, however.

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/