Gentoo Archives: gentoo-dev

From: "Aaron W. Swenson" <titanofold@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [RFC, PATCH] user.eclass: gracefully return when unprivileged
Date: Mon, 27 Nov 2017 11:46:32
Message-Id: 20171127114622.GC31780@gengoff
In Reply to: Re: [gentoo-dev] Re: [RFC, PATCH] user.eclass: gracefully return when unprivileged by Benda Xu
1 On 2017-11-26 10:02, Benda Xu wrote:
2 > Hi Patrick,
3 >
4 > Patrick McLean <chutzpah@g.o> writes:
5 >
6 > > I use portage as non-root all the time when developing and testing
7 > > ebuilds, via the "ebuild" command.
8 >
9 > The enewgroup and enewuser are used in pkg_* functions, as documented in
10 > user.eclass _assert_pkg_ebuild_phase() function. They require root to
11 > execute.
12 >
13 > So no worries, your workflow will not be affected.
14
15 Actually, it will probably be better.
16
17 You should now be able to do compilation and tests without having the
18 user/group created. For example, dev-db/postgresql doesn’t need the
19 postgres system user and group in order to successfully run through
20 src_test and src_install. It just needs the user/group at run time.

Attachments

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

Replies