Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 55764

Summary: modutils 2.4.6-4 won't unload modules (missing kmod cron job)
Product: [Retired] Red Hat Linux Reporter: ckulesa
Component: modutilsAssignee: Bill Nottingham <notting>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: ckulesa, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-11-06 12:12:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ckulesa 2001-11-06 12:10:48 UTC
Description of Problem:

Redhat 7.2 does not include /etc/cron.d/kmod in the modutils package, which means that unused (autoclean) kernel modules will not be removed from memory! 



Version-Release number of component:

modutils 2.4.6-4 as shipped with Redhat 7.2



How Reproducible:

Default upgrade from 7.1



Actual Results:

Unused modules never unload!



Expected Results:

Unused kernel modules should unload after 2 passes of the cron task every 10 minutes. 



Additional Information:



Solution! Rebuild modutils package, adding this to the SPEC file:

[it's all in one line but got word-wrapped in Web form]



echo "*/10 * * * *  root /sbin/rmmod -as"  >$RPM_BUILD_ROOT/etc/cron.d/kmod



And add /etc/cron.d/kmod to the list of files.

Comment 1 Bill Nottingham 2001-11-06 16:00:49 UTC
It was removed intentionally, due to user requests.

*** This bug has been marked as a duplicate of 16608 ***