Solved: exim4 config "corrupted" following normal update

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
graemev2
Posts: 99
Joined: 2019-01-08 17:28
Has thanked: 2 times

Solved: exim4 config "corrupted" following normal update

#1 Post by graemev2 »

I've never seen this behaviour before, so I took careful note of files and timestamps. (famous last words)

In the past, I've had updates which changed config files which I had edited . These always stopped and offered to "go with the new maintainers version", keep mine, of diff them etc. In this case it appears to have just edited MY version of the file and so stopped exim4 from working. Here My log :



On 08Sep2024 (log says @19:35:45) , I did a an apt-get update (actually synaptic) , followed by a reboot.

When the system came up exim4 was no longer listening on most interfaces. It was only listening on localhost.

A bit of investigation showed the file /etc/exim4/update-exim4.conf.conf had been modified during the update and rebuilt
as /var/lib/exim4/config.autogenerated .

FYI. I keep a git repo of my system file edits, so I can see my last edit
I use a script to regnerate /var/lib/exim4/config.autogenerated and these keep logs of changes.
(obvously this script was not use in this "unapproved" update)

Code: Select all

root@zbox:~/XBOX-Configs/xbox.config/etc/exim4# make diff
diff -X ../../.gitignore    README     /etc/exim4/README
diff -X ../../.gitignore    systemfilter.txt     /etc/exim4/systemfilter.txt
diff -X ../../.gitignore    update-exim4.conf.conf       /etc/exim4/update-exim4.conf.conf
51a52
> dc_local_interfaces='127.0.0.1 ; ::1'
make: [Makefile:33: diff] Error 1 (ignored)
diff -X ../../.gitignore    GPV-commit-changes.sh     /etc/exim4/GPV-commit-changes.sh
diff -X ../../.gitignore    passwd.client     /etc/exim4/passwd.client
diff -X ../../.gitignore -r conf.d	/etc/exim4/conf.d
diff -X ../../.gitignore -r exim.crt	/etc/exim4/exim.crt
diff -X ../../.gitignore -r exim.key	/etc/exim4/exim.key
diff -X ../../.gitignore -r BLESS-KEYS	/etc/exim4/BLESS-KEYS
diff -X ../../.gitignore -r GEN-KEYS    /etc/exim4/GEN-KEYS
diff -X ../../.gitignore -r get-dns-records	/etc/exim4/get-dns-records
diff -X ../../.gitignore -r README	/etc/exim4/README
diff -X ../../.gitignore -r keys	/etc/exim4/keys
Only in keys: dkim_ed25519.private
Only in keys: dkim_ed25519.public
Only in keys: dkim_rsa.private
Only in keys: dkim_rsa.public
Only in keys: README
make: [Makefile:43: diff] Error 1 (ignored)
You can see the line > dc_local_interfaces='127.0.0.1 ; ::1' was added to

Code: Select all

root@zbox:~/XBOX-Configs/xbox.config/etc/exim4# ls -l update-exim4.conf.conf       /etc/exim4/update-exim4.conf.conf
-rw-r--r-- 1 root root 2840 Sep  8 19:40 /etc/exim4/update-exim4.conf.conf
-rw-r--r-- 1 root root 2802 May 18 19:28 update-exim4.conf.conf

root@zbox:~/XBOX-Configs/xbox.config/etc/exim4# ls -l /etc/exim4/*update-exim4*
-rw-r--r-- 1 root root 2840 Sep  8 19:40 /etc/exim4/update-exim4.conf.conf
-rw-r--r-- 1 root root 2497 Apr  3 18:27 /etc/exim4/update-exim4.conf.conf~

  /var/lib/exim4:
  total used in directory 108 available 5.3 GiB
  drwxr-xr-x  2 root root         4096 Sep  8 20:23 .
  -rw-r--r--  1 root Debian-exim 29388 Sep  8 20:23 config.autogenerated
  drwxr-xr-x 72 root root         4096 Sep  8 19:47 ..
  -rw-r--r--  1 root root        29300 Apr 12 15:50 config.autogenerated.2024-04-12_15:50:01
  -rw-r--r--  1 root root        29469 Apr 12 15:39 config.autogenerated.2024-04-12_15:39:30
  -rw-r--r--  1 root root            4 Apr  2 16:45 berkeleydbvers.txt

