ports/152565: port dns/nsd "status" argument to init script is broken

eli elij.mx at gmail.com
Thu Nov 25 05:10:10 UTC 2010


>Number:         152565
>Category:       ports
>Synopsis:       port dns/nsd "status" argument to init script is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 25 05:10:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     eli
>Release:        8.1-RELEASE
>Organization:
>Environment:
FreeBSD fbox.wundrd.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
When attempting to get the service status with the command "/usr/local/etc/rc.d/nsd status", the script always reports the service is down.

The problem is, it appears, due to the fact that the command does not match the procname of the resulting process. 
>How-To-Repeat:
/usr/local/etc/rc.d/nsd start
/usr/local/etc/rc.d/nsd status
>Fix:
The simple fix would be to add the following to the rc script.

procname=/usr/local/sbin/nsd

Adding this makes the status command work for me.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list