Typo in usr/bin/wsrep_sst_mariabackup

Bug #1939123 reported by Max Krasilnikov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mariadb-10.3 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Description: Ubuntu 20.04.2 LTS
Release: 20.04

mariadb-server-10.3:
  Installed: 1:10.3.30-0ubuntu0.20.04.1
  Candidate: 1:10.3.30-0ubuntu0.20.04.1

When running wsrep-sst using mariabackup I constantly get:
-wsrep-sst-donor: /usr//bin/wsrep_sst_mariabackup: line 389: WSREP_SST_OPT_HOST_UNSECAPED: unbound variable

and SST can not be completed.
It looks like typo in /usr/bin/wsrep_sst_mariabackup and can be fixed easily:

--- /usr/bin/wsrep_sst_mariabackup 2021-07-17 22:59:58.000000000 +0000
+++ wsrep_sst_mariabackup 2021-08-06 09:48:19.508054133 +0000
@@ -386,7 +386,7 @@
                 elif is_local_ip "$WSREP_SST_OPT_HOST_UNESCAPED"; then
                     CN_option=',commonname=localhost'
                 else
- CN_option=",commonname='$WSREP_SST_OPT_HOST_UNSECAPED'"
+ CN_option=",commonname='$WSREP_SST_OPT_HOST_UNESCAPED'"
                 fi
                 tcmd="$tcmd,cert='$tpem',key='$tkey',cafile='$tcert'$CN_option$sockopt"
                 wsrep_log_info "$action with cert=$tpem, key=$tkey, cafile=$tcert"

Max Krasilnikov (pseudo)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mariadb-10.3 (Ubuntu):
status: New → Confirmed
Revision history for this message
Faustin (fauust) wrote :
Changed in mariadb-10.3 (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Daniel Black (daniel-black) wrote :

This was fixed in 10.3.31 meaning the focal 10.3.34 already contains this fix and this can be closed.

Changed in mariadb-10.3 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.