Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: sysupgrade/ftp: use a 'needle' to poke through caching layers
To:
Job Snijders <job@openbsd.org>, tech@openbsd.org
Date:
Fri, 03 May 2024 09:00:44 -0600

Download raw body.

Thread
Kirill A. Korinsky <kirill@korins.ky> wrote:

> On Fri, 03 May 2024 16:10:29 +0200,
> "Theo de Raadt" <deraadt@openbsd.org> wrote:
> > 
> > Kirill A. Korinsky <kirill@korins.ky> wrote:
> > 
> > > 
> > > I assume that mirrors use rsync, which deletes remotely deleted files.
> > > 
> > > Am I wrong?
> > 
> > Oh that'll be just great.
> > 
> > Someone will be installing a snapshot, and the files just get deleted.
> > But that's good, non-existant files can't fail the hash.
> > 
> 
> If you only keep a previous version of the snapshot, this almost solves the
> problem. I agree that it doubles the disk space, but --delete-delay does
> that already.
> 
> And it requires the mirrors to be synchronized quite often.

And it requires all the users to change their behaviour, chasing a
directory name that may or may not exist.

It's nuts.