Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-dev
On Sun, Mar 06, 2011 at 05:34:29PM +0100, Constanze Hausner wrote:
> On 17:44 Sat 05 Mar , Ciaran McCreesh wrote:
> > * tar and xattrs is a massive problem, so how do binaries work?
> tar can be patched to support xattrs. If we want to use caps, we will
> have to apply those patches too. (iirc Fedora already uses such
> patches).
For binpkg, the approach I mentioned would remove the need to for tar
to support xattrs- the same mechanism for the PM to tweak the perms
would be usable. So no need for tar/bsdtar to restore xattrs- it's
undesirable anyways since as I mentioned, if the cap couldn't be
applied for whatever reason it would result in a chmod -s binary being
installed.
For src, I'd strongly be against restoration there. It just opens up
way too many surprises- a simple example is a tarball carrying the
immutable flag. Xattrs really should be specified by the ebuild (and
applied by the PM) instead- far more controlled namely.
~harring
|
|