Your message dated Sat, 26 Mar 2016 18:34:47 +0000 with message-id <[email protected]> and subject line Bug#817403: fixed in prometheus 0.17.0+ds-1 has caused the Debian Bug report #817403, regarding prometheus: config reload for sysv init script to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 817403: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817403 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: prometheus Version: 0.16.1-0 Severity: normal Tags: patch hi! (sort of related to #814802) it'd be nice to have config reload in the sysv init script too, e.g. something like the following: diff --git a/debian/init b/debian/init index 4efd831..c05c108 100755 --- a/debian/init +++ b/debian/init @@ -68,3 +68,17 @@ do_stop_cmd() $HELPER $HELPER_ARGS --running || return 0 return 2 } + +do_reload() +{ + log_daemon_msg "Reloading $DESC configuration files" "$NAME" + $HELPER $HELPER_ARGS --running || return 1 + helper_pid=$(cat $PIDFILE) + if [ -z "$helper_pid" ]; then + log_failure_msg "Unable to find PID" + return 1 + fi + start-stop-daemon --stop --signal 1 --quiet \ + --ppid "$helper_pid" --exec "$DAEMON" + log_end_msg $? +} what do you think?
--- End Message ---
--- Begin Message ---Source: prometheus Source-Version: 0.17.0+ds-1 We believe that the bug you reported is fixed in the latest version of prometheus, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Martín Ferrari <[email protected]> (supplier of updated prometheus package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sat, 26 Mar 2016 05:50:45 +0000 Source: prometheus Binary: prometheus Architecture: source amd64 Version: 0.17.0+ds-1 Distribution: unstable Urgency: medium Maintainer: Debian Go Packaging Team <[email protected]> Changed-By: Martín Ferrari <[email protected]> Description: prometheus - Monitoring system and time series database Closes: 814802 817403 818417 Changes: prometheus (0.17.0+ds-1) unstable; urgency=medium . * New upstream release. * debian/init: sleep longer when stopping the daemon. * debian/watch: fix watch file for RC releases. * debian/patches/06-Bug#818417-AWS_SDK_changes.patch: Fix FTBFS, thanks to Filippo Giunchedi for the patch. Closes: #818417. * debian/service: Add systemd unit, thanks to Michael Gebetsroither for the patch. Closes: #814802. * debian/init: Add support for reload, thanks to Filippo Giunchedi for the patch. Closes: #817403. * debian/default: Update default values and help text. Checksums-Sha1: cdd16b5b72ea4a2daaaaa2c3b3538b7d631e107b 2547 prometheus_0.17.0+ds-1.dsc ecbad5b73c8f4d8b74247549ed691fd83c0e79a7 846107 prometheus_0.17.0+ds.orig.tar.gz 78d1993f676e06b29e6dddcca43dfdcfb63a5b6d 18320 prometheus_0.17.0+ds-1.debian.tar.xz 18a6ed21477d735e77b5630e5842e4ae0027911f 5170612 prometheus_0.17.0+ds-1_amd64.deb Checksums-Sha256: 518df3809415d216b44cd68362694d21c5fdb8895ddadce11432c0ac2bc94bcb 2547 prometheus_0.17.0+ds-1.dsc d2911a1c1d0c966ff09ad19d41d73cb522ec5460a512aac2bf97011a58c9c92b 846107 prometheus_0.17.0+ds.orig.tar.gz bb03cfe419e8766261966504a2d43c4362870a50e337533bc373298c8c4ca4ea 18320 prometheus_0.17.0+ds-1.debian.tar.xz 78b1dfe0db8ad9c9cc6251d25b0bcd68a92fe470c3118e729601887a68bf814a 5170612 prometheus_0.17.0+ds-1_amd64.deb Files: a6ae771b7240d9ed72eaf0362951579d 2547 net extra prometheus_0.17.0+ds-1.dsc a1c4ece4b2259ec35d48962d93b91d47 846107 net extra prometheus_0.17.0+ds.orig.tar.gz 468917a63b4c462718ef022a52ad67d2 18320 net extra prometheus_0.17.0+ds-1.debian.tar.xz 75d9b7c6752c6ab0ac167148bc1a55c6 5170612 net extra prometheus_0.17.0+ds-1_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJW9iQyAAoJEF3Y4L+Ro9PaURwP/i7wefhBKzxU5WFCnlMFxpk6 y6df/r/Ty58szAZjwfKhjsUE6oaQPPF4/tTxW+VAJ1bEiyPN0/Mn8rnW+YfL8Rvk rr5isSfYdBQpzouoE//ouP7DJSEp/9D84bd3YiZ3GZdgVfhn0KehNcO+y3Tryodd yfKdpmAG7kF0GiVyfooIcS9TkkFiJ8PKHvrS2Wdo8jaKtD0Sr687IMO89PXWLCo1 9UoCCJ+4Fm3SBo1MTIt5ffeAMfrmUCE9REVsDKKdkHxt/B/nVDiGovrVlr9u+UhT nQ+ZJN5miXZXhsNwDOq6m8PuIPCCnqlZWCyBnrifv+3K/5DiTjQm65nLc98vcUwN GOHkLX9+gPPdMXECoRCkAWy8DNAl40HcAq2xZGZGoz3sFsXjraj4bed2jjsa3g0+ 2iJ5/duWhKc4jQt5qoj6KL1qSY6+4UH0+czrbJ/Mg/zVkN1YiP8II4lValfxrcr7 Ciu3OLsct0s/KNjHrr/rRV1jgEWCixqoB+hqOR47e8vMWuN63SFgZutt8WB2URTZ 82uLFMtiVzNThIBSMLZ+xl4O66ctqzRhicRgbm3tV+C5dEdrj9UsZB16CAirxtGr btNHZCCbjWHbAqrlMuIpx5OlJyLXKIAU7ZQyW+TUVmeyBC1Js/gKhQ73wYlJCRg7 6H6e2aObxZuRYQyfghmQ =PUvw -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Pkg-go-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers
