Issue #11860 has been updated by Daniel Pittman. Category set to exec Status changed from Investigating to Accepted Priority changed from Normal to Urgent Target version set to Telly Affected Puppet version set to 2.7.0
Kelsey Hightower wrote: > Not sure of any good solution for this one, outside of making this sort of > thing configurable or exposing an attribute on the service provider. Actually, the right solution is that Puppet should only mess with the language for *internal* use, not for external commands. Right now we use the same code path to execute commands that our providers run, some of which need to parse the textual output of external commands, and for that purpose this is a reasonable state of play. The very, very wrong thing we do, though, is that we mess with this for things run by, eg, the `exec` provider. That is hugely rude to end users, not least because it says that our taste in language is more important than theirs - not an intentional message, but still. Unfortunately, splitting this out between the internal and external uses of the `Puppet::Util.execute` method is painfully hard, which means that we should target this at Telly. That way we don't have potentially breaking changes for users during a stable release, much as I would prefer to avoid that outcome. I can't put a timeline on this, but it is a very high priority for the platform team to fix this. ---------------------------------------- Bug #11860: Puppet ovewriting the LANG environment variable. https://projects.puppetlabs.com/issues/11860 Author: Marek Marek Status: Accepted Priority: Urgent Assignee: Category: exec Target version: Telly Affected Puppet version: 2.7.0 Keywords: Branch: As far as I can see puppet is changing system's LANG environment variable - this causes unexpected bahaviour of applications that use this setting (as LANG is different when you run /etc/init.d/foo stop/start/restart, and different when service is restarted by puppet!). -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
