Linux install issues

Hello,
I’m attempting to install mocha pro 2.6.2 on a RHEL 5.3 Linux box from the RPM. Most of the way there, and the app does seem to launch…but after the rpm -Uvh, there’s a few unknowns and errors…
rpm -Uvh mochapro-2.6.2-4468.x86_64.rpm
Preparing… ########################################### [100%]
1:mochapro ########################################### [100%]
chcon: can’t apply partial context to unlabeled file /opt/isl/mochaproV2/lib/libbsc.so.1.0.0
chcon: can’t apply partial context to unlabeled file /opt/isl/mochaproV2/lib/libluthien.so.1.0.0
libsepol.context_from_record: MLS is enabled, but no MLS context found
libsepol.context_from_record: could not create context structure
libsemanage.validate_handler: invalid context system_u:object_r:textrel_shlib_t specified for /opt/isl/mochaproV2/lib/libbsc.so.1.0.0 [all files]
libsemanage.dbase_llist_iterate: could not iterate over records
/usr/sbin/semanage: Could not add file context for /opt/isl/mochaproV2/lib/libbsc.so.1.0.0
libsepol.context_from_record: MLS is enabled, but no MLS context found
libsepol.context_from_record: could not create context structure
libsemanage.validate_handler: invalid context system_u:object_r:textrel_shlib_t specified for /opt/isl/mochaproV2/lib/libluthien.so.1.0.0 [all files]
libsemanage.dbase_llist_iterate: could not iterate over records
/usr/sbin/semanage: Could not add file context for /opt/isl/mochaproV2/lib/libluthien.so.1.0.0
error: %post(mochapro-2.6.2-4468.x86_64) scriptlet failed, exit status 1
The chcon and semanage call is a bit odd as SElinux is disabled completely on this system, and so those file contexts shouldn’t even be needed or affecting anything. Unless this is some legacy stuff from the install scripts which are failing because it is disabled?
Also, the post script fails at the end as it mentions…desktop icon doesn’t get installed…I’m not exactly sure yet what else is missing or incomplete. Any suggestions to get the RPM to run clean?
Thanks,
…ken

Looks like that worked without any errors on the install. Thanks!
…ken

Hi Ken,
There currently is a bug that doesn’t check to see if semanage is on the system first.
You should be able to avoid this problem by using the --noscripts argument to
rpm, for example:
# rpm -Uvh --noscripts mochapro-2.6.2-4468.x86_64.rpm
Mocha should still be installed successfully since that particular script is run after the main installation is complete.