Bug 1010623 - SELinux is preventing /usr/sbin/httpd from 'search' accesses on the directory /var/log/lightdm.
Summary: SELinux is preventing /usr/sbin/httpd from 'search' accesses on the directory...
Keywords:
Status: CLOSED DUPLICATE of bug 912001
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5d5639f04e2a8e0b940c60ceae7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-22 05:23 UTC by antonio montagnani
Modified: 2013-09-23 19:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-23 19:34:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description antonio montagnani 2013-09-22 05:23:01 UTC
Description of problem:
SELinux is preventing /usr/sbin/httpd from 'search' accesses on the directory /var/log/lightdm.

*****  Plugin catchall (100. confidence) suggests  ***************************

If si crede che httpd dovrebbe avere possibilità di accesso search sui lightdm directory in modo predefinito.
Then si dovrebbe riportare il problema come bug.
E' possibile generare un modulo di politica locale per consentire questo accesso.
Do
consentire questo accesso per il momento eseguendo:
# grep httpd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:httpd_t:s0
Target Context                system_u:object_r:xserver_log_t:s0
Target Objects                /var/log/lightdm [ dir ]
Source                        httpd
Source Path                   /usr/sbin/httpd
Port                          <Sconosciuto>
Host                          (removed)
Source RPM Packages           httpd-2.4.6-2.fc19.i686
Target RPM Packages           lightdm-1.6.2-1.fc19.i686
Policy RPM                    selinux-policy-3.12.1-74.3.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.11.1-200.fc19.i686.PAE #1 SMP
                              Sat Sep 14 15:20:42 UTC 2013 i686 i686
Alert Count                   172
First Seen                    2013-06-27 08:57:33 CEST
Last Seen                     2013-09-22 07:22:03 CEST
Local ID                      065ec2ba-dce7-4550-8ecc-8096b61f1a6c

Raw Audit Messages
type=AVC msg=audit(1379827323.69:511): avc:  denied  { search } for  pid=2557 comm="httpd" name="lightdm" dev="dm-1" ino=1319699 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:xserver_log_t:s0 tclass=dir


type=SYSCALL msg=audit(1379827323.69:511): arch=i386 syscall=stat64 success=no exit=EACCES a0=b7f52a40 a1=bf8140d0 a2=b7416000 a3=bf8140d0 items=0 ppid=934 pid=2557 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 ses=4294967295 tty=(none) comm=httpd exe=/usr/sbin/httpd subj=system_u:system_r:httpd_t:s0 key=(null)

Hash: httpd,httpd_t,xserver_log_t,dir,search

Additional info:
reporter:       libreport-2.1.7
hashmarkername: setroubleshoot
kernel:         3.11.1-200.fc19.i686.PAE
type:           libreport

Potential duplicate: bug 912001

Comment 1 Daniel Walsh 2013-09-23 19:34:20 UTC

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


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