yum and up2date broken
Paul Nasrat
pauln at truemesh.com
Wed Apr 7 07:39:55 UTC 2004
On Tue, Apr 06, 2004 at 10:33:46PM +0100, Arnaldo Bento wrote:
>
You are correct it is the version mismatch between rpm (rpmlib specifically)
and rpm python causing this.
> Preparing... ###########################################
> [100%]
> error: setexeccon(root:staff_r:rpm_script_t) fails from context
> "root:staff_r:staff_t": Invalid argument
Note that you need to be sysadm_r before running rpm (see the RELEASE-NOTES for details on selinux)
as root
newrole -r sysadm_r -t sysadm_t
rpm -Uvh rpm-4.3.1-0.1.i386.rpm
id -Z will tell you what context you are in, you should always be sysadm_r
for running rpm, yum, up2date, etc.
Paul
More information about the fedora-test-list
mailing list