Bug 560160

Summary: SELinux is preventing pam_timestamp_c (unlabeled_t) "search" to / (root_t).
Product: [Fedora] Fedora Reporter: sham sham435 <sham435>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:d03967c3880309a61b60b691af5fce2f316ca0ce008586783d191f755d155efd
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-01 10:05:24 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 sham sham435 2010-01-30 00:57:26 UTC
Summary:

SELinux is preventing pam_timestamp_c (unlabeled_t) "search" to / (root_t).

Detailed Description:

SELinux denied access requested by pam_timestamp_c. It is not expected that this
access is required by pam_timestamp_c 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:

Sometimes labeling problems can cause SELinux denials. You could try to restore
the default system file context for /,

restorecon -v '/'

If this does not work, there is currently no automatic way to allow this access.
Instead, you can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context                system_u:object_r:unlabeled_t:s0
Target Context                system_u:object_r:root_t:s0
Target Objects                / [ dir ]
Source                        pam_timestamp_c
Source Path                   2F7362696E2F70616D5F74696D657374616D705F636865636B
                              202864656C6574656429
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           filesystem-2.4.13-1.fc9
Policy RPM                    selinux-policy-3.3.1-135.fc9
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall_file
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.27.25-78.2.56.fc9.i686 #1 SMP Thu Jun 18
                              12:47:50 EDT 2009 i686 i686
Alert Count                   1
First Seen                    Tue 02 Jan 2001 05:03:30 AM LKT
Last Seen                     Tue 02 Jan 2001 05:03:30 AM LKT
Local ID                      246b0059-bb73-430b-b868-8625c00dd365
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(978390210.193:187): avc:  denied  { search } for  pid=1875 comm="pam_timestamp_c" name="/" dev=dm-0 ino=2 scontext=system_u:object_r:unlabeled_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(978390210.193:187): arch=40000003 syscall=5 success=no exit=-13 a0=449126 a1=0 a2=1b6 a3=449126 items=0 ppid=1873 pid=1875 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="pam_timestamp_c" exe=2F7362696E2F70616D5F74696D657374616D705F636865636B202864656C6574656429 subj=system_u:object_r:unlabeled_t:s0 key=(null)



Hash String generated from  selinux-policy-3.3.1-135.fc9,catchall_file,pam_timestamp_c,unlabeled_t,root_t,dir,search
audit2allow suggests:

#============= unlabeled_t ==============
allow unlabeled_t root_t:dir search;

Comment 1 Miroslav Grepl 2010-02-01 10:05:24 UTC

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