* rpm throws error with selinux enabled
@ 2006-10-10 11:16 abcde efghi
2006-10-19 14:20 ` Daniel J Walsh
0 siblings, 1 reply; 3+ messages in thread
From: abcde efghi @ 2006-10-10 11:16 UTC (permalink / raw)
To: selinux; +Cc: Stephen Smalley
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: rpm throws error with selinux enabled
2006-10-10 11:16 rpm throws error with selinux enabled abcde efghi
@ 2006-10-19 14:20 ` Daniel J Walsh
0 siblings, 0 replies; 3+ messages in thread
From: Daniel J Walsh @ 2006-10-19 14:20 UTC (permalink / raw)
To: abcde efghi; +Cc: selinux, Stephen Smalley
abcde efghi wrote:
> 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 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?
> --
> This message was distributed to subscribers of the selinux mailing list.
> If you no longer wish to subscribe, send mail to
> majordomo@tycho.nsa.gov 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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: rpm throws error with selinux enabled
@ 2006-10-20 13:39 Osborn, Justin D.
0 siblings, 0 replies; 3+ messages in thread
From: Osborn, Justin D. @ 2006-10-20 13:39 UTC (permalink / raw)
To: abcde efghi; +Cc: selinux
This is an old issue where SELinux was enforcing something even when it
was disabled. The details escape me but essentially it prevented rpm
from running scripts that contained ldconfig in the post install script.
I had the same problem and had a dickens of a time tracking it down
because it's such an odd symptom. Updating to a newer kernel/libselinux
(or new RHEL4 update) should do the trick.
Justin
-----Original Message-----
From: owner-selinux@tycho.nsa.gov [mailto:owner-selinux@tycho.nsa.gov]
On Behalf Of Daniel J Walsh
Sent: Thursday, October 19, 2006 10:20 AM
To: abcde efghi
Cc: selinux@tycho.nsa.gov; Stephen Smalley
Subject: Re: rpm throws error with selinux enabled
abcde efghi wrote:
> 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 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?
> --
> This message was distributed to subscribers of the selinux mailing
list.
> If you no longer wish to subscribe, send mail to
> majordomo@tycho.nsa.gov 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 majordomo@tycho.nsa.gov
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-20 13:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-10 11:16 rpm throws error with selinux enabled abcde efghi
2006-10-19 14:20 ` Daniel J Walsh
-- strict thread matches above, loose matches on Subject: below --
2006-10-20 13:39 Osborn, Justin D.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.