Date: Sat, 28 Jul 2012 09:07:33 GMT From: Olivier Cochard-Labbé <olivier@cochard.me> To: freebsd-gnats-submit@FreeBSD.org Subject: conf/170230: /etc/rc.d/mrouted call for a port but look for a configuration file in /etc Message-ID: <201207280907.q6S97XOF025876@red.freebsd.org> Resent-Message-ID: <201207280910.q6S9A9ou012656@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207280907.q6S97XOF025876>
