Running User Experience Patch on ITSM server with non-root user on Linux Platform and install failed with below error EVERE,com.bmc.install.product.myitsmpatch.RikStatement, THROWABLE EVENT {Description=[Program execution failed due to return code -1],Detail=[Program not completed]}, Throwable=[com.bmc.install.utility.language.syntax.statement.extension.StatementDelegateReturnCodeException: AR driver file /remedy/bmc/Smart_IT_MyIT_Patch/SmartITPatch/DDL/drm/IncidentInterface_8.1.drm Exception running command: Cann ot run program "/tmp/Utilities/rik/driver" (in directory "/remedy/bmc/Smart_IT_MyIT_Patch/SmartITPatch"): error=13, Permission denied |
This knowledge article may contain information that does not apply to version 21.05 or later which runs in a container environment. Please refer to Article Number 000385088 for more information about troubleshooting BMC products in containers. Though all the permission listed in below document followed, the install still failed https://docs.bmc.com/docs/display/public/myit32/Installing+Smart+IT+and+BMC+MyIT+as+a+non-root+user
Cause # It was unable to execute the driver command within /tmp/Utilities/Rik/driver.exe with SE Linux enabled Resolution # SE Linux was enabled and disabling SELinux took care of the issue and install went successful. Other workaround is to point out IATEMPDIR during install to point different temp directory than /tmp so that user do not have to disable SE Linux configuration. Note: By default with SELinux enabled, you cannot run any binary from /tmp directory. |