Tim Lauridsen wrote:
On a newly installed FC5, with selinux set to "Enforcing"
I have some problem when updating some packages with yumex.

I get some scriptlet error:

error: %pre(avahi-0.6.9-8.FC5.i386) scriptlet failed, exit status 255
error:   install: %pre scriptlet failed (2), skipping avahi-0.6.9-8.FC5
error: %pre(xorg-x11-server-Xorg-1.0.1-9.i386) scriptlet failed, exit
status 255
error:   install: %pre scriptlet failed (2), skipping
xorg-x11-server-Xorg-1.0.1-9
error: %post(tcsh-6.14-6.fc5.1.i386) scriptlet failed, exit status 255
error: %preun(avahi-0.6.9-3.i386) scriptlet failed, exit status 255

The result is some packages have multiple versions install, other is no
longer installed.:

$ rpm -q xorg-x11-server-Xorg
package xorg-x11-server-Xorg is not installed

$ rpm -q tcsh
tcsh-6.14-5.2.1
tcsh-6.14-6.fc5.1

It is only in yumex the problem exists, i yum i get no errors. (yumex
uses the Yum API to do the real action).
I another FC5 installation with selinux disabled i dont have these errors.

Anybody got any ideas to fix there problems ???.

Tim Lauridsen
Yumex Developer.



[...@localhost ~]$ ls -Z /usr/bin/yum
-rwxr-xr-x  root     root     system_u:object_r:rpm_exec_t     /usr/bin/yum
[...@localhost ~]$ ls -Z /usr/bin/yumex
lrwxrwxrwx root root system_u:object_r:bin_t /usr/bin/yumex -> consolehelper
[...@localhost ~]$ ls -Z /usr/share/yumex/yumex
-rwxr-xr-x root root system_u:object_r:usr_t /usr/share/yumex/yumex
[...@localhost ~]$ ls -Z /usr/sbin/pup
-rwxr-xr-x  root     root     system_u:object_r:rpm_exec_t     /usr/sbin/pup
[...@localhost ~]$ ls -Z /usr/sbin/pup

It look like it have something to do with the 'system_u:object_r:rpm_exec_t' attribute, yumex dont have that attribute.
How do i get this attribute ????

Tim Lauridsen
Yumex Developer.

Reply via email to