Gentoo Archives: gentoo-alt

From: Michael Fothergill <michael.fothergill@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] I tried installing gentoo prefix on WSL2 running debian.....
Date: Thu, 04 Jul 2019 15:50:47
Message-Id: CANc=Sd32_C1-5C69z1BRZRcyXnQ0yupnmvxNYS3qtq3KqOAdUA@mail.gmail.com
In Reply to: Re: [gentoo-alt] I tried installing gentoo prefix on WSL2 running debian..... by Fabian Groffen
1 > I ran the installation again and it crashed immediately as follows:
2
3
4
5
6 > portage: 'portage' user or group missing.
7 >
8 For the defaults, line 1 goes into passwd, and 2 into group.
9 portage:x:250:250:portage:/var/tmp/portage:/bin/false
10 portage::250:portage
11 *** WARNING *** For security reasons, only system administrators should be
12 *** WARNING *** allowed in the portage group. Untrusted users or processes
13 *** WARNING *** can potentially exploit the portage group for attacks such
14 as
15 *** WARNING *** local privilege escalation.
16
17 * running emerge -u system
18 setlocale: unsupported locale setting
19 portage: 'portage' user or group missing.
20 For the defaults, line 1 goes into passwd, and 2 into group.
21 portage:x:250:250:portage:/var/tmp/portage:/bin/false
22 portage::250:portage
23 *** WARNING *** For security reasons, only system administrators should be
24 *** WARNING *** allowed in the portage group. Untrusted users or processes
25 *** WARNING *** can potentially exploit the portage group for attacks such
26 as
27 *** WARNING *** local privilege escalation.
28
29 !!! Directory initialization failed: '/home/mikef/gentoo/var/lib/portage'
30 !!! chown('/home/mikef/gentoo/var/lib/portage', -1, 0)
31 !!! Directory initialization failed: '/home/mikef/gentoo/var/cache/edb'
32 !!! chown('/home/mikef/gentoo/var/cache/edb', -1, 0)
33 setlocale: unsupported locale setting
34 emerge: superuser access is required
35
36
37 Comments appreciated on this.
38
39 Regards
40
41 MF