Bug#1053788: Mismatching references to /etc/default/exim(4)

Eugene Berdnikov bd4 at protva.ru
Wed Oct 11 09:24:51 BST 2023


Package: exim4-config
Version: 4.97~RC1-2
Severity: normal

 Hello.
 
 Systemd unit "exi4.service" have "EnvironmentFile=-/etc/default/exim4",
 while post-install script generates /etc/default/exim (without "4").
 In particular:

% fgrep -r /etc/default/exim /var/lib/dpkg/info
/var/lib/dpkg/info/exim4-config.postinst:       # generate /etc/default/exim4
/var/lib/dpkg/info/exim4-config.postinst:       cat > /etc/default/exim << EOF
/var/lib/dpkg/info/exim4-config.postinst:# /etc/default/exim4
/var/lib/dpkg/info/exim4-config.postinst:       chmod 0644 /etc/default/exim
/var/lib/dpkg/info/exim4-config.postinst:       # generate /etc/default/exim4 on fresh installations.
/var/lib/dpkg/info/exim4-config.postinst:       if test -z "$2" && test ! -e /etc/default/exim4 ; then
/var/lib/dpkg/info/exim4-config.postrm: rm -f /etc/default/exim4
%

 As a result, definitions from generated /etc/default/exim are ignored.
-- 
 Eugene Berdnikov



More information about the Pkg-exim4-maintainers mailing list