From: Roy Marples <uberlord@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] init.d-scripts don't see stuff from /etc/profile.env
Date: Wed, 24 Aug 2005 11:04:42 +0100 [thread overview]
Message-ID: <1124877882.22517.2.camel@uberlaptop.ubernet> (raw)
In-Reply-To: <20050824082743.GA104763@lion.gg3.net>
[-- Attachment #1: Type: text/plain, Size: 896 bytes --]
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 # /etc/init.d/test restart
> LANG=en_US.utf8
> set | grep LANG
> lion init.d # LANG=C /etc/init.d/test restart
> LANG=C
> set | grep LANG
> lion init.d # env -u LANG /etc/init.d/test restart
> set | grep LANG
> \
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 refresh the daemon that needs the vars
--
Roy Marples <uberlord@gentoo.org>
Gentoo Linux Developer
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-08-24 10:07 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-23 14:33 [gentoo-dev] init.d-scripts don't see stuff from /etc/profile.env Sven Köhler
2005-08-24 7:26 ` Roy Marples
2005-08-24 8:27 ` Georgi Georgiev
2005-08-24 10:04 ` Roy Marples [this message]
2005-08-24 11:35 ` Georgi Georgiev
2005-08-24 13:20 ` [gentoo-dev] " Sven Köhler
2005-08-25 10:01 ` [gentoo-dev] " Paul de Vrieze
2005-08-26 11:58 ` [gentoo-dev] " Sven Köhler
2005-08-30 21:32 ` [gentoo-dev] " Roy Marples
2005-08-30 22:06 ` Roy Marples
2005-08-30 22:36 ` Francesco R
2005-08-30 22:40 ` [gentoo-dev] " Sven Köhler
2005-08-30 23:09 ` [gentoo-dev] " Mike Frysinger
2005-08-31 1:41 ` [gentoo-dev] " Sven Köhler
2005-08-31 1:57 ` Mike Frysinger
2005-08-31 1:56 ` Sven Köhler
2005-08-31 2:15 ` Martin Schlemmer
2005-08-31 2:21 ` Mike Frysinger
2005-08-31 7:25 ` Martin Schlemmer
2005-08-31 10:11 ` Paul de Vrieze
2005-09-02 10:41 ` Martin Schlemmer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1124877882.22517.2.camel@uberlaptop.ubernet \
--to=uberlord@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox