Bug 170230 - /etc/rc.d/mrouted call for a port but look for a configuration file in /etc
Summary: /etc/rc.d/mrouted call for a port but look for a configuration file in /etc
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 9.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-28 10:10 UTC by olivier
Modified: 2018-05-20 23:52 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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"