Odd acces denied messages
I get the following messages (have all along) and wonder what they mean:
avc: denied { write } for pid=1339 exe=/sbin/insmod path=/sys/kernel/tainted dev=00:03 ino=4144 scontext=system_u:system_r:kmod_t tcontext=system_u:object_r:sysctl_kernel_t tclass=file
avc: denied { write } for pid=1340 exe=/sbin/insmod path=/sys/kernel/tainted dev=00:03 ino=4144 scontext=system_u:system_r:kmod_t tcontext=system_u:object_r:sysctl_kernel_t tclass=file
These messages come from my home computers (which has an nvidia card and driver). The one in my office does not have this card but still produces these messages.
Signature · 4 lines
-- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 7 lines · Justin Smith
I get the following messages (have all along) and wonder what they mean:
avc: denied { write } for pid=1339 exe=/sbin/insmod path=/sys/kernel/tainted dev=00:03 ino=4144 scontext=system_u:system_r:kmod_t tcontext=system_u:object_r:sysctl_kernel_t tclass=file
Quoted 8 lines
avc: denied { write } for pid=1340 exe=/sbin/insmod path=/sys/kernel/tainted dev=00:03 ino=4144 scontext=system_u:system_r:kmod_t tcontext=system_u:object_r:sysctl_kernel_t tclass=file
These messages come from my home computers (which has an nvidia card and driver). The one in my office does not have this card but still produces these messages.
/sbin/insmod tries to update the kernel's tainted flag when it loads a non-GPL'd module. You need to add the following statements to kmod.te and modutil.te:
# policy/domains/system/kmod.te allow kmod_t sysctl_kernel_t:file rw_file_perms;
# policy/domains/program/modutil.te allow insmod_t sysctl_kernel_t:file rw_file_perms;
These statements have been added to the example policy configuration and will be included in future public releases.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.