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.

Bug 1167474

Summary: Files in /var/lib/texmf/web2c have wrong SELinux context
Product: Red Hat Enterprise Linux 7 Reporter: Martin Žember <mzember>
Component: texlive-texmfAssignee: Than Ngo <than>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: ebenes, mgrepl, mmalik, than
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-12 13:46:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Žember 2014-11-24 21:19:58 UTC
Description of problem:
/var/lib/texmf/web2c/pdftex/jadetex.log has wrong SELinux context.

There are more files like that:
/var/lib/texmf/web2c/pdftex/jadetex.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/jadetex.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/pdfjadetex.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/pdfjadetex.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/latex.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/latex.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/pdflatex.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/pdflatex.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/mptopdf.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/mptopdf.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/pdftex.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/pdftex.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/etex.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/etex.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/pdfetex.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/pdfetex.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/xmltex.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/xmltex.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/pdfxmltex.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/pdftex/pdfxmltex.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/luatex/dvilualatex.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/luatex/dvilualatex.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/luatex/lualatex.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/luatex/lualatex.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/luatex/luatex.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/luatex/luatex.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/luatex/dviluatex.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/luatex/dviluatex.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/metafont/mf.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/metafont/mf.base: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/tex/tex.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/tex/tex.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/xetex/xetex.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/xetex/xetex.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/xetex/xelatex.log: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.
/var/lib/texmf/web2c/xetex/xelatex.fmt: labeled as 'system_u:object_r:rpm_script_tmp_t:s0', should be 'system_u:object_r:tetex_data_t:s0'.

Version-Release number of selected component (if applicable):
RHEL-7.1-20141029.0
selinux-policy-3.13.1-6.el7

How reproducible:
Always

Steps to Reproduce:
1. Use the compose RHEL-7.1-20141029.0 (texlive-texmf is already installed)
2. ls -Z /var/lib/texmf/web2c/pdftex/jadetex.log

Actual results:
See Summary above.

Expected results:
See Summary above.

Additional info:
Running restorecon on those would re-label the files with correct labels. This is needed to be done in one of the scriptlets.

Comment 2 Martin Žember 2014-12-01 11:18:31 UTC
Please help me set severity/priority to this.

Comment 6 Than Ngo 2015-10-12 13:46:52 UTC

*** This bug has been marked as a duplicate of bug 948318 ***