root@zbox:/etc/exim4# diff /var/lib/exim4/config.autogenerated.2024-04-12_15:50:01  /var/lib/exim4/config.autogenerated.broken-by-apt-upgrade 
51a52,54
> .ifndef MAIN_LOCAL_INTERFACES
> MAIN_LOCAL_INTERFACES=<; 127.0.0.1 ; ::1
> .endif
56c59
< MAIN_PACKAGE_VERSION=4.96-15+deb12u4
---
> MAIN_PACKAGE_VERSION=4.96-15+deb12u5
59c62
< MAIN_LOCAL_DOMAINS=@:localhost:ybox.home:home:wellesleydrive:xbox.home
---
> MAIN_LOCAL_DOMAINS=@:localhost:ybox.home:home:wellesleydrive:xbox.home:zbox.home

Note there are no "dist upgrade" files of other indication of "you have edited a file, choose original/maintainers/diff" ...

Code: Select all

root@zbox:~/XBOX-Configs/xbox.config/etc/exim4# date
Sun  8 Sep 22:29:27 BST 2024

root@zbox:~/XBOX-Configs/xbox.config/etc/exim4# uptime
 22:29:30 up  2:06,  1 user,  load average: 0.59, 0.58, 0.61

root@zbox:~/XBOX-Configs/xbox.config/etc/exim4# cat /var/log/apt/history.log

