Bonjour
Pour infos , j'ai constaté que mes crontab ne fonctionnait plus.
Après recherche il y a visiblement un bug avec SELinux qui bloque les crontab.
Dans les logs on voit un truc du genre:
crond[1406]: (root) Unauthorized SELinux context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 file_context=unconfined_u:object_r:user_cron_spool_t:s0 (/var/spool/cron/root)
Moyen de contournement:
Créer fichier: mycron.cil
(allow unconfined_t user_cron_spool_t( file ( entrypoint)))
lancer:
semodule -i mycron.cil
Relancer crond:
systemctl restart crond.service
Quand ce sera corrigé, suppression du workaround:
semodule -r mycron
systemctl restart crond.service
https://bugzilla.redhat.com/show_bug.cgi?id=1263328