Red Hat Bugzilla – Bug 157221
yum scriptlet failed
Last modified: 2014-01-21 17:52:02 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Description of problem:
running kernel-2.6.11-1.1286_FC4 and ignoring the presence of some selinux message during reboot.
Here are the last few lines of the yum update output:
(1/1): kernel-2.6.11-1.12 100% |=========================| 14 MB 00:51
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
error: %pre(kernel-2.6.11-1.1287_FC4.i686) scriptlet failed, exit status 255
error: install: %pre scriptlet failed (2), skipping kernel-2.6.11-1.1287_FC4
Installed: kernel.i686 0:2.6.11-1.1287_FC4
It last two messages suggest success, however the 1287 kernel is not installed.
I rebooted, adding selinux=0 to boot parameters, and the yum update really successfully installed kernel-2.6.11-1.1287_FC4
I think there are two errors here. One with yum - for reporting success when it in fact failed. The other with selinux. This bug report is for yum.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. boot kernel-2.6.11-1.1286_FC4
2. yum remove kernel-2.6.11-1.1287_FC4
3. yum update
rpm/selinux bug - not yum.
This problem has not occured with FC4test3.
I suspect this problem is no longer reproducable. I have no objection to seeing
it closed on that account.
Sadly I've just had this problem on an FC4 final box during a full update a week
ago. Having tracked it down to this bug. It was completely repeatable.
Disabled selinux and all was well. Did a full upgrade to today's packages,
restarted with selinux enabled and I can't repeat it anymore...
This problem appears unreproducible, and related to selinux behavior. Reopen and assign to selinux if you
want it fixed.