NetBSD-Bugs archive

[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: "John D. Baker" <jdbaker%consolidated.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
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
 missing.
 
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index