Created attachment 435266 [details]
script session demonstrating the problem
Description of problem:
When a kmod is installed and an incompatible kernel is to be installed, rpm dependency checking does not cause an error or warning message (rpm -iv or yum install)
An error is only generated if the kernel is updated (rpm -Uv or yum update).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install RHEL6 beta2 (2.6.32-37.el6)
2. install kmod
3. install new, incompatible kernel (e.g. snapshot8: 2.6.32-52.el6) with rpm -i
error or warning message.
This may lead to a situation where the customer can't boot the default kernel because of a missing kmod. In RHEL5, the "yum-kmod" plugin with the "installforallkernels" option fulfilled this requirement, but yum-kmod is no longer available.
I am attaching a script session demonstrating what I mean.
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.
** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **
The RHEL6 kernels prior to GA release of RHEL6.0 may introduce such "incompatibilities" because we do not offer a kABI guarantee until the official release of RHEL6.0. The situation described in this bug should not arise in production, however I am willing to consider adding logic to catch this into the optional yum plugin we have created for RHEL6.0. I have raised this for internal discussion on the matter for 6.0 or 6.1 consideration accordingly.
The situation described in this bug should not arise in production. We've discussed the matter internally and because this is unlikely to occur, we've determined that we'd rather use the resources required on other projects.