Current-Users archive

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

Re: Tar extract behaviour changed



On Wed, Oct 23, 2019 at 04:58:05PM -0000, Christos Zoulas wrote:
> I am not advocating for either, perhaps we should just add -P to the
> extraction and get over it :-)

From what I can tell there are two completely separate issues:

(1) Abuse of symlinks to shuffle the tree somewhere else. IMO whoever
wants to do that should be using null mounts and deal with it
appropiately in sysinst or whatever on their own.

(2) Certain rc.d scripts populate a chroot with files from /etc and
replace the original locations with symlinks.

For that one, there are a couple of options:
(a) Move the directories under /etc from base.tgz to etc.tgz.
(b) Don't use symlinks, but null mounts. Possibly even ro-mounts.
    Fix up existing setups in the rc.d scripts.

(a) should be the easiest way to avoid that set of surprises.

Joerg


Home | Main Index | Thread Index | Old Index