[Bug 236795] databases/galera 'garb_galera_options' not working with multiple options
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 26 00:15:00 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236795
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 at FreeBSD.org
Reporter: zhoutao at 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=tcp://0.0.0.0:5567;pc.weight=1")
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="$command_args -a gcomm://$ADDRESS"
[ -n "$garb_galera_group" ] && command_args="$command_args -g
$garb_galera_group"
- [ -n "$garb_galera_options" ] && command_args="$command_args -o
$garb_galera_options"
+ [ -n "$garb_galera_options" ] && command_args="$command_args -o
'$garb_galera_options'"
[ -n "$garb_log_file" ] && command_args="$command_args -l
$garb_log_file"
return 0
}
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Maintainer informed via mail
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list