Start-Date: 2024-09-08  19:35:45
Commandline: /usr/sbin/synaptic
Requested-By: graeme (1501)
Install: libparams-validate-perl:amd64 (1.31-1, automatic), linux-headers-6.1.0-25-common:amd64 (6.1.106-3, automatic), libgetopt-long-descriptive-perl:amd64 (0.111-1, automatic), linux-headers-6.1.0-25-amd64:amd64 (6.1.106-3, automatic), linux-image-6.1.0-25-amd64:amd64 (6.1.106-3, automatic)
Upgrade: emacs:amd64 (1:28.2+1-15, 1:28.2+1-15+deb12u3), libcups2:amd64 (2.4.2-3+deb12u5, 2.4.2-3+deb12u7), libcurl4:amd64 (7.88.1-10+deb12u5, 7.88.1-10+deb12u7), initramfs-tools-core:amd64 (0.142, 0.142+deb12u1), libc6-i386:amd64 (2.36-9+deb12u7, 2.36-9+deb12u8), calamares-settings-debian:amd64 (12.0.9-1, 12.0.9-1+deb12u1), udev:amd64 (252.22-1~deb12u1, 252.30-1~deb12u2), libvpx7:amd64 (1.12.0-1+deb12u2, 1.12.0-1+deb12u3), libkf5kiontlm5:amd64 (5.103.0-1, 5.103.0-1+deb12u1), krb5-locales:amd64 (1.20.1-2+deb12u1, 1.20.1-2+deb12u2), python3.11:amd64 (3.11.2-6, 3.11.2-6+deb12u3), libltdl7:amd64 (2.4.7-5, 2.4.7-7~deb12u1), exim4:amd64 (4.96-15+deb12u4, 4.96-15+deb12u5), bind9-host:amd64 (1:9.18.24-1, 1:9.18.28-1~deb12u2), libgssapi-krb5-2:amd64 (1.20.1-2+deb12u1, 1.20.1-2+deb12u2), libcurl3-gnutls:amd64 (7.88.1-10+deb12u5, 7.88.1-10+deb12u7), openssh-client:amd64 (1:9.2p1-2+deb12u2, 1:9.2p1-2+deb12u3), libgdk-pixbuf2.0-bin:amd64 (2.42.10+dfsg-1+b1, 2.42.10+dfsg-1+deb12u1), bubblewrap:amd64 (0.8.0-2, 0.8.0-2+deb12u1), libnss-myhostname:amd64 (252.22-1~deb12u1, 252.30-1~deb12u2), wpasupplicant:amd64 (2:2.10-12, 2:2.10-12+deb12u2), libglib2.0-bin:amd64 (2.74.6-2+deb12u2, 2.74.6-2+deb12u3), firefox-esr-l10n-sv-se:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-es-ar:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-es-cl:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-es-es:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-es-mx:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), cups-common:amd64 (2.4.2-3+deb12u5, 2.4.2-3+deb12u7), kio:amd64 (5.103.0-1, 5.103.0-1+deb12u1), gstreamer1.0-gl:amd64 (1.22.0-3+deb12u1, 1.22.0-3+deb12u2), libpam-systemd:amd64 (252.22-1~deb12u1, 252.30-1~deb12u2), libqt5core5a:amd64 (5.15.8+dfsg-11, 5.15.8+dfsg-11+deb12u2), libkf5kiowidgets5:amd64 (5.103.0-1, 5.103.0-1+deb12u1), qt5-gtk-platformtheme:amd64 (5.15.8+dfsg-11, 5.15.8+dfsg-11+deb12u2), libarchive13:amd64 (3.6.2-1, 3.6.2-1+deb12u1), usb.ids:amd64 (2024.01.20-0+deb12u1, 2024.07.04-0+deb12u1), libaom3:amd64 (3.6.0-1, 3.6.0-1+deb12u1), firefox-esr-l10n-pa-in:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), libgtk2.0-bin:amd64 (2.24.33-2, 2.24.33-2+deb12u1), dovecot-imapd:amd64 (1:2.3.19.1+dfsg1-2.1, 1:2.3.19.1+dfsg1-2.1+deb12u1), libtool-bin:amd64 (2.4.7-5, 2.4.7-7~deb12u1), firefox-esr-l10n-en-gb:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), temurin-8-jdk:amd64 (8.0.412.0.0+8, 8.0.422.0.0+5), gir1.2-gdkpixbuf-2.0:amd64 (2.42.10+dfsg-1+b1, 2.42.10+dfsg-1+deb12u1), bluetooth:amd64 (5.66-1+deb12u1, 5.66-1+deb12u2), libgs10-common:amd64 (10.0.0~dfsg-11+deb12u4, 10.0.0~dfsg-11+deb12u5), bluez-obexd:amd64 (5.66-1+deb12u1, 5.66-1+deb12u2), cups-client:amd64 (2.4.2-3+deb12u5, 2.4.2-3+deb12u7), cups-ppdc:amd64 (2.4.2-3+deb12u5, 2.4.2-3+deb12u7), libpathplan4:amd64 (2.42.2-7+b3, 2.42.2-7+deb12u1), cups-daemon:amd64 (2.4.2-3+deb12u5, 2.4.2-3+deb12u7), liblua5.4-0:amd64 (5.4.4-3, 5.4.4-3+deb12u1), firefox-esr-l10n-ast:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), libjavascriptcoregtk-4.1-0:amd64 (2.44.2-1~deb12u1, 2.44.3-1~deb12u1), linux-compiler-gcc-12-x86:amd64 (6.1.90-1, 6.1.106-3), libgs10:amd64 (10.0.0~dfsg-11+deb12u4, 10.0.0~dfsg-11+deb12u5), software-properties-common:amd64 (0.99.30-4, 0.99.30-4.1~deb12u1), graphviz:amd64 (2.42.2-7+b3, 2.42.2-7+deb12u1), libsystemd0:amd64 (252.22-1~deb12u1, 252.30-1~deb12u2), libqt5network5:amd64 (5.15.8+dfsg-11, 5.15.8+dfsg-11+deb12u2), libfreetype6:amd64 (2.12.1+dfsg-5, 2.12.1+dfsg-5+deb12u3), gir1.2-javascriptcoregtk-4.0:amd64 (2.44.2-1~deb12u1, 2.44.3-1~deb12u1), libcjson1:amd64 (1.7.15-1, 1.7.15-1+deb12u1), emacs-gtk:amd64 (1:28.2+1-15, 1:28.2+1-15+deb12u3), firefox-esr-l10n-nb-no:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), libgvpr2:amd64 (2.42.2-7+b3, 2.42.2-7+deb12u1), libnss-systemd:amd64 (252.22-1~deb12u1, 252.30-1~deb12u2), libgvc6:amd64 (2.42.2-7+b3, 2.42.2-7+deb12u1), libgstreamer-gl1.0-0:amd64 (1.22.0-3+deb12u1, 1.22.0-3+deb12u2), gir1.2-webkit2-4.0:amd64 (2.44.2-1~deb12u1, 2.44.3-1~deb12u1), linux-headers-amd64:amd64 (6.1.90-1, 6.1.106-3), openssh-server:amd64 (1:9.2p1-2+deb12u2, 1:9.2p1-2+deb12u3), exim4-config:amd64 (4.96-15+deb12u4, 4.96-15+deb12u5), libpython3.11-minimal:amd64 (3.11.2-6, 3.11.2-6+deb12u3), libgdk-pixbuf-2.0-0:amd64 (2.42.10+dfsg-1+b1, 2.42.10+dfsg-1+deb12u1), libqt5dbus5:amd64 (5.15.8+dfsg-11, 5.15.8+dfsg-11+deb12u2), libgail18:amd64 (2.24.33-2, 2.24.33-2+deb12u1), libkrb5support0:amd64 (1.20.1-2+deb12u1, 1.20.1-2+deb12u2), python3-software-properties:amd64 (0.99.30-4, 0.99.30-4.1~deb12u1), gir1.2-gtk-3.0:amd64 (3.24.38-2~deb12u1, 3.24.38-2~deb12u2), libglib2.0-data:amd64 (2.74.6-2+deb12u2, 2.74.6-2+deb12u3), libgtk2.0-common:amd64 (2.24.33-2, 2.24.33-2+deb12u1), gstreamer1.0-alsa:amd64 (1.22.0-3+deb12u1, 1.22.0-3+deb12u2), gir1.2-gst-plugins-base-1.0:amd64 (1.22.0-3+deb12u1, 1.22.0-3+deb12u2), firefox-esr-l10n-hi-in:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), systemd:amd64 (252.22-1~deb12u1, 252.30-1~deb12u2), libudev1:amd64 (252.22-1~deb12u1, 252.30-1~deb12u2), libqt5widgets5:amd64 (5.15.8+dfsg-11, 5.15.8+dfsg-11+deb12u2), libpostproc56:amd64 (7:5.1.4-0+deb12u1, 7:5.1.6-0+deb12u1), linux-kbuild-6.1:amd64 (6.1.90-1, 6.1.106-3), exim4-base:amd64 (4.96-15+deb12u4, 4.96-15+deb12u5), cups-ipp-utils:amd64 (2.4.2-3+deb12u5, 2.4.2-3+deb12u7), libcgraph6:amd64 (2.42.2-7+b3, 2.42.2-7+deb12u1), dovecot-core:amd64 (1:2.3.19.1+dfsg1-2.1, 1:2.3.19.1+dfsg1-2.1+deb12u1), libmagickcore-6.q16-6-extra:amd64 (8:6.9.11.60+dfsg-1.6+deb12u1, 8:6.9.11.60+dfsg-1.6+deb12u2), libqt5gui5:amd64 (5.15.8+dfsg-11, 5.15.8+dfsg-11+deb12u2), libltdl-dev:amd64 (2.4.7-5, 2.4.7-7~deb12u1), libgtk2.0-0:amd64 (2.24.33-2, 2.24.33-2+deb12u1), libc6:amd64 (2.36-9+deb12u7, 2.36-9+deb12u8), locales:amd64 (2.36-9+deb12u7, 2.36-9+deb12u8), libcdt5:amd64 (2.42.2-7+b3, 2.42.2-7+deb12u1), ghostscript:amd64 (10.0.0~dfsg-11+deb12u4, 10.0.0~dfsg-11+deb12u5), libssl3:amd64 (3.0.11-1~deb12u2, 3.0.14-1~deb12u2), libndp0:amd64 (1.8-1, 1.8-1+deb12u1), gstreamer1.0-x:amd64 (1.22.0-3+deb12u1, 1.22.0-3+deb12u2), firefox-esr-l10n-nn-no:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), libkrb5-3:amd64 (1.20.1-2+deb12u1, 1.20.1-2+deb12u2), libqt5printsupport5:amd64 (5.15.8+dfsg-11, 5.15.8+dfsg-11+deb12u2), libpython3.11:amd64 (3.11.2-6, 3.11.2-6+deb12u3), linux-image-amd64:amd64 (6.1.90-1, 6.1.106-3), libavcodec59:amd64 (7:5.1.4-0+deb12u1, 7:5.1.6-0+deb12u1), libqt5xml5:amd64 (5.15.8+dfsg-11, 5.15.8+dfsg-11+deb12u2), bash:amd64 (5.2.15-2+b2, 5.2.15-2+b7), libmagickwand-6.q16-6:amd64 (8:6.9.11.60+dfsg-1.6+deb12u1, 8:6.9.11.60+dfsg-1.6+deb12u2), firefox-esr-l10n-gu-in:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), shim-helpers-amd64-signed:amd64 (1+15.7+1, 1+15.8+1~deb12u1), gstreamer1.0-plugins-base:amd64 (1.22.0-3+deb12u1, 1.22.0-3+deb12u2), bind9-dnsutils:amd64 (1:9.18.24-1, 1:9.18.28-1~deb12u2), base-files:amd64 (12.4+deb12u5, 12.4+deb12u7), libk5crypto3:amd64 (1.20.1-2+deb12u1, 1.20.1-2+deb12u2), libpython3.11-stdlib:amd64 (3.11.2-6, 3.11.2-6+deb12u3), software-properties-gtk:amd64 (0.99.30-4, 0.99.30-4.1~deb12u1), libavutil57:amd64 (7:5.1.4-0+deb12u1, 7:5.1.6-0+deb12u1), firefox-esr-l10n-ar:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-be:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-bg:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-bn:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-bs:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-ca:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-cs:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-cy:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-da:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-de:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-el:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-eo:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-et:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-eu:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-fa:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-fi:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-fr:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-gl:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-he:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-hr:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-hu:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-id:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-is:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-it:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-ja:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-kk:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-km:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-kn:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-ko:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-lt:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-lv:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-mk:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-mr:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-nl:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-pl:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-ro:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-ru:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-si:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-sk:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-sl:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-sq:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-sr:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-ta:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), libqt5sql5:amd64 (5.15.8+dfsg-11, 5.15.8+dfsg-11+deb12u2), firefox-esr-l10n-te:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-th:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-tr:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-uk:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-vi:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), libswscale6:amd64 (7:5.1.4-0+deb12u1, 7:5.1.6-0+deb12u1), libjavascriptcoregtk-4.0-18:amd64 (2.44.2-1~deb12u1, 2.44.3-1~deb12u1), libcupsimage2:amd64 (2.4.2-3+deb12u5, 2.4.2-3+deb12u7), libwebkit2gtk-4.1-0:amd64 (2.44.2-1~deb12u1, 2.44.3-1~deb12u1), distro-info-data:amd64 (0.58+deb12u1, 0.58+deb12u2), libtool:amd64 (2.4.7-5, 2.4.7-7~deb12u1), firefox-esr-l10n-pt-br:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-pt-pt:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), libmagickcore-6.q16-6:amd64 (8:6.9.11.60+dfsg-1.6+deb12u1, 8:6.9.11.60+dfsg-1.6+deb12u2), libseccomp2:amd64 (2.5.4-1+b3, 2.5.4-1+deb12u1), libbluetooth3:amd64 (5.66-1+deb12u1, 5.66-1+deb12u2), libc-dev-bin:amd64 (2.36-9+deb12u7, 2.36-9+deb12u8), libglib2.0-0:amd64 (2.74.6-2+deb12u2, 2.74.6-2+deb12u3), openssh-sftp-server:amd64 (1:9.2p1-2+deb12u2, 1:9.2p1-2+deb12u3), nano:amd64 (7.2-1, 7.2-1+deb12u1), emacs-el:amd64 (1:28.2+1-15, 1:28.2+1-15+deb12u3), libc-l10n:amd64 (2.36-9+deb12u7, 2.36-9+deb12u8), libgtk-3-0:amd64 (3.24.38-2~deb12u1, 3.24.38-2~deb12u2), bind9-libs:amd64 (1:9.18.24-1, 1:9.18.28-1~deb12u2), python3.11-minimal:amd64 (3.11.2-6, 3.11.2-6+deb12u3), gtk2-engines-pixbuf:amd64 (2.24.33-2, 2.24.33-2+deb12u1), liblab-gamut1:amd64 (2.42.2-7+b3, 2.42.2-7+deb12u1), cups-core-drivers:amd64 (2.4.2-3+deb12u5, 2.4.2-3+deb12u7), libmail-dkim-perl:amd64 (1.20230212-1, 1.20230212-2~deb12u1), libc-bin:amd64 (2.36-9+deb12u7, 2.36-9+deb12u8), libsystemd-shared:amd64 (252.22-1~deb12u1, 252.30-1~deb12u2), libc-devtools:amd64 (2.36-9+deb12u7, 2.36-9+deb12u8), libswresample4:amd64 (7:5.1.4-0+deb12u1, 7:5.1.6-0+deb12u1), imagemagick-6-common:amd64 (8:6.9.11.60+dfsg-1.6+deb12u1, 8:6.9.11.60+dfsg-1.6+deb12u2), gtk-update-icon-cache:amd64 (3.24.38-2~deb12u1, 3.24.38-2~deb12u2), firefox-esr-l10n-zh-cn:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), firefox-esr-l10n-zh-tw:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), initramfs-tools:amd64 (0.142, 0.142+deb12u1), libgtk-3-common:amd64 (3.24.38-2~deb12u1, 3.24.38-2~deb12u2), libc6-dev:amd64 (2.36-9+deb12u7, 2.36-9+deb12u8), libkf5kiocore5:amd64 (5.103.0-1, 5.103.0-1+deb12u1), libqt5sql5-sqlite:amd64 (5.15.8+dfsg-11, 5.15.8+dfsg-11+deb12u2), systemd-sysv:amd64 (252.22-1~deb12u1, 252.30-1~deb12u2), libgtk-3-bin:amd64 (3.24.38-2~deb12u1, 3.24.38-2~deb12u2), python3-idna:amd64 (3.3-1, 3.3-1+deb12u1), libwebkit2gtk-4.0-37:amd64 (2.44.2-1~deb12u1, 2.44.3-1~deb12u1), bluez:amd64 (5.66-1+deb12u1, 5.66-1+deb12u2), eximon4:amd64 (4.96-15+deb12u4, 4.96-15+deb12u5), libgnutls30:amd64 (3.7.9-2+deb12u2, 3.7.9-2+deb12u3), libavformat59:amd64 (7:5.1.4-0+deb12u1, 7:5.1.6-0+deb12u1), cups:amd64 (2.4.2-3+deb12u5, 2.4.2-3+deb12u7), curl:amd64 (7.88.1-10+deb12u5, 7.88.1-10+deb12u7), libkf5kiogui5:amd64 (5.103.0-1, 5.103.0-1+deb12u1), firefox-esr-l10n-ne-np:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), amd64-microcode:amd64 (3.20230808.1.1~deb12u1, 3.20240820.1~deb12u1), libgs-common:amd64 (10.0.0~dfsg-11+deb12u4, 10.0.0~dfsg-11+deb12u5), hostapd:amd64 (2:2.10-12, 2:2.10-12+deb12u2), libgstreamer-plugins-base1.0-0:amd64 (1.22.0-3+deb12u1, 1.22.0-3+deb12u2), firefox-esr:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), exim4-daemon-heavy:amd64 (4.96-15+deb12u4, 4.96-15+deb12u5), cups-server-common:amd64 (2.4.2-3+deb12u5, 2.4.2-3+deb12u7), emacs-common:amd64 (1:28.2+1-15, 1:28.2+1-15+deb12u3), shim-signed:amd64 (1.39+15.7-1, 1.44~1+deb12u1+15.8-1~deb12u1), firefox-esr-l10n-ga-ie:amd64 (115.11.0esr-1~deb12u1, 115.15.0esr-1~deb12u1), libcurl3-nss:amd64 (7.88.1-10+deb12u5, 7.88.1-10+deb12u7), libpq5:amd64 (15.6-0+deb12u1, 15.8-0+deb12u1), libgnutls-dane0:amd64 (3.7.9-2+deb12u2, 3.7.9-2+deb12u3), openjdk-17-jre-headless:amd64 (17.0.11+9-1~deb12u1, 17.0.12+7-2~deb12u1), shim-signed-common:amd64 (1.39+15.7-1, 1.44~1+deb12u1+15.8-1~deb12u1), dns-root-data:amd64 (2023010101, 2024041801~deb12u1), intel-microcode:amd64 (3.20231114.1~deb12u1, 3.20240813.1~deb12u1), libkworkspace5-5:amd64 (4:5.27.5-2+deb12u1, 4:5.27.5-2+deb12u2), emacs-bin-common:amd64 (1:28.2+1-15, 1:28.2+1-15+deb12u3), libgail-common:amd64 (2.24.33-2, 2.24.33-2+deb12u1), shim-unsigned:amd64 (15.7-1, 15.8-1~deb12u1), openssl:amd64 (3.0.11-1~deb12u2, 3.0.14-1~deb12u2), linux-libc-dev:amd64 (6.1.90-1, 6.1.106-3), libavfilter8:amd64 (7:5.1.4-0+deb12u1, 7:5.1.6-0+deb12u1), libgdk-pixbuf2.0-common:amd64 (2.42.10+dfsg-1, 2.42.10+dfsg-1+deb12u1)
End-Date: 2024-09-08  19:49:03

