Is this a module bug?
May 22 08:42:57 lyta kernel: IPv6 v0.8 for NET4.0
May 22 08:42:57 lyta kernel:
May 22 08:42:57 lyta kernel: avc: denied { net_raw } for pid=71
exe=/sbin/insmod capability=13 scontext=system_u:system_r:insmod_t
tcontext=system_u:system_r:insmod_t tclass=capability
May 22 08:42:57 lyta kernel: IPv6 over IPv4 tunneling driverThe above is a cut from my syslog while booting. It appears to me that the kernel code for the IPv6 module is still being registered as insmod_t domain.
Is this a bug in the IPv6 module?
I haven't even looked at the kernel code in question so I could be way off on this...
Signature · 8 lines
Get Bonnie++ file system benchmark suite from: http://www.coker.com.au/bonnie++/ Now with Solaris package support. -- 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 9 lines · Russell Coker
May 22 08:42:57 lyta kernel: IPv6 v0.8 for NET4.0 May 22 08:42:57 lyta kernel: May 22 08:42:57 lyta kernel: avc: denied { net_raw } for pid=71 exe=/sbin/insmod capability=13 scontext=system_u:system_r:insmod_t tcontext=system_u:system_r:insmod_t tclass=capability May 22 08:42:57 lyta kernel: IPv6 over IPv4 tunneling driverThe above is a cut from my syslog while booting. It appears to me that the kernel code for the IPv6 module is still being registered as
insmod_tdomain.
You're seeing this message because the IPv6 module needs to register some kernel control sockets when it is loaded. As these control sockets are raw, they require CAP_NET_RAW during creation, which happens in this case in the context of insmod.
Quoted 1 line
Is this a bug in the IPv6 module?
No.
- James
Signature · 9 lines
James Morris <[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.