Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /etc/profile is gone - how to chroot
Date: Wed, 24 Jul 2013 15:29:50
Message-Id: CAEH5T2OwNWu+u5V7mzvU8f2FB6yMa8bEukg4+tVecHP3NbGkNg@mail.gmail.com
In Reply to: Re: [gentoo-user] /etc/profile is gone - how to chroot by Helmut Jarausch
1 On Wed, Jul 24, 2013 at 10:16 AM, Helmut Jarausch
2 <jarausch@××××××××××××××××.de> wrote:
3 > On 07/24/13 16:34:46, Paul Hartman wrote:
4 >>
5 >> On Wed, Jul 24, 2013 at 9:25 AM, Helmut Jarausch
6 >> <jarausch@××××××××××××××××.de> wrote:
7 >> > Hi,
8 >> >
9 >> > previously and still documented nearly everywhere
10 >> >
11 >> > one has to do
12 >> >
13 >> > env-update
14 >> > source /etc/profile
15 >> >
16 >> > after chroot
17 >> >
18 >> > but in recent systems, the file /etc/profile is gone.
19 >> >
20 >> > How to adapt the environment in a new system?
21 >>
22 >> Hi,
23 >>
24 >> Do you have baselayout installed? /etc/profile should be included in
25 >> baselayout.
26 >>
27 >
28 > Thanks, I had to reinstall baselayout (2.2). I wonder which package
29 > (systemd?) has removed /etc/profile
30 > since I didn't do it myself.
31 > Helmut.
32
33 looks like both openrc and systemd should depend on baselayout, so
34 that is very strange... Maybe you should file a bug about it.