On 2009-02-17 "Eugene B. Berdnikov" <[email protected]> wrote:
> Package: exim4-config
> Version: 4.69-9
> Severity: normal
> File: /etc/ppp/ip-up.d/exim4
> Tags: patch

> Queue run from /etc/ppp/ip-up.d/exim4 should be done in background,
> because pppd waits for termination of this script, and other scripts
> in ip-up.d are blocked.

> It should also flush frozen messages, so "-qqf" is changed to "-qqff".


> --- /etc/ppp/ip-up.d/exim4.dpkg-orig  2007-06-18 11:16:25.000000000 +0400
> +++ /etc/ppp/ip-up.d/exim4    2009-02-17 11:07:56.000000000 +0300
> @@ -10,6 +10,9 @@
>  [ -f /etc/default/exim4 ] && . /etc/default/exim4

>  if [ "${QUEUERUNNER}" != "no" ] ; then
> -# Flush exim queue
> -     /usr/sbin/exim4 -qqf ${QUEUERUNNEROPTIONS} ${COMMONOPTIONS}
> +# Start queue runner in backgroud
> +  (
> +     /usr/sbin/exim4 -qqff ${QUEUERUNNEROPTIONS} ${COMMONOPTIONS} \
> +     < /dev/null > /dev/null 2>&1 &
> +  )
>  fi
[...]

Is there a policy on ip-up/down? Should this stuff be done in the
background, or should we be able to rely on the fact that after ip-up
has finished all started jobs are done?

I disagree about unfreezing mails automatically, BTW. They are usually
frozen for a reason and thawing often results in new freeze again.
cu andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to