Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Nov 2010 05:06:13 GMT
From:      eli <elij.mx@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/152565: port dns/nsd "status" argument to init script is broken
Message-ID:  <201011250506.oAP56DES071074@red.freebsd.org>
Resent-Message-ID: <201011250510.oAP5A9CJ044501@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011250506.oAP56DES071074>