I am currently creating a daemon service and in order to leverage existing service functionality, the startup script sources from /etc/status.
This causes a problem with our service because within the first line, the locale is set to POSIX:
# Do _not_ be fooled by non POSIX locale
LC_ALL=POSIX
export LC_ALL
The problem is that the services which gets started from the script inherit this locale setting.
The simple fix around this would be to unset the locale prior to starting the child process. However, I do not know the implications of this. What are the consequences of re-setting the LC_ALL variable after sourcing from rc.status?
Asked by user6353
Apr 6, 2011, 11:35 PM
Last activity: Apr 6, 2011, 11:48 PM
Last activity: Apr 6, 2011, 11:48 PM