Bug 563278

Summary: SELinux is preventing /usr/libexec/ipsec/showhostkey "write search" access on /var/tmp.
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:15 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:26:02 UTC
Summary:

SELinux is preventing /usr/libexec/ipsec/showhostkey "write search" access on
/var/tmp.

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                /var/tmp [ 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           filesystem-2.4.30-2.fc12
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                   1
First Seen                    Tue Feb  9 11:32:13 2010
Last Seen                     Tue Feb  9 11:32:13 2010
Local ID                      d3e039b9-b7da-4c81-ad66-98d109a73d51
Line Numbers

Raw Audit Messages

node={removed} type=AVC msg=audit(1265733133.83:22664): avc:  denied  { write search } for  pid=24272 comm="showhostkey" name="tmp" dev=sda3 ino=6086676 scontext=unconfined_u:system_r:ipsec_mgmt_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=dir

node={removed} type=SYSCALL msg=audit(1265733133.83:22664): arch=c000003e syscall=21 success=yes exit=0 a0=7fe4297e41fc a1=7 a2=7fff5e0b2900 a3=8 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:15 UTC

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