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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.