Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
10.6.7, 10.7.3, 10.8.2
-
None
Description
MDEV-27181 introduced a problem in the wsrep_sst_common script which is only hit when using encrypted SST:
/usr//bin/wsrep_sst_common: line 1127: [: readable: integer expression expected
|
Problem is the readable variable in the if condition, it should be $readable like it is earlier on line 1109 in the same script:
1123 local readable=1; [ ! -r "$cert" ] && readable=0
|
1124 [ -n "$ca" ] && [ ! -r "$ca" ] && readable=0
|
1125 [ -n "$cap" ] && [ ! -r "$cap" ] && readable=0
|
1126
|
1127 if [ readable -eq 0 ]; then
|
1128 wsrep_log_error \
|
1129 "Both PEM file and CA file (or path) must be readable"
|
1130 exit 22
|
1131 fi
|
Attachments
Issue Links
- is caused by
-
MDEV-27181 Galera SST scripts should use ssl_capath (not ssl_ca) for CA directory
- Closed