Bug#528007: update-exim4.conf only works with LC_ALL=C
Giuseppe Sacco
giuseppe at eppesuigoccas.homedns.org
Sun May 10 08:34:06 UTC 2009
Package: exim4-config
Version: 4.69-10
Severity: grave
I got this error updating exim4-daemon-light on un unstable machine. The
result was a machine without exim running.
When executing the command "/usr/sbin/update-exim4.conf" (automatically
started from /etc/init.d/exim4) I get an error from "sed" command. If I
execute the same command using "sh -x" prefix, I get these messages:
+ dc_other_hostnames=sgi.lixper.it
++ echo @:localhost:sgi.lixper.it
++ sed -e 's�[;: ]*$��' -e 's� *��' -e 's�;�:�g'
sed: espressione -e #1, carattere 2: delimiter character is not a single-byte character
+ local_domains=
sgi:/etc/exim4#
My locale is it_IT.UTF-8.
When executing "env LC_ALL=C sh -x update-exim4.conf" then it pass
correctly that line, as shown here:
+ dc_other_hostnames=sgi.lixper.it
++ echo @:localhost:sgi.lixper.it
++ sed -e 's�[;: ]*$��' -e 's� *��' -e 's�;�:�g'
+ local_domains=@:localhost:sgi.lixper.it
++ tempfile -m600 -p ex4
+ UPEX4C_internal_tmp=/tmp/ex4HpcyQS
Bye,
Giuseppe
More information about the Pkg-exim4-maintainers
mailing list