All of lore.kernel.org
 help / color / mirror / Atom feed
* Shouldn't this avc message be dontaudited?
@ 2004-10-06 16:13 Daniel J Walsh
  2004-10-06 17:57 ` Stephen Smalley
  2004-10-06 18:54 ` Luke Kenneth Casson Leighton
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel J Walsh @ 2004-10-06 16:13 UTC (permalink / raw)
  To: SELinux

How come I am getting this avc message

Oct  6 11:58:44 localhost kernel: audit(1097078324.850:0): avc:  denied  
{ name_bind } for  pid=2471 exe=/usr/sbin/nscd src=953 
scontext=user_u:system_r:nscd_t tcontext=system_u:object_r:rndc_port_t 
tclass=tcp_socket

When I have this rule?

dontaudit nscd_t reserved_port_t:{ tcp_socket udp_socket } name_bind;


--
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] 4+ messages in thread

* Re: Shouldn't this avc message be dontaudited?
  2004-10-06 16:13 Shouldn't this avc message be dontaudited? Daniel J Walsh
@ 2004-10-06 17:57 ` Stephen Smalley
  2004-10-06 18:10   ` Daniel J Walsh
  2004-10-06 18:54 ` Luke Kenneth Casson Leighton
  1 sibling, 1 reply; 4+ messages in thread
From: Stephen Smalley @ 2004-10-06 17:57 UTC (permalink / raw)
  To: Daniel J Walsh; +Cc: SELinux

On Wed, 2004-10-06 at 12:13, Daniel J Walsh wrote:
> How come I am getting this avc message
> 
> Oct  6 11:58:44 localhost kernel: audit(1097078324.850:0): avc:  denied  
> { name_bind } for  pid=2471 exe=/usr/sbin/nscd src=953 
> scontext=user_u:system_r:nscd_t tcontext=system_u:object_r:rndc_port_t 
> tclass=tcp_socket
> 
> When I have this rule?
> 
> dontaudit nscd_t reserved_port_t:{ tcp_socket udp_socket } name_bind;

Different types - reserved_port_t (covers any otherwise unspecified
reserved ports) vs. rndc_port_t.  Why would nscd try binding to this
port anyway?

-- 
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] 4+ messages in thread

* Re: Shouldn't this avc message be dontaudited?
  2004-10-06 17:57 ` Stephen Smalley
@ 2004-10-06 18:10   ` Daniel J Walsh
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel J Walsh @ 2004-10-06 18:10 UTC (permalink / raw)
  To: Stephen Smalley; +Cc: SELinux

Stephen Smalley wrote:

>On Wed, 2004-10-06 at 12:13, Daniel J Walsh wrote:
>  
>
>>How come I am getting this avc message
>>
>>Oct  6 11:58:44 localhost kernel: audit(1097078324.850:0): avc:  denied  
>>{ name_bind } for  pid=2471 exe=/usr/sbin/nscd src=953 
>>scontext=user_u:system_r:nscd_t tcontext=system_u:object_r:rndc_port_t 
>>tclass=tcp_socket
>>
>>When I have this rule?
>>
>>dontaudit nscd_t reserved_port_t:{ tcp_socket udp_socket } name_bind;
>>    
>>
>
>Different types - reserved_port_t (covers any otherwise unspecified
>reserved ports) vs. rndc_port_t.  Why would nscd try binding to this
>port anyway?
>
>  
>
I don't know.  I am seeing this avc on a targeted policy machine.

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] 4+ messages in thread

* Re: Shouldn't this avc message be dontaudited?
  2004-10-06 16:13 Shouldn't this avc message be dontaudited? Daniel J Walsh
  2004-10-06 17:57 ` Stephen Smalley
@ 2004-10-06 18:54 ` Luke Kenneth Casson Leighton
  1 sibling, 0 replies; 4+ messages in thread
From: Luke Kenneth Casson Leighton @ 2004-10-06 18:54 UTC (permalink / raw)
  To: Daniel J Walsh; +Cc: SELinux

ah, i got exactly the same thing: stephen assures me that this is
because i am using an older version of checkpolicy with a recent version
of everything-else.

by installing checkpolicy from the sf.net cvs he assures me that the
problem goes away.

sure enough, i find that two weeks ago i upgraded everything
but checkpolicy.

l.


On Wed, Oct 06, 2004 at 12:13:25PM -0400, Daniel J Walsh wrote:
> How come I am getting this avc message
> 
> Oct  6 11:58:44 localhost kernel: audit(1097078324.850:0): avc:  denied  
> { name_bind } for  pid=2471 exe=/usr/sbin/nscd src=953 
> scontext=user_u:system_r:nscd_t tcontext=system_u:object_r:rndc_port_t 
> tclass=tcp_socket
> 
> When I have this rule?
> 
> dontaudit nscd_t reserved_port_t:{ tcp_socket udp_socket } name_bind;
> 
> 
> --
> 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.

-- 
--
Truth, honesty and respect are rare commodities that all spring from
the same well: Love.  If you love yourself and everyone and everything
around you, funnily and coincidentally enough, life gets a lot better.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:lkcl@lkcl.net"> lkcl@lkcl.net </a> <br />


--
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] 4+ messages in thread

end of thread, other threads:[~2004-10-06 18:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-06 16:13 Shouldn't this avc message be dontaudited? Daniel J Walsh
2004-10-06 17:57 ` Stephen Smalley
2004-10-06 18:10   ` Daniel J Walsh
2004-10-06 18:54 ` Luke Kenneth Casson Leighton

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.