Description of problem: I believe that this is a well known problem associated with SELinux, however I can't find a report in bugzilla. Yum update and install leaves system in strange state because most pre and/or post scripts for RPMs fail. By strange state I mean that (for example): If I update eclipse I am left with rpm -q telling me that I have two eclipse installed. I've also included gnome-media below to show that the problem is generic rather than just with the eclipse packages. [root@mowa423-lxajd9 ~]# rpm -qa | grep eclipse eclipse-ecj-3.1.0_fc-0.M6.18 eclipse-ecj-3.1.0_fc-0.M6.19 eclipse-platform-3.1.0_fc-0.M6.18 eclipse-platform-3.1.0_fc-0.M6.19 eclipse-ecj-3.1.0_fc-0.M6.16 eclipse-platform-3.1.0_fc-0.M6.16 [root@mowa423-lxajd9 ~]# rpm -qa | grep gnome-media gnome-media-2.10.2-1 gnome-media-2.10.2-2 Version-Release number of selected component (if applicable): Fedora Core Rawhide How reproducible: Always Steps to Reproduce: 1. yum update Actual results: snippet from the middle of one update Updating : device-mapper ####################### [38/98] error: %post(device-mapper-1.01.02-1.0.i386) scriptlet failed, exit status 255 Updating : totem ####################### [39/98] error: %post(totem-1.0.2-1.i386) scriptlet failed, exit status 255 Updating : system-config-securitylevel ####################### [40/98] error: %post(system-config-securitylevel-1.5.8-1.i386) scriptlet failed, exit status 255 Updating : hwbrowser ####################### [41/98] error: %pre(kernel-2.6.11-1.1319_FC4.i686) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping kernel-2.6.11-1.1319_FC4 Updating : beecrypt-python ####################### [43/98] Updating : evolution-data-server-devel ####################### [44/98] error: %pre(bind-9.3.1-4.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping bind-9.3.1-4 error: %pre(kernel-smp-2.6.11-1.1319_FC4.i686) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping kernel-smp-2.6.11-1.1319_FC4 Expected results: The packages should install smoothly Additional info: I originally had SELinux enabled but turned it off. I re-enabled it a few days ago. I've tried an "rpm -vvvvvi packagename" but that dosn't tell me why the pre and post scripts are failing.
How did you turn off selinux? rpm will look in /etc/selinux/config to see if it's enabled or not.
Did you relable the filesystem after re-enabling? Are there any avc messages?
To turn off selinux I chaned the string in /etc/selinux/config to "disabled". To re-enable it I used the GUI. I'm not sure if I re-labeled the file system after restart. I'll do that now.
The fix is to relable the file system. I've changed this to NOTABUG as there's no THESUBMITTERISANASS option :)