Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2017-0627.html
Description of problem: * when gam_server is installed and lighttpd is configured to use "fam" then at least 1 SELinux denials appears Version-Release number of selected component (if applicable): gamin-0.1.10-9.el6.x86_64 lighttpd-1.4.39-1.el6.x86_64 selinux-policy-3.7.19-287.el6.noarch selinux-policy-doc-3.7.19-287.el6.noarch selinux-policy-minimum-3.7.19-287.el6.noarch selinux-policy-mls-3.7.19-287.el6.noarch selinux-policy-targeted-3.7.19-287.el6.noarch How reproducible: always Steps to Reproduce: # grep "server.*fam" /etc/lighttpd/lighttpd.conf server.stat-cache-engine = "fam" # service lighttpd start # search for SELinux denials Actual results (enforcing mode): ---- type=SYSCALL msg=audit(01/18/2016 15:25:42.640:669) : arch=x86_64 syscall=fstat success=no exit=-13(Permission denied) a0=0x4 a1=0x7fff7a5f6a90 a2=0x7fff7a5f6a90 a3=0x6 items=0 ppid=1 pid=29163 auid=root uid=lighttpd gid=lighttpd euid=lighttpd suid=lighttpd fsuid=lighttpd egid=lighttpd sgid=lighttpd fsgid=lighttpd tty=(none) ses=1 comm=gam_server exe=/usr/libexec/gam_server subj=unconfined_u:system_r:httpd_t:s0 key=(null) type=AVC msg=audit(01/18/2016 15:25:42.640:669) : avc: denied { getattr } for pid=29163 comm=gam_server path=inotify dev=inotifyfs ino=1 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=system_u:object_r:inotifyfs_t:s0 tclass=dir ---- Actual results (permissive mode): ---- type=SYSCALL msg=audit(01/18/2016 15:50:33.956:991) : arch=x86_64 syscall=fstat success=yes exit=0 a0=0x4 a1=0x7ffde167f5c0 a2=0x7ffde167f5c0 a3=0x6 items=0 ppid=1 pid=19743 auid=root uid=lighttpd gid=lighttpd euid=lighttpd suid=lighttpd fsuid=lighttpd egid=lighttpd sgid=lighttpd fsgid=lighttpd tty=(none) ses=1 comm=gam_server exe=/usr/libexec/gam_server subj=unconfined_u:system_r:httpd_t:s0 key=(null) type=AVC msg=audit(01/18/2016 15:50:33.956:991) : avc: denied { getattr } for pid=19743 comm=gam_server path=inotify dev=inotifyfs ino=1 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=system_u:object_r:inotifyfs_t:s0 tclass=dir ---- Expected results: * no SELinux denials