Re: [gentoo-dev] init.d-scripts don't see stuff from /etc/profile.env

2005-08-30 Thread Mike Frysinger
On Tuesday 30 August 2005 05:32 pm, Roy Marples wrote: > On Thu, 2005-08-25 at 12:01 +0200, Paul de Vrieze wrote: > > On Wednesday 24 August 2005 12:04, Roy Marples wrote: > > > Um, that's kinda like behaviour by design unless anyone can tell me > > > otherwise. > > > > > > /etc/env.d/* just set sh

Re: [gentoo-dev] init.d-scripts don't see stuff from /etc/profile.env

2005-08-30 Thread Francesco R
Roy Marples wrote: >I just love replying to myself! > >On Tue, 2005-08-30 at 22:32 +0100, Roy Marples wrote: > > >>#!/bin/sh >> >>/bin/env -i \ >>CONSOLETYPE="${CONSOLETYPE}" \ >>IN_BACKGROUND="${IN_BACKGROUND}" \ >>IN_HOTPLUG="${IN_HOTPLUG}" \ >>/lib/rcscripts/sh/runscript.sh $*

Re: [gentoo-dev] init.d-scripts don't see stuff from /etc/profile.env

2005-08-30 Thread Roy Marples
I just love replying to myself! On Tue, 2005-08-30 at 22:32 +0100, Roy Marples wrote: > #!/bin/sh > > /bin/env -i \ > CONSOLETYPE="${CONSOLETYPE}" \ > IN_BACKGROUND="${IN_BACKGROUND}" \ > IN_HOTPLUG="${IN_HOTPLUG}" \ > /lib/rcscripts/sh/runscript.sh $* A quick reboot shows we nee

Re: [gentoo-dev] init.d-scripts don't see stuff from /etc/profile.env

2005-08-30 Thread Roy Marples
On Thu, 2005-08-25 at 12:01 +0200, Paul de Vrieze wrote: > On Wednesday 24 August 2005 12:04, Roy Marples wrote: > > > > Um, that's kinda like behaviour by design unless anyone can tell me > > otherwise. > > > > /etc/env.d/* just set shell variables, so if you change one then you > > need to > > >

Re: [gentoo-dev] init.d-scripts don't see stuff from /etc/profile.env

2005-08-25 Thread Paul de Vrieze
On Wednesday 24 August 2005 12:04, Roy Marples wrote: > > Um, that's kinda like behaviour by design unless anyone can tell me > otherwise. > > /etc/env.d/* just set shell variables, so if you change one then you > need to > > env-update > source /etc/profile > /etc/init.d/thisdaemon restart > > To

Re: [gentoo-dev] init.d-scripts don't see stuff from /etc/profile.env

2005-08-24 Thread Roy Marples
On Wed, 2005-08-24 at 17:27 +0900, Georgi Georgiev wrote: > > uberpc init.d # ./test start > > * Starting service test > > LANG=en_GB.utf8 > > LANGUAGE=en_GB.utf8 > > set | grep LANG > > * Service test started OK > > Try unsetting the variable in your own shell first. > > lion init.d # /et

Re: [gentoo-dev] init.d-scripts don't see stuff from /etc/profile.env

2005-08-24 Thread Georgi Georgiev
maillog: 24/08/2005-08:26:26(+0100): Roy Marples types > On Tue, 2005-08-23 at 16:33 +0200, Sven Köhler wrote: > > Hi, > > > > i just wrote an init.d-script and i thought that the LANG variable was > > inherited since it set system-wide in /etc/env.d/02locale and therefor > > is also found in /etc

Re: [gentoo-dev] init.d-scripts don't see stuff from /etc/profile.env

2005-08-24 Thread Roy Marples
On Tue, 2005-08-23 at 16:33 +0200, Sven Köhler wrote: > Hi, > > i just wrote an init.d-script and i thought that the LANG variable was > inherited since it set system-wide in /etc/env.d/02locale and therefor > is also found in /etc/profile.env Did you env-update? > > Now i noticed, that LANG is

[gentoo-dev] init.d-scripts don't see stuff from /etc/profile.env

2005-08-23 Thread Sven Köhler
Hi, i just wrote an init.d-script and i thought that the LANG variable was inherited since it set system-wide in /etc/env.d/02locale and therefor is also found in /etc/profile.env Now i noticed, that LANG isn't set for the process started by my init.d-script. So what's the intension to ignore /e