28.03.2005 =D0=BE 00:21 +0200 Frans Pop =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=
=B0=D0=B2(-=D0=BB=D0=B0):
> > Is it possible that the installer establishes a signal handler which
> > is then inherited by the processes started from the installer, and
> > thus the SIGTERM sent by s-s-d to exim is caught by that handler
> > instead of getting through to exim?
>=20
> Could well be. /usr/sbin/base-config has:
>=20
> <snip>
> if [ "$NEW" ]; then
> # Trap most signals because a ctrl-c killing base-config
> # in the middle of the second stage install would be bad.
> trap "" HUP INT QUIT TERM
>=20
> [some lines not included]
> else
> # Running again on an existing install. Just trap ctrl-c, and
> # cleanly exit.
> trap cleanup INT
> fi
> </snip>
>=20
Here is part of diff of contents of /proc/$PID/status files for exim run
form command line and from base-config:
Message-ID: <email address hidden>
Date: Mon, 28 Mar 2005 15:52:00 +0300
From: Eugeniy Meshcheryakov <email address hidden>
To: Marc Haber <email address hidden>,
<email address hidden>, <email address hidden>
Subject: Re: Long pause when exim daemon is being stopped (was: Re: exim4 prone to break d-i,
bug #297607)
--IJpNTDwzlM2Ie8A6 Disposition: inline Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8
Content-
Content-
28.03.2005 =D0=BE 00:21 +0200 Frans Pop =D0=BD= D0=B0=D0= BF=D0=B8= D1=81=D0= B2(-=D0= BB=D0=B0) : base-config has:
=B0=D0=
> > Is it possible that the installer establishes a signal handler which
> > is then inherited by the processes started from the installer, and
> > thus the SIGTERM sent by s-s-d to exim is caught by that handler
> > instead of getting through to exim?
>=20
> Could well be. /usr/sbin/
>=20
> <snip>
> if [ "$NEW" ]; then
> # Trap most signals because a ctrl-c killing base-config
> # in the middle of the second stage install would be bad.
> trap "" HUP INT QUIT TERM
>=20
> [some lines not included]
> else
> # Running again on an existing install. Just trap ctrl-c, and
> # cleanly exit.
> trap cleanup INT
> fi
> </snip>
>=20
Here is part of diff of contents of /proc/$PID/status files for exim run
form command line and from base-config:
24c24
< SigIgn: 0000000000001000
---
> SigIgn: 0000000000005006
Those new ignored signals are INT (2+1), QUIT (3+1) and TERM (14+1).
--=20
Eugeniy Meshcheryakov
Kyiv National Taras Shevchenko University icc.univ. kiev.ua
Information and Computing Centre
http://
--IJpNTDwzlM2Ie8A6 pgp-signature; name="signature .asc" Description: Digital signature Disposition: inline
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
3wKaC6+ zmozOIRAuFmAJ4g VZsKlJcPSGlUhCD dTn74kB10XwCggg 5S TMDXArvU=
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCR/
PFX062LacYqE9vS
=iVZs
-----END PGP SIGNATURE-----
--IJpNTDwzlM2Ie 8A6--