Gentoo Archives: gentoo-portage-dev

From: Philipp Riegger <lists@××××××××××××.de>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Re: Portage phase hooks patch
Date: Wed, 26 Jul 2006 06:29:28
Message-Id: A28A03EB-E55C-48B3-BFFB-7980C05F0049@anderedomain.de
In Reply to: Re: [gentoo-portage-dev] Re: Portage phase hooks patch by "Kevin F. Quinn"
1 On Jul 25, 2006, at 9:30 AM, Kevin F. Quinn wrote:
2
3 > If the main issue is cleaning up after an abort, perhaps it would be
4 > useful to add a pkg_abort() phase to the package manager; then that
5 > can
6 > be implemented in an eclass.
7
8 But i think this could be a problem when FEATURES="keepwork" or
9 something like this is enabled. If you create (or Mike creates) a new
10 user, beginns to install files, then maybe there is an error with
11 make test, everything aborts, the new user is deleted. Then someone
12 does FEATURES="-test keepwork" emerge dev-foo/bar... you'd have to
13 make shure that the new user gets recreated with the same uid and the
14 group gets recreated with the same gid and if uid or gid are already
15 used in the meantime, then some tricky things have to be done. Or
16 something like this.
17
18 Philipp, just a user.
19 --
20 gentoo-portage-dev@g.o mailing list