Date: Mon, 9 Apr 2007 11:59:52 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Tim Kientzle <kientzle@freebsd.org> Cc: hackers@freebsd.org, Ulrich Spoerlein <uspoerlein@gmail.com> Subject: Re: 'opaque' flag? Message-ID: <20070409155952.GA31477@xor.obsecurity.org> In-Reply-To: <461A5DEE.6000606@freebsd.org> References: <20070407174756.GA46385@roadrunner.q.local> <4617F67B.7050304@freebsd.org> <20070408080233.GB40103@roadrunner.q.local> <4619B91E.6010803@freebsd.org> <461A5DEE.6000606@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 09, 2007 at 08:38:22AM -0700, Tim Kientzle wrote: > Tim Kientzle wrote: > >Does anyone understand the semantics of the 'opaque' flag? > > > >I'm trying to understand an issue with packages built > >on union file systems. It appears the 'opaque' flag > >is set on some symlinks, which the package tools then > >archive. The archived flag is somehow interfering with > >later installation of the package. > > > >I've read McKusick's paper on unionfs which explains > >the opaque flag for directories created on a unionfs, > >but I have a bunch of questions: > > * Why is it appearing on symlinks? > > * How could the opaque flag interfere with package installs? > > * Should bsdtar ignore opaque flags? >=20 > Okay, I now understand the answer to the second question: > there's a bug in libarchive restoring symlinks with flags. > I'll fix that shortly. >=20 > The other two questions still puzzle me. I suspect the opaque flag should be ignored since it is a property of a specific unionfs stack, so it is not suitable for transporting elsewhere via bsdtar. Similarly with the snapshot flag. Kris --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGGmL3Wry0BWjoQKURAiaHAKDbFGIbyjSjD3WEjZJt1AaMG/VLgACgmbuj o2h11ybruK5ejOZG9Far7V4= =LpMF -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070409155952.GA31477>