I have the Bacula backup system running and SELinux is interfering.
The problem arises when Bacula runs a script that invokes /usr/bin/hostname
before one of the backups.
12-Apr 00:05 dir_backup JobId 122: BeforeJob: /usr/local/sbin/sshbacula: line 13: /usr/bin/hostname: Permission denied
This succeeds when SELinux is in permissive mode.
It is a very minor problem but I cannot fix it without running SELinux in permissive mode or by running Bacula unconfined entirely.
How do I allow Bacula to execute the hostname binary?