[pkg-bacula-commits] [bacula] 01/02: Stop daemon in bacula-director-*.prerm unconditionally to fix issue on kfreebsd where the old daemon would keep running. This is because the link in /proc/*/exe becomes invalid after the corresponding binary is deleted.
Carsten Leonhardt
leo at moszumanska.debian.org
Sun Nov 15 15:07:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
leo pushed a commit to branch master
in repository bacula.
commit b8c27b8794b359ef57f2b874f3fdd3e6e4b46864
Author: Carsten Leonhardt <leo at debian.org>
Date: Sun Nov 15 15:36:58 2015 +0100
Stop daemon in bacula-director-*.prerm unconditionally to fix issue on
kfreebsd where the old daemon would keep running. This is because the
link in /proc/*/exe becomes invalid after the corresponding binary is
deleted.
---
debian/bacula-director-db.prerm.in | 4 ++--
debian/changelog | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/bacula-director-db.prerm.in b/debian/bacula-director-db.prerm.in
index 9db9409..8f2cdcf 100644
--- a/debian/bacula-director-db.prerm.in
+++ b/debian/bacula-director-db.prerm.in
@@ -13,8 +13,8 @@ if [ -f /usr/share/dbconfig-common/dpkg/prerm.$THISDB ]; then
dbc_go bacula-director-$THISDB $@
fi
-if test "$1" = "remove" -o "$1" = "deconfigure"; then
- invoke-rc.d bacula-director stop || exit $?-
+if [ -x "/etc/init.d/bacula-director" ]; then
+ invoke-rc.d bacula-director stop || exit $?
fi
# dh_installdeb will replace this with shell code automatically
diff --git a/debian/changelog b/debian/changelog
index a15b221..36f5da5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
-bacula (7.0.5+dfsg-3) unstable; urgency=medium
+bacula (7.0.5+dfsg-3) unstable; urgency=low
* Corrected logrotate configuration. (Closes: #694046, #716666)
+ * Stop daemon in bacula-director-*.prerm unconditionally to fix issue on
+ kfreebsd where the old daemon would keep running
--
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bacula/bacula.git
More information about the pkg-bacula-commits
mailing list