Applicable only on RHEL6. -- Service file: /etc/rc.d/init.d/rh-mariadb101-mariadb Contains line: /opt/rh/rh-mariadb101/root/usr/libexec/mysql-prepare-db-dir $MYUSER $MYGROUP >/dev/null || return 4 -- However the exit code "4" is not correct as per: http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html The correct exit code on failure should be "1". -- This behaviour also lead to Test case failure: /CoreOS/mariadb/Regression/bz1335849-MariaDB-removes-all-databases -- Originally filed against 10.1 collection as #1558044 -- Not applicable on later (10.3+) MariaDB collections, as they are not released for RHEL6.
Looks like this exit code was brought from Fedora when updating RHEL 5.5.40 SPECfile to 10.0.15
DEV notes: * we won't fix it in the already released collection to prevent issues on the customer's side who might rely on the return code. QA note: * the test should be enhanced to accept this error code as an expected behaviour for MariaDB collections.
Closing as WON'T FIX with a justification as in comment 3. Still setting BLOCKS to the tracker bug, as a reminder for QA that this issue exists.