Red Hat Bugzilla – Bug 386481
avc messaged caused by autofs enhancements for RHEL 5 update 2
Last modified: 2008-05-21 12:06:08 EDT
Description of problem:
We are making several enhancements to autofs in RHEL 5 update 2.
One such enhancement is the ability to alter the debug logging
of automount managed mount points. This has been implemented
using a named pipe to communicate the log level changes
to the running daemon by invoking the daemon program with
an option specifying the change in log level.
Since autofs hasn't previously used these named pipes selinux
rightly informs us that "automount" isn't allowed to create,
read, write or unlink these named pipes.
Version-Release number of selected component (if applicable):
All revisions since RHEL autofs-5.0.1-0.rc2.56.
Steps to Reproduce:
Start autofs with at least one configured mount point and
inspect the output in /var/log/messages.
avc messages informing us of the above issue.
No avc messages related to autofs use of the named pipes.
As was previously agreed, the proper place for named pipes
belonging to autofs are created within the /var/run directory.
Created attachment 260931 [details]
Example avc messages related to named autofs use of named pipes
Fixed in selinux-policy-2.4.6-107.el5
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
QE ack for RHEL5.2. See comment 0 for reproducer.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.