Bug 238360

Summary: databases/mariadb103-server: SST script use bash and ip
Product: Ports & Packages Reporter: Lapo Luchini <lapo>
Component: Individual Port(s)Assignee: Bernard Spil <brnrd>
Status: Open ---    
Severity: Affects Only Me CC: freebsd, me
Priority: --- Flags: bugzilla: maintainer-feedback? (brnrd)
Version: Latest   
Hardware: Any   
OS: Any   

Description Lapo Luchini 2019-06-06 09:20:47 UTC
While setting up a Galera cluster I noticed that the included `/usr/local/bin/wsrep_sst_mysqldump` script depends on `bash` (which I installed myself but isn't a dependency), and `ip` (which I worked around by commenting that line).
Comment 1 Vincent Milum Jr 2019-06-14 22:42:07 UTC
This just bit me as well. wsrep_sst_rsync requires bash as well. the error messages in the log are also entirely unhelpful about this fact.
Comment 2 Bernard Spil freebsd_committer 2019-12-14 14:17:12 UTC
I recall I have already provided upstream patches... Apparently more Linuxisms were added.

Can you cook up a patch? Preferably reworking to use POSIX shell #!/bin/sh