Start-Date: 2024-09-08  20:01:17
Commandline: apt-get autoremove
Requested-By: graeme (1501)
Remove: linux-headers-6.1.0-21-amd64:amd64 (6.1.90-1), linux-headers-6.1.0-21-common:amd64 (6.1.90-1), linux-image-6.1.0-21-amd64:amd64 (6.1.90-1)
End-Date: 2024-09-08  20:01:30
root@zbox:~/XBOX-Configs/xbox.config/etc/exim4# who -r
         run-level 5  2024-09-08 20:23

So things happened around (just before?) reboot.



These are all listed in the Upgrade:

exim4:amd64 (4.96-15+deb12u4, 4.96-15+deb12u5),
exim4-config:amd64 (4.96-15+deb12u4, 4.96-15+deb12u5),
exim4-base:amd64 (4.96-15+deb12u4, 4.96-15+deb12u5),
eximon4:amd64 (4.96-15+deb12u4, 4.96-15+deb12u5),
exim4-daemon-heavy:amd64 (4.96-15+deb12u4, 4.96-15+deb12u5),

So it looks as if the update just out of the blue, modified my file and regenerated it.

Code: Select all

root@zbox:/etc/exim4# uname -a
Linux zbox 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux
root@zbox:/etc/exim4# cat /etc/*release*
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@zbox:/etc/exim4#
Just to be clear, it added the following lines:

