Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaranm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Default Ebuild behaviour
Date: Tue, 31 Jan 2006 15:49:44
Message-Id: 20060131154702.11a027ad@snowdrop.home
In Reply to: Re: [gentoo-dev] Default Ebuild behaviour by "Benjamin Smee (strerror)"
1 On Tue, 31 Jan 2006 14:03:38 +0000 "Benjamin Smee (strerror)"
2 <strerror@g.o> wrote:
3 | On Tuesday 31 January 2006 12:31, Ciaran McCreesh wrote:
4 | > See, you're not really taking into account the cost of sticking
5 | > files in /etc. For packages where an etc entry is low cost, it's
6 | > already done.
7 |
8 | What is the "cost" you are referring to specifically? I think I know
9 | but I'd like a specific definition.
11 1. Management. For example, handling etc-update.
13 2. Administration. Everything in /etc must be checked and covered by
14 backup policies and the like. Unless you're a home user, in which case
15 you probably just hope for the best...
17 3. Performance. Entries in /etc can have a serious performance impact.
18 The easy example is bash completion, which can be reaaallllly slow if
19 you have a few hundred entries. Less obvious examples are cron entries
20 for things like updatedb -- if you have a few dozen chroots and svn
21 checkouts of large projects, updatedb can take a very long time and eat
22 a lot of battery power.
24 | Agreed, the question then though is how to manage it. Is USE the
25 | right way? Given that there will always be a couple of exceptions, is
26 | it not reasonable to expect that all packages that install cron
27 | entries do it in a consistant manner?
29 Not really. For some packages, cron files must always be installed for
30 proper operation. For some packages, cron files are strictly optional
31 extras for features that many users will not want. For many it's
32 somewhere in between. For packages in the first group, a USE flag is
33 silly. For packages in the second group, not using a USE flag is silly.
34 For the in-between cases, that's one of those areas where the ebuild
35 maintainer has to make an educated decision.
37 --
38 Ciaran McCreesh : Gentoo Developer (King of all Londinium)
39 Mail : ciaranm at
40 Web :


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


Subject Author
Re: [gentoo-dev] Default Ebuild behaviour "Benjamin Smee (strerror)" <strerror@g.o>
Re: [gentoo-dev] Default Ebuild behaviour Chris Gianelloni <wolf31o2@g.o>