Bug 202881 - AVC denied messages for semodule/netfilter_contexts.tmp
AVC denied messages for semodule/netfilter_contexts.tmp
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-16 17:41 EDT by Robert Scheck
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-08-21 14:05:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Robert Scheck 2006-08-16 17:41:51 EDT
Description of problem:
type=AVC msg=audit(1155764392.635:42019): avc:  denied  { write } for  pid=27664 
comm="semodule" name="contexts" dev=cciss/c0d0p2 ino=1082871 scontext=user_u:
system_r:semanage_t:s0 tcontext=system_u:object_r:default_context_t:s0 
tclass=dir
type=AVC msg=audit(1155764392.635:42019): avc:  denied  { add_name } for  
pid=27664 comm="semodule" name="netfilter_contexts.tmp" scontext=user_u:
system_r:semanage_t:s0 tcontext=system_u:object_r:default_context_t:s0 
tclass=dir
type=AVC msg=audit(1155764392.635:42019): avc:  denied  { create } for  
pid=27664 comm="semodule" name="netfilter_contexts.tmp" scontext=user_u:
system_r:semanage_t:s0 tcontext=user_u:object_r:default_context_t:s0 tclass=file
type=AVC msg=audit(1155764392.635:42020): avc:  denied  { write } for  pid=27664 
comm="semodule" name="netfilter_contexts.tmp" dev=cciss/c0d0p2 ino=1081448 
scontext=user_u:system_r:semanage_t:s0 tcontext=user_u:object_r:
default_context_t:s0 tclass=file
type=AVC msg=audit(1155764392.635:42021): avc:  denied  { remove_name } for  
pid=27664 comm="semodule" name="netfilter_contexts.tmp" dev=cciss/c0d0p2 
ino=1081448 scontext=user_u:system_r:semanage_t:s0 tcontext=system_u:object_r:
default_context_t:s0 tclass=dir
type=AVC msg=audit(1155764392.635:42021): avc:  denied  { rename } for  
pid=27664 comm="semodule" name="netfilter_contexts.tmp" dev=cciss/c0d0p2 
ino=1081448 scontext=user_u:system_r:semanage_t:s0 tcontext=user_u:object_r:
default_context_t:s0 tclass=file

Version-Release number of selected component (if applicable):
selinux-policy-targeted-2.3.7-1

Expected results:
No AVC denied messages... ;-)
Comment 1 Daniel Walsh 2006-08-18 09:32:30 EDT
Could you try 

setenforce 0
semoudle -b /usr/share/selinux/targeted/base.pp
setenforce 1
semoudle -b /usr/share/selinux/targeted/base.pp

The second one should not generate avc messages.
Comment 2 Robert Scheck 2006-08-20 06:57:28 EDT
Guessing you mean semodule instead of semoudle? Yes, I'm currently running  the 
SELinux targeted policy in permissive but I can't switch to enforced yet without 
breaking other stuff on this system.
Comment 3 Daniel Walsh 2006-08-20 10:41:57 EDT
Ok, but does running the 
semodule -b /usr/share/selinux/targeted/base.pp still cause the avc messages?

What problems are you having that are preventing you running in enforcing mode?
Comment 4 Daniel Walsh 2006-08-21 14:05:00 EDT
I am closing this because I beleive this is a resolved bug.

Note You need to log in before you can comment on or make changes to this bug.