Code: Select all



dc_local_interfaces='127.0.0.1 ; ::1'
including the blank lines
Last edited by graemev2 on 2024-10-07 18:01, edited 1 time in total.

mike.deb
Posts: 2
Joined: 2011-07-09 16:49

Re: exim4 config "corrupted" following normal update

#2 Post by mike.deb »

Just had a similar issue with exim4 4.96-15+deb12u5, it edited our config files and caused the headers_rewrite option to be set multiple times, causing exim4 to fail to start

Aki
Global Moderator
Global Moderator
Posts: 3949
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 518 times

Re: exim4 config "corrupted" following normal update

#3 Post by Aki »

Hello @mike.deb and @graemev2,

Is there a bug report open in the Debian Bug Tracking System? If not, did one of you open one?
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
graemev2
Posts: 99
Joined: 2019-01-08 17:28
Has thanked: 2 times

Re: exim4 config "corrupted" following normal update

#4 Post by graemev2 »

Bug#1081253

(for some reason the email about this wiki update got marked as spam ...I need to look into that)

Aki
Global Moderator
Global Moderator
Posts: 3949
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 518 times

Re: exim4 config "corrupted" following normal update

#5 Post by Aki »

Hello,
graemev2 wrote: 2024-10-07 09:21 Bug#1081253
(for some reason the email about this wiki update got marked as spam ...I need to look into that)
Thanks for reporting back.

I'm glad you sorted it out. :)

So, if I understand correctly, it happened because the /etc/exim4/update-exim4.conf configuration file was missing some default settings, which were then added by the postinst script when you upgraded the package to the new version.

Please, mark the discussion as "solved" by manually adding the text tag "[Solved]" at the beginning of the subject of the first message.

Happy Debian. :D
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
graemev2
Posts: 99
Joined: 2019-01-08 17:28
Has thanked: 2 times

Re: exim4 config "corrupted" following normal update

#6 Post by graemev2 »

Well the current manual indicates you can remove the dc_local_interfaces and it defaults to "all" which was what I wanted. However the update process adds

Code: Select all

dc_local_interfaces='127.0.0.1 ; ::1'
In that case, I feel it contradicts the manual. So they should be brought into line

Post Reply