Current-Users archive

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

Re: tar extract changed since netbsd-8? (extracting sets over running system)



In article <20191113223755.GA79951%bec.de@localhost>,
Joerg Sonnenberger  <joerg%bec.de@localhost> wrote:
>On Wed, Nov 13, 2019 at 10:34:51PM -0000, Christos Zoulas wrote:
>
>No, it was never atomic. Please read again what I wrote. /bin/ls and
>/lib/libc.so.12 are not updated at the same time. That's the very
>definition of non-atomic. In theory we could do a topological sort of
>all sets to ensure that the shared libraries are placed first, but we
>don't. So please stop pretending that any life update that involves an
>API change of shared libraries is safe. It is not.

It was atomic per file and now it is not. Let's say I only want
to extract libc.so. It was safe before and now it is not.

Yes, because some situations were broken before, are we justified to
make things worse because of decision choices in upstream software
that we might also be able to influence and change?

>Anyway, the point is mood. I've reverted MKBSDTAR to no, so that
>everyone can be happy.

Yes, but how can we make progress like this? There are many things
that libarchive does better than our pax? Why can't we have both?

christos



Home | Main Index | Thread Index | Old Index