I noticed that mariadb service was no longer running. I noticed the following in the logs
2026-05-02T06:36:59.043481+00:00 whitedwarf (d-helper)[15122]: mariadb.service: Failed to set up special execution directory in /var/lib: Permission denied
2026-05-02T06:36:59.043718+00:00 whitedwarf (d-helper)[15122]: mariadb.service: Failed at step STATE_DIRECTORY spawning /usr/libexec/mysql/mysql-systemd-helper: Pe
rmission denied
I’m not sure what caused it, probably an update, but the only way to make it work again was to create a custom policy that included
policy_module(mymodule, 0.0.1)
require {
type init_t;
type mysqld_db_t;
};
allow init_t mysqld_db_t:file setattr;