Red Hat Bugzilla – Bug 815244
Erasing some kernel with "yum erase ..." will not remove the specific subdir of /lib/modules
Last modified: 2014-01-21 18:21:53 EST
Description of problem:
If I erase some kernel with yum, all modules in /lib/modules/<kernelversion> made by dkms are removed too, but /lib/modules/<kernelversion> itself will remain, so I have to remove it manually.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Remove a not active kernel by "yum erase..."
The kernel is removed and manually added kernel modules, but no /lib/modules/<kernelversion>
/lib/modules/<kernelversion> will be removed totally.
The only additional modules I have are those of VirtualBox from virtualbox.org
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Yum doesn't do any of this. My guess is some %post scriptlet is removing the "external" modules ... but that happens after rpm checks to see if it's safe to remove the directory (and decides it isn't because it's not empty).
Or rpm might be keeping it due to permission/owner changes ... or something else.