[Bug 1245604] [NEW] killall -u snmp in a pre-install step kills any running snmpd

2013-10-28 Thread Eamon Bisson-DOnahue
Public bug reported:

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/dpkg/info/snmp.preinst 
#! /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: net-snmp (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in Ubuntu.
https://bugs.launchpad.net/bugs/1245604

Title:
  killall -u snmp in a pre-install step kills any running snmpd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1245604/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1245604] [NEW] killall -u snmp in a pre-install step kills any running snmpd

2013-10-28 Thread Eamon Bisson-DOnahue
Public bug reported:

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/dpkg/info/snmp.preinst 
#! /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: net-snmp (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1245604

Title:
  killall -u snmp in a pre-install step kills any running snmpd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1245604/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs