On Fedora 27, if you install 'dracut-fips' package, MariaDB server won't start with folowing explanation:
it calls CRYPTO_set_mem_functions() from libcrypto.so, which returns 0 here:
And that's the issue.
Package 'dracut-fips' will cause, that in libcrypto constructor FIPS self-tests must be called. FIPS self-test calls allocations and that's why the allocation function cannot be altered.
The same state should be achieved in FIPS mode, although so far I talked about installed 'dracut-fips' package, but still disabled FIPS mode.