[Bug 248993] net/mpd5: rc script fails when alternate config location specified in flags.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 29 19:03:11 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248993

            Bug ID: 248993
           Summary: net/mpd5: rc script fails when alternate config
                    location specified in flags.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: eugen at freebsd.org
          Reporter: mickey242 at gmx.net
          Assignee: eugen at freebsd.org
             Flags: maintainer-feedback?(eugen at freebsd.org)

The rc script installed by net/mpd5 (/usr/local/etc/rc.d/mpd5) fails to start
the service in the scenario where the mpd_flags variable in /etc/rc.conf
specifies an alternate location for the configuration directory or -file by
using the -d/--directory or -f/--file options and the file
/usr/local/etc/mpd5/mpd.conf does not exist. This is caused by the following
line that disregards anything that might be specified in the mpd_flags
variable:

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list