conf/170230: /etc/rc.d/mrouted call for a port but look for a configuration file in /etc

Olivier Cochard-Labbé olivier at cochard.me
Sat Jul 28 09:10:09 UTC 2012


>Number:         170230
>Category:       conf
>Synopsis:       /etc/rc.d/mrouted call for a port but look for a configuration file in /etc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 28 09:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Cochard-Labbé
>Release:        9.0-RELEASE
>Organization:
BSD Router Project
>Environment:
FreeBSD orange.bsdrp.net 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The /etc/rc.d/mrouted script depend of a port (net/mrouted), but it check for a configuration file in /etc (required_files="/etc/${name}.conf").
=> A port should not install its configuration file in /etc but in ${PREFIX}/etc.
>How-To-Repeat:

>Fix:
replacing:
required_files="/etc/${name}.conf"

By:
required_files="/usr/local/etc/${name}.conf"

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list