Red Hat Bugzilla – Bug 845280
postinstall script for texlive-latex doesn't verify directory exists
Last modified: 2017-12-06 07:37:00 EST
Description of problem: The postinstall script for texlive-latex has the following lines:
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
[ -x /sbin/restorecon ] && /sbin/restorecon -R /var/lib/texmf/
However, /var/lib/texmf is provided by texlive-texmf and not texlive-latex. Thus a check for the directory existing seems in order. Alternativly, the restorecon could be moved to a trigger if that seems more suitable.
This can result in a 'No such file or directory' from the restorecon during a kickstart installation.
Version-Release number of selected component (if applicable): 2007-57.el6_2
How reproducible: The script missing the check is always there. Triggering the error in kickstart is, however, a bit hit or miss. I can do it about 1/3 of the time.
Steps to Reproduce:
1. kickstart @everything
2. review install.log
3. search for error
'No such file or directory' is reported by texlive-latex
No errors from installing the packages in anaconda.
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.
Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.
*** Bug 507601 has been marked as a duplicate of this bug. ***
grant devel ack for fasttrack
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.
The official life cycle policy can be reviewed here:
This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: