The attached patch lp1321227-cron_does_not_read_default_locale.patch is a workaround that loads /etc/default/locale like it should.
With upstart, this was the best I could do. And it's not great.
- expect doesn't take more than 2 forks - there is no way to load /etc/default/locale without hardcoding its values or using a script
(While working on this I had the joys of kernel panics with upstart, but that's a different matter.)
The attached patch lp1321227- cron_does_ not_read_ default_ locale. patch is a workaround that loads /etc/default/locale like it should.
With upstart, this was the best I could do. And it's not great.
- expect doesn't take more than 2 forks
- there is no way to load /etc/default/locale without hardcoding its values or using a script
(While working on this I had the joys of kernel panics with upstart, but that's a different matter.)