Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Mar 2025 02:09:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 285213] sysutils/bareos-server the rc.d/bareos-dir doesnt' respect custom bareos_dir_config value
Message-ID:  <bug-285213-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285213

            Bug ID: 285213
           Summary: sysutils/bareos-server the rc.d/bareos-dir doesnt'
                    respect custom bareos_dir_config value
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: vrurg@lflat.org
          Assignee: acm@FreeBSD.org
             Flags: maintainer-feedback?(acm@FreeBSD.org)

When bareos configuration is installed in a custom local directory the star=
tup
script ignores the `bareos_dir_config` value and executes config check on t=
he
default directory resulting in failed startup.

Suggested fix: add `-c ${bareos_dir_config}` to the line 45. The final look=
 of
the bareos_dir_configrtest function is expected to be:

bareos_dir_configtest() {
        echo "Performing sanity check on ${bareos_dir_config} configuration=
:"
        eval ${command} -c ${bareos_dir_config} -t
}

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285213-7788>