Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2019 00:14:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236795] databases/galera 'garb_galera_options' not working with multiple options
Message-ID:  <bug-236795-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 236795
           Summary: databases/galera 'garb_galera_options' not working
                    with multiple options
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: zhoutao@laocius.org

The garbd options are semicolon separated key value pairs.
The current rc.d script does not support multiple options(eg.
"gmcast.listen_addr=3Dtcp://0.0.0.0:5567;pc.weight=3D1")

The variable garb_galera_options need to be quoted in command line.

I've fixed it with the following changes

--- garb.sh.in.orig     2019-03-26 11:08:18.383489000 +1100
+++ garb.sh.in  2019-03-26 11:07:20.345938000 +1100
@@ -71,7 +71,7 @@

        command_args=3D"$command_args -a gcomm://$ADDRESS"
        [ -n "$garb_galera_group" ]   && command_args=3D"$command_args -g
$garb_galera_group"
-       [ -n "$garb_galera_options" ] && command_args=3D"$command_args -o
$garb_galera_options"
+       [ -n "$garb_galera_options" ] && command_args=3D"$command_args -o
'$garb_galera_options'"
        [ -n "$garb_log_file" ]       && command_args=3D"$command_args -l
$garb_log_file"
        return 0
 }

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Maintainer informed via mail

--=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-236795-7788>