Gentoo Archives: gentoo-dev

From: Chris Gianelloni <wolf31o2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] enewuser/enewgroup getting their own eclass
Date: Fri, 25 Nov 2005 14:28:13
Message-Id: 1132928684.19957.27.camel@vertigo.twi-31o2.org
In Reply to: Re: [gentoo-dev] enewuser/enewgroup getting their own eclass by Mike Frysinger
1 On Thu, 2005-11-24 at 19:34 +0000, Mike Frysinger wrote:
2 > On Thu, Nov 24, 2005 at 08:54:41AM -0500, Chris Gianelloni wrote:
3 > > On Thu, 2005-11-24 at 03:44 +0000, Mike Frysinger wrote:
4 > > > On Wed, Nov 23, 2005 at 01:15:52PM -0500, Chris Gianelloni wrote:
5 > > > > OK. I've been looking at some of these issues we've been having, and
6 > > > > I've been thinking of moving enewuser, egetent, and enewgroup to their
7 > > > > own eclass. This will resolve some issues with things in system, or
8 > > > > otherwise early on, requiring shadow on Linux to get useradd. Two
9 > > > > examples of this are bug #113298 and bug #94745. By putting them in
10 > > > > their own eclass, we can keep from adding shadow to DEPEND in eutils,
11 > > > > while still putting the dependency in the eclass that uses it.
12 > > >
13 > > > i think i suggested this somewhere before, but why dont we just add
14 > > > shadow to packages.build ... then it'll be in stage[123] and the DEPEND
15 > > > will be a moot point
16 > >
17 > > That doesn't solve the issue.
18 >
19 > of course it does ... putting a package in packages.build means it will
20 > be in all stages which means no package (like cronbase) will ever fail
21 > again because the useradd binaries will always exist
22
23 I'm looking to minimize what is in a stage1 tarball, not increase it. I
24 would much prefer that we instead had a proper dependency tree, than
25 hacking around it. Applications that need to add users on Linux
26 *should* DEPEND on shadow. They should not rely on it being already
27 present. Plus, your solution does not work retroactively to repair
28 issues with the 2005.0, 2005.1, or 2005.1-r1 stages, while mine does.
29
30 --
31 Chris Gianelloni
32 Release Engineering - Strategic Lead
33 x86 Architecture Team
34 Games - Developer
35 Gentoo Linux

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] enewuser/enewgroup getting their own eclass Mike Frysinger <vapier@g.o>