From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 25 05:10:10 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27AF0106566B for ; Thu, 25 Nov 2010 05:10:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D8FDF8FC19 for ; Thu, 25 Nov 2010 05:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oAP5A92t044502 for ; Thu, 25 Nov 2010 05:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oAP5A9CJ044501; Thu, 25 Nov 2010 05:10:09 GMT (envelope-from gnats) Resent-Date: Thu, 25 Nov 2010 05:10:09 GMT Resent-Message-Id: <201011250510.oAP5A9CJ044501@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, eli Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61084106564A for ; Thu, 25 Nov 2010 05:06:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 4FA538FC0C for ; Thu, 25 Nov 2010 05:06:13 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oAP56Dbd071075 for ; Thu, 25 Nov 2010 05:06:13 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id oAP56DES071074; Thu, 25 Nov 2010 05:06:13 GMT (envelope-from nobody) Message-Id: <201011250506.oAP56DES071074@red.freebsd.org> Date: Thu, 25 Nov 2010 05:06:13 GMT From: eli To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/152565: port dns/nsd "status" argument to init script is broken X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2010 05:10:10 -0000 >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: