Needs Ubuntu-style init script

Bug #43575 reported by Gary Coady
4
Affects Status Importance Assigned to Milestone
net-snmp (Ubuntu)
Fix Released
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

Revision history for this message
Gary Coady (garycoady) wrote : Updated init script using lsb-base

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 ]

Revision history for this message
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)
Changed in net-snmp:
importance: Medium → Wishlist
status: New → Confirmed
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.