Bug 846289 - SELinux is preventing /usr/sbin/httpd from 'search' accesses on the directory saslauthd.
SELinux is preventing /usr/sbin/httpd from 'search' accesses on the directory...
Status: CLOSED INSUFFICIENT_DATA
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
17
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
abrt_hash:dcc5cce108a47dd8b97f70c0354...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-07 06:54 EDT by la2k_dot_com
Modified: 2012-12-15 14:37 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-12-15 14:37:20 EST
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 la2k_dot_com 2012-08-07 06:54:50 EDT
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.4.6-2.fc17.x86_64
time:           mar. 07 août 2012 12:56:13 CEST

description:
:SELinux is preventing /usr/sbin/httpd from 'search' accesses on the directory saslauthd.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that httpd should be allowed search access on the saslauthd directory by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# 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:saslauthd_var_run_t:s0
:Target Objects                saslauthd [ dir ]
:Source                        httpd
:Source Path                   /usr/sbin/httpd
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           httpd-2.2.22-4.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-140.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.4.6-2.fc17.x86_64 #1
:                              SMP Thu Jul 19 22:54:16 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    mar. 07 août 2012 12:17:07 CEST
:Last Seen                     mar. 07 août 2012 12:17:07 CEST
:Local ID                      0fd5aec6-e3d6-4e34-bdea-0dc819f4d6a8
:
:Raw Audit Messages
:type=AVC msg=audit(1344334627.387:34): avc:  denied  { search } for  pid=1385 comm="httpd" name="saslauthd" dev="tmpfs" ino=12177 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:saslauthd_var_run_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1344334627.387:34): arch=x86_64 syscall=stat success=no exit=EACCES a0=7f44d7753740 a1=7fff0adc1d90 a2=7fff0adc1d90 a3=0 items=0 ppid=1326 pid=1385 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(none) ses=4294967295 comm=httpd exe=/usr/sbin/httpd subj=system_u:system_r:httpd_t:s0 key=(null)
:
:Hash: httpd,httpd_t,saslauthd_var_run_t,dir,search
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:
Comment 1 Miroslav Grepl 2012-08-07 10:30:30 EDT
Do you use mod_authn_sasl?

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