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?