Red Hat Bugzilla – Bug 201303
up2date %post scriplet fails when restorecon isn't found
Last modified: 2012-06-20 12:15:53 EDT
I just saw this after updating a RHEL4 server :
/var/tmp/rpm-tmp.92623: line 11: restorecon: command not found
error: %post(up2date-4.4.69-25.i386) scriptlet failed, exit status 127
It has selinux compleetely disabled, and was upgraded from RHEL3, which probably
explains why not all RHEL4 base packages are installed. Still, either a
dependency should be added to the up2date packages that want to run restorecon,
or the failure should be silent and ignored ("&>/dev/null || :" for instance).
User firstname.lastname@example.org's account has been closed
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life.
Please See https://access.redhat.com/support/policy/updates/errata/
If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.