[Pkg-net-snmp-commits] r96 - branches/net-snmp52/debian
Jochen Friedrich
jochen at alioth.debian.org
Thu Nov 16 14:26:13 CET 2006
Author: jochen
Date: 2006-11-16 13:59:36 +0100 (Thu, 16 Nov 2006)
New Revision: 96
Modified:
branches/net-snmp52/debian/changelog
branches/net-snmp52/debian/snmpd.postrm
Log:
Patch to make postrm succeed even if deluser has been removed.
Modified: branches/net-snmp52/debian/changelog
===================================================================
--- branches/net-snmp52/debian/changelog 2006-11-15 22:49:10 UTC (rev 95)
+++ branches/net-snmp52/debian/changelog 2006-11-16 12:59:36 UTC (rev 96)
@@ -1,3 +1,9 @@
+net-snmp (5.2.3-4) unstable; urgency=low
+
+ * Don't fail postrm on non-existant deluser (Closes: #398540)
+
+ -- Jochen Friedrich <jochen at scram.de> Thu, 16 Nov 2006 13:58:27 +0100
+
net-snmp (5.2.3-3) unstable; urgency=low
* Apply patch from Dann Frazier (dannf at debian.org) to add
Modified: branches/net-snmp52/debian/snmpd.postrm
===================================================================
--- branches/net-snmp52/debian/snmpd.postrm 2006-11-15 22:49:10 UTC (rev 95)
+++ branches/net-snmp52/debian/snmpd.postrm 2006-11-16 12:59:36 UTC (rev 96)
@@ -10,7 +10,11 @@
rm -f /var/run/agentx
rm -f /var/run/snmpd.pid
rm -f /var/run/snmptrapd.pid
- deluser --quiet --system snmp
+ if [ -x /usr/sbin/deluser ]; then
+ deluser --quiet --system snmp
+ else
+ echo "Can't remove user snmp. Please remove this user by hand."
+ fi
fi
exit 0
More information about the Pkg-net-snmp-commits
mailing list