| Summary: | /etc/rc.d/named should always pass $named_conf | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Robert Schulze <rs> |
| Component: | conf | Assignee: | Doug Barton <dougb> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 8.2-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->freebsd-rc Over to maintainer(s). State Changed From-To: open->closed It's not necessary from the ports either. Just let the port create the proper symlinks and everything works just fine. Responsible Changed From-To: freebsd-rc->dougb My area. |
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.