Old Kernel Modules Directories not Cleaned up

Tom H tomh0665 at gmail.com
Fri Jan 30 14:15:03 UTC 2015


On Thu, Jan 29, 2015 at 6:41 PM, poma <pomidorabelisima at gmail.com> wrote:
> On 30.01.2015 00:21, Gordon Messmer wrote:
>> On 01/29/2015 01:55 PM, Stephen Morris wrote:
>>>
>>> I had to delete a dozen of these directories this morning manually,
>>> why are these not removed when the associated kernels are removed?
>>
>> Were the kernel modules in those directories built locally by dkms
>> rather than owned by rpm packages? That'd do it.
>>
>
> These modules do not belong to the official kernel packages, as well
> as your hand-built Wi-Fi module.
>
> The point is, DKMS - Dynamic Kernel Module Support is not a perfect
> mechanism, therefore, it is "normal" for it to leave the old modules
> behind.
>
> https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_Support#Remove_modules

Shouldn't there be a prerm hook that runs "dkms remove ..."?!


More information about the users mailing list