[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/54467: new tar overwrites symlinks to directories
The following reply was made to PR bin/54467; it has been noted by GNATS.
From: Hisashi T Fujinaka <htodd%twofifty.com@localhost>
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, martin%NetBSD.org@localhost
Subject: Re: bin/54467: new tar overwrites symlinks to directories
Date: Sun, 18 Aug 2019 13:39:14 -0700 (PDT)
On Sun, 18 Aug 2019, John D. Baker wrote:
> The following reply was made to PR bin/54467; it has been noted by GNATS.
> From: "John D. Baker" <jdbaker%consolidated.net@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Subject: Re: bin/54467: new tar overwrites symlinks to directories
> Date: Sat, 17 Aug 2019 20:40:07 -0500 (CDT)
> On Thu, 15 Aug 2019 16:25:00 +0000 (UTC), martin%NetBSD.org@localhost wrote:
> > The new tar(1) is overeager in restoring directories if those already
> > exist as a symlink to another directory.
> > This kills updates on machines that have /usr as a symlink to someplace
> > else
> This also kills 'named' if one has it running chrooted. The migration
> process copies "/etc/namedb/*" to "/var/chroot/named/etc/namedb/" and
> replaces "/etc/namedb" with a symlink.
> After an update, "/etc/namedb" is overwritten back to a directory and
> the subsequent 'etcupdate' reports "root.cache", "bind.keys", etc. as
As well as unbound. I was wondering why it kept getting clobbered until
I saw this thread.
Hisashi T Fujinaka - htodd%twofifty.com@localhost
BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee
Main Index |
Thread Index |