Quoting Ivan Vilata i Balaguer (i...@selidor.net):
> Hi all,
> 
> I'm running lxc 0.9.0~alpha3-1 on a Debian sid box and I created a
> container using lxc-debconf which doesn't set any default locale.  When
> starting the container using lxc-start, I expected it to have no LANG
> variable defined, but I noticed that it had inherited that from my root
> session in the host.  Of course this causes several warnings in
> different programs, but I'm more concerned about the leaking of
> environment variables itself.  Is this a known or expected behaviour, or
> rather a bug?  Maybe other variables are leaking too.

A bug - if you look at src/lxc/start.c, it does a clearenv() right
before actually starting the container.  So clearing env is certainly
our intent.

-serge

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to