[DSE-Dev] Bug#690477: selinux-policy-default: multiple avc denies and su problem

Christian Göttsche cgoettsche at gmx.net
Mon Feb 25 11:23:30 UTC 2013


Hi,
i encounter another problem with smartmontools.
When it wants to send a mail containing a warning for a drive, it needs
to execute the file /usr/share/smartmontools/smartd-runner.
This is by default labeled as usr_t.
I labeled it with

/usr/share/smartmontools/smartd-runner   
gen_context(system_u:object_r:fsdaemon_helper_exec_t,s0)

and use the following to allow execution

type fsdaemon_helper_exec_t;
files_type(fsdaemon_helper_exec_t)
allow fsdaemon_t fsdaemon_helper_exec_t:file exec_file_perms;

Best regards,
           Christian Göttsche



More information about the SELinux-devel mailing list