Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] init.d-scripts don't see stuff from /etc/profile.env
Date: Thu, 25 Aug 2005 15:06:35
Message-Id: 200508251201.43416.pauldv@gentoo.org
In Reply to: Re: [gentoo-dev] init.d-scripts don't see stuff from /etc/profile.env by Roy Marples
1 On Wednesday 24 August 2005 12:04, Roy Marples wrote:
2 >
3 > Um, that's kinda like behaviour by design unless anyone can tell me
4 > otherwise.
5 >
6 > /etc/env.d/* just set shell variables, so if you change one then you
7 > need to
8 >
9 > env-update
10 > source /etc/profile
11 > /etc/init.d/thisdaemon restart
12 >
13 > To refresh the daemon that needs the vars
14
15 Perhaps the init script loader should be changed such that the environment
16 variables from the shell calling the script are ignored, and an
17 environment equal to that when being called by init is used.
18
19 Paul
20
21 --
22 Paul de Vrieze
23 Gentoo Developer
24 Mail: pauldv@g.o
25 Homepage: http://www.devrieze.net

Replies