selinux boolean "httpd_use_nfs" should allow "automount_tmp_t:dir search"

Solution Unverified - Updated -

Issue

  • When enabling the httpd_use_nfs selinux boolean to allow httpd to access NFS file systems, it still can't access them when they're mounted with autofs:

    type=AVC msg=audit(1372171649.461:44936): avc: denied { search } for pid=30666 comm="httpd" name="automnt"
    dev=dm-0 ino=279666 scontext=unconfined_u:system_r:httpd_t:s0
    tcontext=unconfined_u:object_r:automount_tmp_t:s0 tclass=dir [FAILED]

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content