public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] /etc/profile is gone - how to chroot
@ 2013-07-24 14:25 Helmut Jarausch
  2013-07-24 14:34 ` Paul Hartman
  0 siblings, 1 reply; 4+ messages in thread
From: Helmut Jarausch @ 2013-07-24 14:25 UTC (permalink / raw
  To: gentoo-user

Hi,

previously and still documented nearly everywhere

one has to do

env-update
source /etc/profile

after chroot

but in recent systems, the file /etc/profile is gone.

How to adapt the environment in a new system?

Many thanks for a hint,
Helmut.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] /etc/profile is gone - how to chroot
  2013-07-24 14:25 [gentoo-user] /etc/profile is gone - how to chroot Helmut Jarausch
@ 2013-07-24 14:34 ` Paul Hartman
  2013-07-24 15:16   ` Helmut Jarausch
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Hartman @ 2013-07-24 14:34 UTC (permalink / raw
  To: gentoo-user

On Wed, Jul 24, 2013 at 9:25 AM, Helmut Jarausch
<jarausch@igpm.rwth-aachen.de> wrote:
> Hi,
>
> previously and still documented nearly everywhere
>
> one has to do
>
> env-update
> source /etc/profile
>
> after chroot
>
> but in recent systems, the file /etc/profile is gone.
>
> How to adapt the environment in a new system?

Hi,

Do you have baselayout installed? /etc/profile should be included in baselayout.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] /etc/profile is gone - how to chroot
  2013-07-24 14:34 ` Paul Hartman
@ 2013-07-24 15:16   ` Helmut Jarausch
  2013-07-24 15:29     ` Paul Hartman
  0 siblings, 1 reply; 4+ messages in thread
From: Helmut Jarausch @ 2013-07-24 15:16 UTC (permalink / raw
  To: gentoo-user

On 07/24/13 16:34:46, Paul Hartman wrote:
> On Wed, Jul 24, 2013 at 9:25 AM, Helmut Jarausch
> <jarausch@igpm.rwth-aachen.de> wrote:
> > Hi,
> >
> > previously and still documented nearly everywhere
> >
> > one has to do
> >
> > env-update
> > source /etc/profile
> >
> > after chroot
> >
> > but in recent systems, the file /etc/profile is gone.
> >
> > How to adapt the environment in a new system?
> 
> Hi,
> 
> Do you have baselayout installed? /etc/profile should be included in  
> baselayout.
> 

Thanks, I had to reinstall baselayout (2.2). I wonder which package  
(systemd?) has removed /etc/profile
since I didn't do it myself.
Helmut.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] /etc/profile is gone - how to chroot
  2013-07-24 15:16   ` Helmut Jarausch
@ 2013-07-24 15:29     ` Paul Hartman
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Hartman @ 2013-07-24 15:29 UTC (permalink / raw
  To: gentoo-user

On Wed, Jul 24, 2013 at 10:16 AM, Helmut Jarausch
<jarausch@igpm.rwth-aachen.de> wrote:
> On 07/24/13 16:34:46, Paul Hartman wrote:
>>
>> On Wed, Jul 24, 2013 at 9:25 AM, Helmut Jarausch
>> <jarausch@igpm.rwth-aachen.de> wrote:
>> > Hi,
>> >
>> > previously and still documented nearly everywhere
>> >
>> > one has to do
>> >
>> > env-update
>> > source /etc/profile
>> >
>> > after chroot
>> >
>> > but in recent systems, the file /etc/profile is gone.
>> >
>> > How to adapt the environment in a new system?
>>
>> Hi,
>>
>> Do you have baselayout installed? /etc/profile should be included in
>> baselayout.
>>
>
> Thanks, I had to reinstall baselayout (2.2). I wonder which package
> (systemd?) has removed /etc/profile
> since I didn't do it myself.
> Helmut.

looks like both openrc and systemd should depend on baselayout, so
that is very strange... Maybe you should file a bug about it.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-07-24 15:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-24 14:25 [gentoo-user] /etc/profile is gone - how to chroot Helmut Jarausch
2013-07-24 14:34 ` Paul Hartman
2013-07-24 15:16   ` Helmut Jarausch
2013-07-24 15:29     ` Paul Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox