Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: "Michał Górny" <mgorny@g.o>
Cc: gentoo-dev@l.g.o, constanze@g.o
Subject: Re: [gentoo-dev] fcaps.eclass: bringing filesystem capabilities to the tree
Date: Sat, 26 Jan 2013 17:08:53
Message-Id: 201301261208.49589.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] fcaps.eclass: bringing filesystem capabilities to the tree by "Michał Górny"
1 On Saturday 26 January 2013 08:21:37 Michał Górny wrote:
2 > On Fri, 25 Jan 2013 18:51:44 -0500 Mike Frysinger wrote:
3 > > # Or set it via the global ebuild var FILECAPS:
4 > > # @CODE
5 > > # FILECAPS=(
6 > > # cap_net_raw bin/ping bin/ping6
7 > > # )
8 > > # @CODE
9 >
10 > Please don't. We have enough eclasses randomly exporting
11 > pkg_postinst().
12
13 i'm not terribly concerned for two reasons:
14 - pkg_postinst should be discouraged in favor of pkg_preinst since postinst
15 can't call `die`
16 - most of the ebuilds that will be using fcaps don't use eclasses that export
17 pkg_postinst thus they should be able to leverage it fine
18 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature