Bug#1021348: exim4-base: race in system boot causes exim4 to fail starting automatically

Andreas Metzler ametzler at bebt.de
Sun Oct 9 10:40:15 BST 2022


On 2022-10-06 Giacomo Mulas <giacomo.mulas at inaf.it> wrote:
> Package: exim4-base
> Version: 4.96-4
> Severity: normal

> Dear Maintainer,

> Since several months now I noticed that exim4.service fails to start 
> at boot when I am at work.

> If I run

> systemctl status exim4

> I get:

[...]
> ott 06 12:43:29 capitanata exim4[4169]: 2022-10-06 12:43:29 Exim configuration error in line 508 of /var/lib/exim4/config.autogenerated.tmp:
> ott 06 12:43:29 capitanata exim4[4169]:   Unexpected end of configuration file: .endif missing
> ott 06 12:43:29 capitanata exim4[4245]: Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
[...]
> Exim4 invariably starts without a hitch if I manually issue a

> systemctl start exim4

> after boot.
[...]


Hello,

this is pretty strange since /usr/sbin/update-exim4 does not rely on
dynamic data. Is your configuration data valid?
/usr/sbin/update-exim4.conf -v --output  /tmp/testme
/usr/sbin/exim4 -bV -C /tmp/testme

cu Andreas



More information about the Pkg-exim4-maintainers mailing list