Quoting Christian Seiler (christ...@iwakd.de): > Hi there, > > > Can we easily move the clearenv() to an lxc-attach argument? > > If so, I'd prefer we make it an option rather than remove it > > entirely. > > Well, in my list that I posted earlier, I suggested adding an option to > clear the environment anyway, even if the (for post 0.9 more > complicated) defaults will say no. > > So what we could do is: > > - don't clear env by default for now > (in line with previous attach behaviour, so we don't change > anything for now) > - add '--clear-env' option that clears environment regardless > - add '--keep-env' option that is a no-op in 0.9 > - post 0.9: make defaults more sane, according to my list with > potential adjustments from discussions; the new options will then > still work and thus be future-proof. But document in the manpage > of 0.9 that default behaviour will likely change in 1.0. This > allows for a sort of transition period where people can upgrade > from previous versions (no change in defaults) but are able to > explicitly choose what they want and write future-proof scripts. > > This seems to be a reasonable compromise. If both Serge and you agree, > I'll write, test and send a patch before Sunday, so it can still go > into 0.9.
Sounds good to me. thanks, -serge ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel