[MDEV-27737] Wsrep SST scripts not working on FreeBSD Created: 2022-02-03  Updated: 2022-02-22  Resolved: 2022-02-22

Status: Closed
Project: MariaDB Server
Component/s: Galera SST
Affects Version/s: 10.2.42, 10.4.23, 10.5.14, 10.6.6, 10.7.2, 10.8.1
Fix Version/s: 10.9.0, 10.2.44, 10.3.35, 10.4.25, 10.5.16, 10.6.8, 10.7.4, 10.8.3

Type: Bug Priority: Major
Reporter: Teemu Ollakka Assignee: Julius Goryavsky
Resolution: Fixed Votes: 0
Labels: None
Environment:

FreeBSD


Issue Links:
Duplicate
duplicates MDEV-19171 wsrep_sst_rsync.sh using bash instead... Closed
Relates
relates to MDEV-27777 Some Galera tests fail on FreeBSD wit... Closed

 Description   

To reproduce, compile MariaDB 10.5 and Galera 4.x from source and attempt to run Galera MTR suites:

WSREP_PROVIDER=<path-to>/libgalera_smm.so ./mysql-test-run.pl --suites=galera

The result of the run is that all the tests fail because the initial SST fails:

2022-02-03 11:57:15 0 [Note] WSREP: Joiner monitor thread started to monitor
sh: wsrep_sst_rsync: not found



 Comments   
Comment by Marko Mäkelä [ 2022-02-03 ]

There already was an effort to remove the Bourne Again shell dependency from the scripts and to use the more restricted (and inherently more secure) Bourne shell. The first change that introduced a Bashism since then was MDEV-18863.

Comment by Jan Lindström (Inactive) [ 2022-02-14 ]

ok to push. Please remember to include my fix to KILL.

Generated at Thu Feb 08 09:55:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.