bin/141642: *_program override in /etc/rc.conf stopped working

Petr Lampa lampa at
Tue Dec 15 07:20:11 PST 2009

>Number:         141642
>Category:       bin
>Synopsis:       *_program override in /etc/rc.conf stopped working
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 15 15:20:10 UTC 2009
>Originator:     Petr Lampa
>Release:        8.0-STABLE
FreeBSD host 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue Dec 15 15:06:04 CET 2009     i386

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

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

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 2009/12/07 06:25:19 hrs Exp $

set in /etc/rc.conf:

/usr/sbin/named will be run!

backout the change (what was the reason?)


More information about the freebsd-bugs mailing list