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

Reply via email to