install of kernel 2.6.4-1.298-rpm does not work - SElinux?
James Morris
jmorris at redhat.com
Wed Mar 31 14:56:53 UTC 2004
On Wed, 31 Mar 2004, Götz Reinicke wrote:
> Today I downloaded the kernel-2.6.4-1.298-rpm an did an rpm -ivh - that
> failed:
>
> [root at dilbert root]# rpm -ivh kernel-2.6.4-1.298.i686.rpm
> Preparing... ###########################################
> [100%]
> Fehler: setexeccon(root:staff_r:rpm_script_t) fails from context
> "root:staff_r:s taff_t": Das Argument ist ungültig
> Fehler: %pre(kernel-2.6.4-1.298) scriptlet failed, exit status 255
> Fehler: install: %pre scriptlet failed (2), skipping kernel-2.6.4-1.298
>
>
> setexeccon concernes selinux, but but whats wrong...?
This should normally work, but there's a bug in the current policy. You
need to be sysadm_r for this to work at the moment, e.g.:
# newrole -r sysadm_r
A new policy should be available in rawhide soon (1.9.1-4) which fixes
this.
- James
--
James Morris
<jmorris at redhat.com>
More information about the fedora-test-list
mailing list