>Number:         162652
>Category:       misc
>Synopsis:       /etc/rc.d/named should always pass $named_conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 18 09:30:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Robert Schulze
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD xxxx 8.2-STABLE FreeBSD 8.2-STABLE #14: Wed Aug 17 16:38:22 CEST 2011 
amd64
>Description:
In /etc/rc.d/named, the argument -c is only passed via rc.conf's parameter 
"named_conf", when it differs from the default location:

if [ ! "$named_conf" = '/etc/namedb/named.conf' ]; then
                case "$named_flags" in
                -c*|*' -c'*) ;;         # No need to add it
                *) command_args="-c $named_conf $command_args" ;;
                esac
        fi

It would be better to always pass "-c $named_conf" when $named_conf is 
nonempty, this makes it easier to use bind from the ports (not replacing the 
system bind) without the need to set named_flags="-c /etc/namedb/named.conf" 
explicitly.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to