rpm throws error with selinux enabled
on rhel4 u3 x86_64 2.6.9-34.ELsmp kernel , when selinux is enabled, rpm installation gives the error:
'scriptlet failed, exit status 255'
The default selinux settings are used
#cat /etc/sysconfig/selinux
SELINUX=enforcing
SELINUXTYPE=targeted
e.g. on installing asm rpms:
# rpm -ivh *.rpm Preparing... ########################################### @ [100%] @ 1:oracleasm-support ########################################### 33% error: %post(oracleasm-support-2.0.2-1.x86_64) scriptlet failed, exit status 255 2:oracleasm-2.6.9-34.ELsm########################################### 67%] error: %post(oracleasm-2.6.9-34.ELsmp-2.0.2-1.x86_64) scriptlet failed, exit status 255 3:oracleasmlib ########################################## [100%] . However, asm rpms gets installed # rpm -qa | grep asm oracleasm-support-2.0.2-1 oracleasmlib-2.0.2-1 oracleasm-2.6.9-34.ELsmp-2.0.2-1
any help most welcome
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 30 lines · abcde efghi
on rhel4 u3
x86_642.6.9-34.ELsmp kernel , when selinux is enabled, rpm installation gives the error:
'scriptlet failed, exit status 255'The default selinux settings are used
#cat/etc/sysconfig/selinux
SELINUX=enforcing
SELINUXTYPE=targetede.g. on installing asm rpms:
# rpm -ivh *.rpm Preparing... ########################################### @ [100%] @ 1:oracleasm-support ########################################### 33% error: %post(oracleasm-support-2.0.2-1.x86_64) scriptlet failed, exit status 255 2:oracleasm-2.6.9-34.ELsm########################################### 67%] error: %post(oracleasm-2.6.9-34.ELsmp-2.0.2-1.x86_64) scriptlet failed, exit status 255 3:oracleasmlib ########################################## [100%] . However, asm rpms gets installed # rpm -qa | grep asm oracleasm-support-2.0.2-1 oracleasmlib-2.0.2-1 oracleasm-2.6.9-34.ELsmp-2.0.2-1
Quoted 2 lines
any help most welcome
This type of question is better off asked on the fedora-selinux list. If you are using Fedora :^) Are you seeing any AVC messages in /var/log/messages? What policy version are you running?
Quoted 4 lines
Signature · 3 lines
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.