Package: exim4-base
Version: 4.80-7+deb7u1

Quoting update-exim4.conf manpages [1]:

>        If you are running exim as daemon (as it is in the default setup of the
>        Debian  packages) you should not invoke update-exim4.conf directly when
>        exim is running. For SMTP receiving or queue running, exim  forks,  and
>        the new processes would use the new configuration file, while the orig-
>        inal main exim daemon would still use the old configuration  file.  You
>        should use invoke-rc.d exim4 restart instead.

Now, "/etc/init.d/exim4 restart" updates the config while exim is
running, which is exactly what manpage warns against!

> restart)
>   log_daemon_msg "Stopping MTA for restart"
>   # regenerate exim4.conf
>   upex4conf
>   isconfigvalid
>   stop_exim
>   log_end_msg 0
>   sleep 2
>   log_daemon_msg "Restarting MTA"
>   start_exim
>   log_end_msg 0
>   warn_paniclog
>   ;;

Typo in in the exim4-config manpages (also 4.80-7+deb7u1) or bug in
exim4-base that can lead to problems when exim forks for SMTP receiving
or queue running?

Noticed in wheezy 7.1, as well as current sid (4.84-3).


[1] http://manpages.debian.org/cgi-bin/man.cgi?&query=update-exim4.conf

-- 
Yours virtually,
Jakub Warmuz

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to