Gentoo Archives: gentoo-dev

From: Fabian Groffen <grobian@g.o>
To: gentoo-dev@l.g.o
Cc: Benda Xu <heroxbd@g.o>
Subject: Re: [gentoo-dev] [PATCH 1/4] acct-group.eclass: Fix for when building in a rooted prefix (EROOT)
Date: Wed, 07 Dec 2022 17:19:22
Message-Id: Y5DLD5FBv3DDjtzP@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH 1/4] acct-group.eclass: Fix for when building in a rooted prefix (EROOT) by Mike Gilbert
1 On 07-12-2022 11:52:58 -0500, Mike Gilbert wrote:
2 > On Wed, Dec 7, 2022 at 4:24 AM James Le Cuirot <chewi@g.o> wrote:
3 > > The new eclasses also skip the operation if you are root. As that bug report
4 > > says, running a prefixed system as root is probably unsupported. I was doing
5 > > this as root into a ROOTed prefix though, which is slightly different. Should
6 > > we also skip the operation if EPREFIX non-empty? I'll think about it.
7 >
8 > I would be in favor of skipping adding users/groups if EPREFIX is
9 > non-empty, at least as a temporary solution.
10 >
11 > If someone presents a use case where adding users to
12 > ${EROOT}/etc/passwd makes sense, we can revisit it then.
13
14 Would have to look if RAP uses this.
15 @heroxbd do you know if that is used?
16
17 Thanks,
18 Fabian
19
20 --
21 Fabian Groffen
22 Gentoo on a different level

Attachments

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