Date: Tue, 15 Dec 2009 15:18:29 GMT From: Petr Lampa <lampa@fit.vutbr.cz> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/141642: *_program override in /etc/rc.conf stopped working Message-ID: <200912151518.nBFFITqD062051@www.freebsd.org> Resent-Message-ID: <200912151520.nBFFKBxS060598@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141642 >Category: bin >Synopsis: *_program override in /etc/rc.conf stopped working >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 15 15:20:10 UTC 2009 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912151518.nBFFITqD062051>