From nobody@FreeBSD.org  Tue Dec 15 15:18:30 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9B461106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Dec 2009 15:18:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 8A0D88FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Dec 2009 15:18:30 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nBFFIUw2062054
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Dec 2009 15:18:30 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id nBFFITqD062051;
	Tue, 15 Dec 2009 15:18:29 GMT
	(envelope-from nobody)
Message-Id: <200912151518.nBFFITqD062051@www.freebsd.org>
Date: Tue, 15 Dec 2009 15:18:29 GMT
From: Petr Lampa <lampa@fit.vutbr.cz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: *_program override in /etc/rc.conf stopped working
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         141642
>Category:       conf
>Synopsis:       rc.conf(5): *_program override in /etc/rc.conf stopped working
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 15 15:20:10 UTC 2009
>Closed-Date:    Tue Dec 15 23:02:46 UTC 2009
>Last-Modified:  Tue Dec 15 23:10:03 UTC 2009
>Originator:     Petr Lampa
>Release:        8.0-STABLE
>Organization:
BUT FIT
>Environment:
FreeBSD host 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue Dec 15 15:06:04 CET 2009     i386

>Description:
Program file override in /etc/rc.conf stopped working in 8.0-STABLE due to this change in /etc/rc.subr:

original (7.2):
        eval _override_command=\$${name}_program
        command=${_override_command:-$command}

current (8.0):
        eval _override_command=\$${name}_program
        command=${command:-${_override_command}}

output from sh -x:
+ _rc_prefix=''
+ eval '_override_command=$named_program'
+ _override_command=/usr/local/sbin/named
+ command=/usr/sbin/named
+ _keywords='start stop restart rcvar reload'

/etc/rc.subr version:
# $NetBSD: rc.subr,v 1.67 2006/10/07 11:25:15 elad Exp $
# $FreeBSD: src/etc/rc.subr,v 1.88.2.6 2009/12/07 06:25:19 hrs Exp $

>How-To-Repeat:
set in /etc/rc.conf:
named_program="/usr/local/sbin/named"

/usr/sbin/named will be run!


>Fix:
backout the change (what was the reason?)

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-rc 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Dec 15 19:13:04 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=141642 
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Tue Dec 15 23:02:22 UTC 2009 
State-Changed-Why:  



Responsible-Changed-From-To: freebsd-rc->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Tue Dec 15 23:02:22 UTC 2009 
Responsible-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=141642 

From: Doug Barton <dougb@FreeBSD.org>
To: lampa@fit.vutbr.cz, freebsd-rc@FreeBSD.org, bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/141642: rc.conf(5): *_program override in /etc/rc.conf stopped
 working
Date: Tue, 15 Dec 2009 15:07:48 -0800

 dougb@FreeBSD.org wrote:
 > Synopsis: rc.conf(5): *_program override in /etc/rc.conf stopped working
 > 
 > State-Changed-From-To: open->closed
 > State-Changed-By: dougb
 > State-Changed-When: Tue Dec 15 23:02:22 UTC 2009
 > State-Changed-Why: 
 
 Well I tried to abort this but that didn't work, sorry.
 
 The problem here is that a merge was done to include other
 functionality that did not include the fix I made to this particular
 feature in a later version.
 
 Sorry for the inconvenience, and thank you for bringing this to our
 attention.
 
 
 Doug
 
 -- 
 
 	Improve the effectiveness of your Internet presence with
 	a domain name makeover!    http://SupersetSolutions.com/
 
>Unformatted:
