Bug#297607: Long pause when exim daemon is being stopped (was: Re: exim4 prone to break d-i, bug #297607)
Eugeniy Meshcheryakov
Eugeniy Meshcheryakov <eugen@univ.kiev.ua>, 297607@bugs.debian.org
Mon, 28 Mar 2005 18:44:27 +0300
--3lcZGd9BuhuYXNfi
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
28.03.2005 =D0=BE 18:17 +0300 Eugeniy Meshcheryakov =D0=BD=D0=B0=D0=BF=D0=
=B8=D1=81=D0=B0=D0=B2:
> > I tried adding a line with 'trap "" INT' to the script
> > /usr/lib/base-config/menu/mta but that did not help; apparently that do=
es=20
> > not "untrap" the other signals.
> >=20
> Try this:
>=20
> trap - TERM
>=20
And this does not work. Shell that runs /usr/lib/base-config/menu/mta knows
nothing about ignored signals. So the only way to fix this bug is
unignoring signal(s) in base-config itself, not in such scripts like
that.
--=20
Eugeniy Meshcheryakov
Kyiv National Taras Shevchenko University
Information and Computing Centre
http://icc.univ.kiev.ua
--3lcZGd9BuhuYXNfi
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD4DBQFCSCZaKaC6+zmozOIRAuREAJjkxuo1GtMamDQ4J+Axdg1W+LlnAJ9iMpTg
DOUZkY9gVgA7XWu/n1ZKOw==
=r0fc
-----END PGP SIGNATURE-----
--3lcZGd9BuhuYXNfi--