Bug#629610: exim4: misleading (?) "failed" message after paniclog warning

Ross Boylan ross at biostat.ucsf.edu
Thu Jun 9 16:53:34 UTC 2011


# date; EX4DEBUG=1 /etc/init.d/exim4 restart
Thu Jun  9 09:51:22 PDT 2011
now debugging /etc/init.d/exim4 restart
+ LANG=C
+ export LANG
+ QUEUERUNNER=combined
+ QUEUEINTERVAL=30m
+ UPEX4OPTS=
+ PIDFILE=/var/run/exim4/exim.pid
+ QRPIDFILE=/var/run/exim4/eximqr.pid
+ [ -f /etc/default/exim4 ]
+ . /etc/default/exim4
+ EX4DEF_VERSION=
+ QUEUERUNNER=combined
+ QUEUEINTERVAL=30m
+ COMMONOPTIONS=
+ QUEUERUNNEROPTIONS=
+ QFLAGS=
+ SMTPLISTENEROPTIONS=
+ [ -f /etc/inetd.conf ]
+ DAEMON=/usr/sbin/exim4
+ NAME=exim4
+ log_daemon_msg Stopping MTA for restart
+ [ -z Stopping MTA for restart ]
+ log_daemon_msg_pre Stopping MTA for restart
+ :
+ [ -z  ]
+ echo -n Stopping MTA for restart:
Stopping MTA for restart:+ return
+ upex4conf
+ UPEX4CONF=update-exim4.conf
+ OLDIFS=

+ IFS=:
+ [ -x /usr/local/sbin/update-exim4.conf ]
+ [ -x /usr/local/bin/update-exim4.conf ]
+ [ -x /usr/sbin/update-exim4.conf ]
+ IFS=

+ /usr/sbin/update-exim4.conf
+ return 0
+ isconfigvalid
+ /usr/sbin/exim4 -bV
+ stop_exim
+ [ -f /var/run/exim4/eximqr.pid ]
+ [ -f /var/run/exim4/exim.pid ]
+ killproc -p /var/run/exim4/exim.pid /usr/sbin/exim4
+ local pidfile sig status base i name_param is_term_sig
+ pidfile=
+ name_param=
+ is_term_sig=no
+ OPTIND=1
+ getopts p: opt
+ pidfile=/var/run/exim4/exim.pid
+ getopts p: opt
+ shift 2
+ base=exim4
+ [ ! /var/run/exim4/exim.pid ]
+ name_param=--pidfile /var/run/exim4/exim.pid
+ echo
+ sed -e s/^-\(.*\)/\1/
+ sig=
+ echo
+ sed -e s/^SIG\(.*\)/\1/
+ sig=
+ [ -z  -o  = 15 -o  = TERM ]
+ is_term_sig=yes
+ status=0
+ [ ! yes = yes ]
+ /sbin/start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/exim4/exim.pid
+ [ 0 = 1 ]
+ [ 0 = 0 -a yes = yes -a /var/run/exim4/exim.pid ]
+ pidofproc -p /var/run/exim4/exim.pid /usr/sbin/exim4
+ local pidfile line i pids= status specified pid
+ pidfile=
+ specified=
+ OPTIND=1
+ getopts p: opt
+ pidfile=/var/run/exim4/exim.pid
+ specified=1
+ getopts p: opt
+ shift 2
+ base=exim4
+ [ ! 1 ]
+ [ -n /var/run/exim4/exim.pid -a -r /var/run/exim4/exim.pid ]
+ read pid
+ [ -n 5906 ]
+ kill -0 5906
+
+ ps 5906
+ return 1
+ rm -f /var/run/exim4/exim.pid
+ return 0
+ log_progress_msg exim4_listener
+ [ -z exim4_listener ]
+ echo -n  exim4_listener
 exim4_listener+ log_end_msg 0
+ [ -z 0 ]
+ retval=0
+ log_end_msg_pre 0
+ :
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ -t 1 ]
+ [ xdumb != x ]
+ [ xdumb != xdumb ]
+ FANCYTTY=0
+ false
+ RED=
+ YELLOW=
+ NORMAL=
+ [ 0 -eq 0 ]
+ echo .
.
+ log_end_msg_post 0
+ :
+ return 0
+ sleep 2
+ log_daemon_msg Restarting MTA
+ [ -z Restarting MTA ]
+ log_daemon_msg_pre Restarting MTA
+ :
+ [ -z  ]
+ echo -n Restarting MTA:
Restarting MTA:+ return
+ start_exim
+ [ -e /var/run/exim4 ]
+ start_daemon -p /var/run/exim4/exim.pid /usr/sbin/exim4 -bd -q30m
+ local force nice pidfile exec i args
+ force=0
+ nice=0
+ pidfile=/dev/null
+ OPTIND=1
+ getopts fn:p: opt
+ pidfile=/var/run/exim4/exim.pid
+ getopts fn:p: opt
+ shift 2
+ [ /usr/sbin/exim4 = -- ]
+ exec=/usr/sbin/exim4
+ shift
+ args=--start --nicelevel 0 --quiet --oknodo
+ [ 0 = 1 ]
+ [ /var/run/exim4/exim.pid ]
+ /sbin/start-stop-daemon --start --nicelevel 0 --quiet --oknodo --chdir /etc/bacula --exec /usr/sbin/exim4 --oknodo --pidfile /var/run/exim4/exim.pid -- -bd -q30m
+ log_progress_msg exim4
+ [ -z exim4 ]
+ echo -n  exim4
 exim4+ log_end_msg 0
+ [ -z 0 ]
+ retval=0
+ log_end_msg_pre 0
+ :
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ -t 1 ]
+ [ xdumb != x ]
+ [ xdumb != xdumb ]
+ FANCYTTY=0
+ false
+ RED=
+ YELLOW=
+ NORMAL=
+ [ 0 -eq 0 ]
+ echo .
.
+ log_end_msg_post 0
+ :
+ return 0
+ warn_paniclog
+ [ -s /var/log/exim4/paniclog ]
+ [ -z  ]
+ log_failure_msg ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system possibly broken
+ [ -n ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system possibly broken ]
+ log_begin_msg ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system possibly broken ...
+ [ -z ALERT: ]
+ echo -n ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system possibly broken ...
ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system possibly broken ...+ log_end_msg 1
+ [ -z 1 ]
+ retval=1
+ log_end_msg_pre 1
+ :
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ -t 1 ]
+ [ xdumb != x ]
+ [ xdumb != xdumb ]
+ FANCYTTY=0
+ false
+ RED=
+ YELLOW=
+ NORMAL=
+ [ 1 -eq 0 ]
+ [ 1 -eq 255 ]
+ /bin/echo -e  failed!
 failed!
+ log_end_msg_post 1
+ :
+ return 1
+ true
+ exit 0







More information about the Pkg-exim4-maintainers mailing list