Hi!

On Mon, 2013-08-19 at 10:46:14 +0100, Klaus Ethgen wrote:
> Package: dpkg
> Version: 1.17.1
> Severity: normal
> 
> To have a reproducible daemon, the daemons started by start-stop-daemon
> should have cleaned environment, for example the language environments
> LANG and LC_*.
> 
> Not doing so ends in strange behaviour of the daemons depending which
> admin with different personal language settings started it.
> 
> Namely that is:
> - LC_*
> - LANG*
> - *LOCALE
> - evtl. LD_LIBRARY_PATH
> - TZ
> - ...
> 
> Some of the environments get used by sshd from the client machine if one
> logs in by ssh.
> 
> The best would be to have a fully controlled environment for daemons.
> But this would be a big step.

I see the problem and I agree that something should be done about it,
but as I mentioned in [0], I don't think the right place to plug a
global distribution environment policy is s-s-d, because using it is
not required by the debian-policy and as such some daemons might not
be using it to start.

  <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631081#58>

Adding support for some kind of controls on the process environment to
s-s-d might make sense, but not in the way you present here.

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to