Gentoo Logo
Gentoo Spaceship




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
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Brian Harring <ferringb@...>
Subject: Re: eclass for handling of file-based capabilities
Date: Sun, 6 Mar 2011 15:40:17 -0800
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
Attachment:
pgpX4UR5CVjIq.pgp (PGP signature)
References:
eclass for handling of file-based capabilities
-- Constanze Hausner
Re: eclass for handling of file-based capabilities
-- Ciaran McCreesh
Re: eclass for handling of file-based capabilities
-- Constanze Hausner
Re: eclass for handling of file-based capabilities
-- Ciaran McCreesh
Re: eclass for handling of file-based capabilities
-- Constanze Hausner
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: eclass for handling of file-based capabilities
Next by thread:
Re: eclass for handling of file-based capabilities
Previous by date:
Bugzilla 4 migration
Next by date:
Automated Package Removal and Addition Tracker, for the week ending 2011-03-06 23h59 UTC


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.