Bug 170230

Summary: /etc/rc.d/mrouted call for a port but look for a configuration file in /etc
Product: Base System Reporter: olivier
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me CC: berend
Priority: Normal    
Version: 9.0-RELEASE   
Hardware: Any   
OS: Any   

Description olivier 2012-07-28 10:10:09 UTC
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.

Fix: 

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

By:
required_files="/usr/local/etc/${name}.conf"
Comment 1 berend 2014-11-05 19:16:31 UTC
I think the /etc/rc.d/mrouted script should be deleted right? Because you need to install it via ports which installs its script in /usr/local/etc/rc.d
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2018-05-20 23:52:31 UTC
For bugs matching the following conditions:
- Status == In Progress
- Assignee == "bugs@FreeBSD.org"
- Last Modified Year <= 2017

Do
- Set Status to "Open"