[Pkg-erlang-devel] Bug#692295: Workaround in couchdb
Dominik George
nik at naturalnet.de
Mon Nov 26 12:34:02 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
reassign 692295 couchdb 1.2.0-2
found 692295 1.2.0-1
retitle 692295 Uses SIGHUP instead of SIGTERM for graceful shutdown
tags 692295 + patch
tags 692295 + upstream
severity 692295 serious
kthxbye
After a bit of discussion with various parties and thinking a lot about
the issue, I came to the conclusion that using SIGHUP for graceful
shutdown is not acceptable. I tested that using SIGTERM also triggers a
graceful shutdown (well, it has to, because simpler init systems, like on
many BSD flavours, simply sends SIGTERM to all processes upon shutdown
...) and patched the wrapper script accordingly.
Attached is a trivial patch that repaces SIGHUP with SIGTERM and it solves
the problem. This should be reported upstream and discussed with the
developers.
However, I think the patch should be applied in Debian, probably by
sponsoring the NMU published at
http://mentors.debian.net/debian/pool/main/c/couchdb/couchdb_1.2.0-2.1.dsc
.
Cheers,
Nik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iQFOBAEBAgA4BQJQs2F9MRpodHRwczovL3d3dy5kb21pbmlrLWdlb3JnZS5kZS9n
cGctcG9saWN5LnR4dC5hc2MACgkQWfyOHW8qgAGJEQf/R/Eosdwnx1JIuCAjUy6T
HNfRY2DDub0+b2SWUWe/PsrsI5IcLorZcIDk7GdeEO0LvtQ/RQjKcTDKos/teKqn
RPGbq4cIKa6L3aLLbnO8KgWfqLBf4C/vxPmNOWOTocJxTWOcic8AHyJesD34elti
i6iQp6lbKvEistMSTGaxxBcbWQqyEftsghn2tL1Z4O9vqzEuddCGgtfTiDk20XDX
roMqkygWlENk/POP2L7m4QZGGaJGgIVICDEpVArGxUIU+5U15T4A33CDZNduKETL
MsVnhbXAiuNVjWDeT32CivIrNb27MgBFCOMOyhACmfq204yYirfAdIyWdzPigfpC
iQ==
=qv0V
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: couchdb_1.2.0-2.1_sighup.patch
Type: text/x-diff
Size: 2185 bytes
Desc:
URL: <http://lists.alioth.debian.org/pipermail/pkg-erlang-devel/attachments/20121126/b66f383a/attachment.patch>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: couchdb_1.2.0-2.1_sighup.patch.asc
URL: <http://lists.alioth.debian.org/pipermail/pkg-erlang-devel/attachments/20121126/b66f383a/attachment.asc>
More information about the Pkg-erlang-devel
mailing list