* Not sure the best way to handle this one.
@ 2004-10-15 13:26 Daniel J Walsh
2004-10-16 13:44 ` Russell Coker
2004-10-18 17:31 ` Stephen Smalley
0 siblings, 2 replies; 5+ messages in thread
From: Daniel J Walsh @ 2004-10-15 13:26 UTC (permalink / raw)
To: Stephen Smalley, Russell Coker, SELinux
Oct 15 08:37:55 dhcppc1 kernel: audit(1097843874.920:692545): avc:
denied { sys_module } for pid=4338 exe=/usr/bin/nifd capability=16
scontext=system_u:system_r:howl_t tcontext=system_u:system_r:howl_t
tclass=capability
Ideas.
Dan
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Not sure the best way to handle this one.
2004-10-15 13:26 Not sure the best way to handle this one Daniel J Walsh
@ 2004-10-16 13:44 ` Russell Coker
2004-10-16 14:25 ` Daniel J Walsh
2004-10-18 17:31 ` Stephen Smalley
1 sibling, 1 reply; 5+ messages in thread
From: Russell Coker @ 2004-10-16 13:44 UTC (permalink / raw)
To: Daniel J Walsh; +Cc: Stephen Smalley, SELinux
On Fri, 15 Oct 2004 23:26, Daniel J Walsh <dwalsh@redhat.com> wrote:
> Oct 15 08:37:55 dhcppc1 kernel: audit(1097843874.920:692545): avc:
> denied { sys_module } for pid=4338 exe=/usr/bin/nifd capability=16
> scontext=system_u:system_r:howl_t tcontext=system_u:system_r:howl_t
> tclass=capability
What is it trying to do? Does an strace shed any light on the matter?
--
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Not sure the best way to handle this one.
2004-10-16 13:44 ` Russell Coker
@ 2004-10-16 14:25 ` Daniel J Walsh
2004-10-17 16:22 ` Russell Coker
0 siblings, 1 reply; 5+ messages in thread
From: Daniel J Walsh @ 2004-10-16 14:25 UTC (permalink / raw)
To: russell; +Cc: Stephen Smalley, SELinux
Russell Coker wrote:
>On Fri, 15 Oct 2004 23:26, Daniel J Walsh <dwalsh@redhat.com> wrote:
>
>
>>Oct 15 08:37:55 dhcppc1 kernel: audit(1097843874.920:692545): avc:
>>denied { sys_module } for pid=4338 exe=/usr/bin/nifd capability=16
>>scontext=system_u:system_r:howl_t tcontext=system_u:system_r:howl_t
>>tclass=capability
>>
>>
>
>What is it trying to do? Does an strace shed any light on the matter?
>
>
>
Can't get it to happen regularly but I would submise that it is loading
a network driver. This
is happening on a laptop which switches from a builtin ethernet to a
wireless pcmcia card.
This behaviour might also occur with a docking station with a built in
ethernet card.
Dan
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Not sure the best way to handle this one.
2004-10-16 14:25 ` Daniel J Walsh
@ 2004-10-17 16:22 ` Russell Coker
0 siblings, 0 replies; 5+ messages in thread
From: Russell Coker @ 2004-10-17 16:22 UTC (permalink / raw)
To: Daniel J Walsh; +Cc: Stephen Smalley, SELinux
On Sun, 17 Oct 2004 00:25, Daniel J Walsh <dwalsh@redhat.com> wrote:
> Russell Coker wrote:
> >On Fri, 15 Oct 2004 23:26, Daniel J Walsh <dwalsh@redhat.com> wrote:
> >>Oct 15 08:37:55 dhcppc1 kernel: audit(1097843874.920:692545): avc:
> >>denied { sys_module } for pid=4338 exe=/usr/bin/nifd capability=16
> >>scontext=system_u:system_r:howl_t tcontext=system_u:system_r:howl_t
> >>tclass=capability
> >
> >What is it trying to do? Does an strace shed any light on the matter?
>
> Can't get it to happen regularly but I would submise that it is loading
> a network driver.
I have just quickly reviewed the source to nifd and couldn't find any code to
do any such thing. The code isn't as clear as it might be and has no
comments so I might have missed something, but I am reasonably sure that it's
not trying to load a network driver. In any case if it was trying to load a
network driver then it would surely call system("modprobe ...") which would
then result in insmod being the process that has the AVC message.
One problem we have with nifd is that it sends all it's log messages
to /dev/null. I have filed a bugzilla #136074 about this. If it logged it's
messages then it would be a lot easier to diagnose problems.
Also interestingly it seems that nifd has some error conditions in it's
default configuration on my laptop, but I can only determine this with
strace. ;)
--
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Not sure the best way to handle this one.
2004-10-15 13:26 Not sure the best way to handle this one Daniel J Walsh
2004-10-16 13:44 ` Russell Coker
@ 2004-10-18 17:31 ` Stephen Smalley
1 sibling, 0 replies; 5+ messages in thread
From: Stephen Smalley @ 2004-10-18 17:31 UTC (permalink / raw)
To: Daniel J Walsh; +Cc: Russell Coker, SELinux
On Fri, 2004-10-15 at 09:26, Daniel J Walsh wrote:
> Oct 15 08:37:55 dhcppc1 kernel: audit(1097843874.920:692545): avc:
> denied { sys_module } for pid=4338 exe=/usr/bin/nifd capability=16
> scontext=system_u:system_r:howl_t tcontext=system_u:system_r:howl_t
> tclass=capability
Boot with audit=1 and reproduce please, then provide the full syscall
audit information. In general, SELinux users would likely always
benefit from enabling the syscall auditing as well.
--
Stephen Smalley <sds@epoch.ncsc.mil>
National Security Agency
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-10-18 17:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-15 13:26 Not sure the best way to handle this one Daniel J Walsh
2004-10-16 13:44 ` Russell Coker
2004-10-16 14:25 ` Daniel J Walsh
2004-10-17 16:22 ` Russell Coker
2004-10-18 17:31 ` Stephen Smalley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.