"killall -u snmp" in a pre-install step kills any running snmpd
Bug #1245604 reported by
Eamon Bisson-DOnahue
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-snmp (Debian) |
Fix Released
|
Unknown
|
|||
net-snmp (Ubuntu) |
Fix Released
|
High
|
Christian Ehrhardt |
Bug Description
If I am running snmpd (which I was) and I install snmp (which I did), it kills snmpd due to a pre-install step of the snmp package that calls a 'killall -u snmp' :(
Found the pre-install step here:
user@host3:~$ cat /var/lib/
#! /bin/sh
set -e
action="$1"
killall -u snmp 2>/dev/null || true
if [ "$action" = upgrade ]
then
if [ -L /usr/share/doc/snmp ]; then
rm -f /usr/share/doc/snmp
fi
if [ -d /usr/doc/snmp ]; then
rm -rf /usr/doc/snmp
fi
fi
exit 0
affects: | debian → net-snmp (Debian) |
Changed in net-snmp (Debian): | |
status: | Unknown → New |
Changed in net-snmp (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
Changed in net-snmp (Ubuntu): | |
assignee: | nobody → ChristianEhrhardt (paelzer) |
Changed in net-snmp (Debian): | |
status: | New → Fix Committed |
Changed in net-snmp (Debian): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.