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): yum-3.4.3-23.fc17.noarch How reproducible: Each time Steps to Reproduce: 1.Remove a not active kernel by "yum erase..." 2. 3. Actual results: The kernel is removed and manually added kernel modules, but no /lib/modules/<kernelversion> Expected results: /lib/modules/<kernelversion> will be removed totally. Additional info: 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.