Remove mysql.server, write state file only after successful startup

Also bump the mariadb_ctrl
[#78600746]