[Pkg-net-snmp-devel] Bug#781257: snmp: preinst kills all processes of user snmp

Christian Ehrhardt christian.ehrhardt at canonical.com
Fri Oct 9 11:30:40 UTC 2015

tags 781257 +patch

It turns out that the original motivation why the killall was added is gone.
These days the install scripts no more call deluser (only snmpd.postrm).

So we can just remove the killall introduced by Ubuntu LP: #573391 to fix
LP: #1245604 and Debian Bug #781257

FYI - I'm uploading a comparable fix to the Ubuntu LP to fix it as well
until we merge again.

 snmp.preinst |    2 --
 1 file changed, 2 deletions(-

diff --git a/debian/snmp.preinst b/debian/snmp.preinst
index 8f8c754..a9e7b87 100644
--- a/debian/snmp.preinst
+++ b/debian/snmp.preinst
@@ -12,8 +12,6 @@ install|upgrade)
     rm -rf /usr/doc/snmp

-  killall -u snmp 2>/dev/null || true
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20151009/7e20ee55/attachment.html>

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