Bug 563280

Summary: SELinux is preventing /usr/libexec/ipsec/showhostkey "add_name" access on etilqs_vxLcdRv0LAkSCPh.
Product: [Fedora] Fedora Reporter: Matt Castelein <matt.castelein>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-09 19:44:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matt Castelein 2010-02-09 17:27:49 UTC
SELinux is preventing /usr/libexec/ipsec/showhostkey "add_name" access on
etilqs_vxLcdRv0LAkSCPh.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by showhostkey. It is not expected that this
access is required by showhostkey and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:system_r:ipsec_mgmt_t:s0
Target Context                system_u:object_r:tmp_t:s0
Target Objects                etilqs_vxLcdRv0LAkSCPh [ dir ]
Source                        showhostkey
Source Path                   /usr/libexec/ipsec/showhostkey
Port                          <Unknown>
Host                          {removed}
Source RPM Packages           openswan-2.6.23-1.fc12
Target RPM Packages
Policy RPM                    selinux-policy-3.6.32-78.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     {removed}
Platform                      Linux {removed}
                              2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18
                              19:52:07 UTC 2010 x86_64 x86_64
Alert Count                   3
First Seen                    Tue Feb  9 11:32:13 2010
Last Seen                     Tue Feb  9 11:32:13 2010
Local ID                      711f3c63-b562-4149-a3f5-8b1af7ed17b9
Line Numbers

Raw Audit Messages

node={removed} type=AVC msg=audit(1265733133.85:22665): avc:  denied  { add_name } for  pid=24272 comm="showhostkey" name="etilqs_vxLcdRv0LAkSCPh" scontext=unconfined_u:system_r:ipsec_mgmt_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=dir

node={removed} type=AVC msg=audit(1265733133.85:22665): avc:  denied  { create } for  pid=24272 comm="showhostkey" name="etilqs_vxLcdRv0LAkSCPh" scontext=unconfined_u:system_r:ipsec_mgmt_t:s0 tcontext=unconfined_u:object_r:tmp_t:s0 tclass=file

node={removed} type=AVC msg=audit(1265733133.85:22665): avc:  denied  { read write open } for  pid=24272 comm="showhostkey" name="etilqs_vxLcdRv0LAkSCPh" dev=sda3 ino=6086786 scontext=unconfined_u:system_r:ipsec_mgmt_t:s0 tcontext=unconfined_u:object_r:tmp_t:s0 tclass=file

node={removed} type=SYSCALL msg=audit(1265733133.85:22665): arch=c000003e syscall=2 success=yes exit=6 a0=7fff5e0b2bb0 a1=42 a2=180 a3=180 items=0 ppid=24271 pid=24272 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1899 comm="showhostkey" exe="/usr/libexec/ipsec/showhostkey" subj=unconfined_u:system_r:ipsec_mgmt_t:s0 key=(null)

Comment 1 Daniel Walsh 2010-02-09 19:44:30 UTC

*** This bug has been marked as a duplicate of bug 563272 ***