Non-fatal POSTIN scriptlet failure in rpm package vfabric-hyperic-server
search cancel

Non-fatal POSTIN scriptlet failure in rpm package vfabric-hyperic-server

book

Article ID: 340641

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:
VMware vFabric Hyperic Server RPM installation on SELinux fails with error:
Non-fatal POSTIN scriptlet failure in rpm package vfabric-hyperic-server


Environment

VMware vFabric Hyperic Server 5.0.x
VMware vFabric Hyperic Server 4.6.x

Cause

By default, the RPM installer unpacks a temporary JRE to the /tmp directory, which is used for the remainder of the installation process.
The error Non-fatal POSTIN scriptlet failure is the result of an SElinux policy that prevents executables from running in the /tmp directory. Even though the directory and unpacked files may have execute permissions, the system prevents the executables from running.

Resolution

This is a known issue affecting VMware vFabric Hyperic Server 4.6 and 5.0. Currently, there is no resolution.

To work around this issue, prior to installation, set the environment variable tmpdir to point to a directory where installation processes are allowed to run.
For example:
export TMPDIR=<ALTERNATE_DIRECTORY_PATH>
echo $TMPDIR
You should now be able to launch processes in the /tmp directory.




Additional Information

Other installation tasks may be affected when you install on SELinux, depending on the security settings on the target machine:
  • Permission issues creating a user
  • Writing to the default /opt/hyperic or /opt/vmware/hyperic directories
  • Creation of startup scripts in init.d
To troubleshoot other installation issues, review your system security and permission settings.