Bug#429617: Bug in line 227 of update-exim4.conf
Marc Haber
mh+debian-packages at zugschlus.de
Wed Jun 20 08:18:32 UTC 2007
On Tue, Jun 19, 2007 at 11:33:12PM +0200, Silvestre Zabala wrote:
> I ran into the same problems, and as I had a modified exim4-conf I
> moved away /etc/exim4 and tried to reinstall exim4-conf to no avail:
>
> Running update-exim4.conf with bash -x I saw the following:
>
> [...]
> + UPEX4C_internal_tmp=/tmp/ex4XdyiYF
> + trap 'rm -f /tmp/ex4XdyiYF' EXIT INT TERM
> + gentmpconf
> + rm -f /var/lib/exim4/config.autogenerated.tmp
> + touch /var/lib/exim4/config.autogenerated.tmp
> ++ id -u
> + '[' 0 = 0 ']'
> + chown root:Debian-exim /var/lib/exim4/config.autogenerated.tmp
> + '[' -e /var/lib/exim4/config.autogenerated ']'
> + chmod 640 /var/lib/exim4/config.autogenerated.tmp
> + '[' -e /var/lib/exim4/config.autogenerated ']'
> + rm -f /tmp/ex4XdyiYF
>
> So for me the fix was to insert a
> return 0
> after line 227 in update-exim4.conf.
I still do not understand why the packages work fine on all of my
systems, and I do not like the way you have fixed the issue.
How about:
if [ -e "${UPEX4C_outputfile}" ]; then
chmod 640 "${UPEX4C_outputfile}"
fi
It is a lot less cryptic anyway.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
More information about the Pkg-exim4-maintainers
mailing list