Bug#1077034: exim4-daemon-light: reload breaking change

Slavko linux at slavino.sk
Thu Jul 25 13:23:25 BST 2024


Package: exim4-daemon-light
Version: 4.98-1
Severity: normal

After introducing the systemd service file, the reload command has different
behaviour than previously. Previously reload (re)generated new config and
then reloads daemon. Now just daemon reload happens, thus it doesn't reflects
config changes (i use split config).

I use this in override snippet in exim4.service.d/override.conf to revert
previous behaviour:

[Service]
ExecReload=
ExecReload=/usr/sbin/update-exim4.conf $UPEX4OPTS ; \
           /bin/sh -c "/usr/sbin/exim4 -bP >/dev/null" ; \
           kill -HUP $MAINPID

I took these commands directly from init.d script, perhaps here is better
solution, but do not regenerate config is surprising and potentionaly dangerous
behaviour and it took me some time, until i realized why my new config
is not applied...

regards

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Versions of packages exim4-daemon-light depends on:
ii  debconf [debconf-2.0]  1.5.87
ii  exim4-base             4.98-1
ii  libc6                  2.39-4
ii  libcrypt1              1:4.4.36-4
ii  libdb5.3t64            5.3.28+dfsg2-7
ii  libgnutls-dane0t64     3.8.6-2
ii  libgnutls30t64         3.8.6-2
ii  libidn12               1.42-2
ii  libidn2-0              2.3.7-2
ii  libnsl2                1.3.0-3+b2
ii  libpcre2-8-0           10.42-4+b1

-- 
Slavko



More information about the Pkg-exim4-maintainers mailing list