On Thu, Oct 24, 2019 at 02:00:30PM +0300, Jussi Laakkonen wrote:
Set LANG and LC_ALL to C locale for the VPNC process. This ensures
no translations are used. VPNC relies on errors printed to stderr, and
having translated content makes plugin fail. All VPNC options are ASCII
string according to specifiation.
The user for running VPN process can be changed with DACPrivileges
configuration (see commit 171989601a7a4fadafda20a7e6d30e9ada3fb516). If
the user is changed to other than what connman is ran with a specific
language may have been set.
Changes since V2:
* Set LANG and LC_ALL only for VPNC plugin. It may be too risky to set
this for all plugins by default, hence the potential breakage of non-
ASCII passwords noted by David Woodhouse.