Karel Volný <kvolny(a)redhat.com> writes:
while your problem seems completely different, it leads me to
suggest
checking whether cron gets $LANG and "eats" it, or whether it even
does not get it and thus has nothing to pass onto the programs it runs
systemd passes in $LANG. Cron just eats it.
When I run a test process from systemd that prints its env this is what
happens:
=======================
systd-test.service:
[Unit]
Description=test service to see what the env for a service looks like
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/env
[Install]
WantedBy=multi-user.target
=======================
2013-06-02T01:50:54.577936-07:00 arbol systemd[1]: Starting test service to see what the
env for a service looks like...
2013-06-02T01:50:54.583659-07:00 arbol env[8520]:
BOOT_IMAGE=/boot/vmlinuz-3.9.4-300.fc19.x86_64
2013-06-02T01:50:54.585924-07:00 arbol env[8520]: LANG=en_US.UTF-8
2013-06-02T01:50:54.586477-07:00 arbol env[8520]:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
2013-06-02T01:50:54.586990-07:00 arbol systemd[1]: Started test service to see what the
env for a service looks like.
-wolfgang
--
g+:
https://plus.google.com/114566345864337108516/about