[Pkg-net-snmp-commits] [pkg-net-snmp] 11/12: fix bug#728546

Hideki Yamane henrich at moszumanska.debian.org
Sun Mar 30 10:01:31 UTC 2014


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch master
in repository pkg-net-snmp.

commit 14458b3a4e540f4068ee3fcb3c2839758eb4105c
Author: Hideki Yamane <henrich at debian.org>
Date:   Sun Mar 30 18:49:20 2014 +0900

    fix bug#728546
---
 debian/changelog    | 3 +++
 debian/snmpd.postrm | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0e3ed40..119dc3e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,9 @@ net-snmp (5.7.2~dfsg-9) UNRELEASED; urgency=medium
       patch (Closes: #640456)
   * debian/snmpd.postinst
     - fix weird user creation (Closes: #482041, #589040, #606784, #610630)
+  * debian/snmpd.postrm
+    - remove unnecessary old /var/agentx/master directory with purge
+      (Closes: #728546)
   * debian/snmp.install
     - move traptoemail to snmptrapd.install releated to above changes
   * debian/{snmpd,snmptrapd}.default
diff --git a/debian/snmpd.postrm b/debian/snmpd.postrm
index dddd4d0..b23db23 100644
--- a/debian/snmpd.postrm
+++ b/debian/snmpd.postrm
@@ -6,7 +6,7 @@ set -e
 
 if [ $1 = purge ]; then  
     rm -f /var/lib/snmp/snmpd.conf*
-    rm -rf /var/run/agentx
+    rm -rf /var/run/agentx /var/agentx/master
     rm -f /var/run/snmpd.pid
     if getent passwd snmp >/dev/null; then
 	if [ -x /usr/sbin/deluser ]; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-net-snmp/pkg-net-snmp.git



More information about the Pkg-net-snmp-commits mailing list