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.
Bug 971814 - automount cannot mount into public_content_t
Summary: automount cannot mount into public_content_t
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: selinux-policy
Version: 6.5
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: Michal Trunecka
URL:
Whiteboard:
Depends On: 971027
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-07 10:29 UTC by Michal Trunecka
Modified: 2014-09-30 23:35 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.7.19-205.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 971027
Environment:
Last Closed: 2013-11-21 10:30:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1598 0 normal SHIPPED_LIVE selinux-policy bug fix and enhancement update 2013-11-20 21:39:24 UTC

Description Michal Trunecka 2013-06-07 10:29:45 UTC
The same issue on RHEL6:
selinux-policy-targeted-3.7.19-195.el6_4.6.noarch

(I guess we won't fix this on RHEL5. Let me know if I'm wrong, I'll file it for RHEL5 too)

+++ This bug was initially created as a clone of Bug #971027 +++

Description of problem:
automount cannot mount into public_content_t, which fails with avc. Since ftpd can read/write to autofs_t and nfs_t using corresponding booleans, I would expect I can mount dirs into /var/ftp directory, which has public_content_t by default.


----
time->Wed Jun  5 13:39:09 2013
type=SYSCALL msg=audit(1370435949.472:2364): arch=c000003e syscall=165 success=no exit=-13 a0=7fcd30931950 a1=7fcd180008c0 a2=7fcd2fab7d98 a3=c0ed0000 items=0 ppid=19203 pid=19214 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="automount" exe="/usr/sbin/automount" subj=system_u:system_r:automount_t:s0 key=(null)
type=AVC msg=audit(1370435949.472:2364): avc:  denied  { mounton } for  pid=19214 comm="automount" path="/var/ftp" dev="dm-1" ino=315097 scontext=system_u:system_r:automount_t:s0 tcontext=system_u:object_r:public_content_t:s0 tclass=dir



Version-Release number of selected component (if applicable):
selinux-policy-3.12.1-48.el7.noarch

Comment 6 errata-xmlrpc 2013-11-21 10:30:26 UTC
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.

http://rhn.redhat.com/errata/RHBA-2013-1598.html


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