Needs Ubuntu-style init script

Bug #43575 reported by Gary Coady on 2006-05-08
4
Affects Status Importance Assigned to Milestone
net-snmp (Ubuntu)
Wishlist
Unassigned

Bug Description

net-snmp doesn't currently use lsb-base functions to show its output in the init scripts

$ sudo /etc/init.d/snmpd start
Starting network management services: snmpd.

$ sudo /etc/init.d/snmpd stop
Stopping network management services: snmpd snmptrapd.

Related branches

With these changes, the output looks like

$ sudo /etc/init.d/snmpd start
 * Starting network management services [ ok ]

$ sudo /etc/init.d/snmpd stop
 * Stopping network management services [ ok ]

Bart Verwilst (verwilst) wrote :

Also, the init script seems to return 1 when doing "start" when the program is already running, or doing "restart" when the program isn't running..

Daniel T Chen (crimsun) on 2008-09-12
Changed in net-snmp:
importance: Medium → Wishlist
status: New → Confirmed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package net-snmp - 5.4.1~dfsg-7.1ubuntu5

---------------
net-snmp (5.4.1~dfsg-7.1ubuntu5) intrepid; urgency=low

  * debian/snmpd.init: LSBify the snmpd.init script. And add status
    notification, based on inital patch by Gary Coady. (LP: #43575)
  * debian/patches/54_fix_registration_error.patch: Surpresses annoying
    registrations in startup. (LP: #200614)

 -- Chuck Short <email address hidden> Fri, 12 Sep 2008 13:21:40 -0400

Changed in net-snmp:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers