Gentoo Archives: gentoo-dev

From: Fabian Groffen <grobian@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [RFC, PATCH] user.eclass: gracefully return when unprivileged
Date: Wed, 22 Nov 2017 19:00:31
Message-Id: 20171122190035.GL829@gentoo.org
In Reply to: [gentoo-dev] Re: [RFC, PATCH] user.eclass: gracefully return when unprivileged by Benda Xu
1 On 21-11-2017 20:19:21 +0900, Benda Xu wrote:
2 > Francesco Riosa <vivo75@×××××.com> writes:
3 >
4 > > maybe ewarn() is more appropriate than einfo()?
5 > > Just in case it's executed outside the scope of prefix
6 >
7 > I can't remember any use case when portage (or, paludis, etc.) is
8 > executed as a normal user but not a from Prefix.
9 >
10 > This message will only affect Prefix users, who won't be surprised that
11 > they cannot create new groups or users. Therefore I think einfo is more
12 > appropriate.
13 >
14 >
15 > Furthermore, we do have Prefix that runs as a root, mostly usable on NAS
16 > or smartphones, when we do ultimately like portage to manage groups and
17 > users.
18
19 I think we could definitely live with this until someone requests
20 otherwise.
21
22 Thanks,
23 Fabian
24
25 --
26 Fabian Groffen
27 Gentoo on a different level

Attachments

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

Replies