Bug 2223158

Summary: [DDF] Consider replacing `rmmod` with `modprobe -r` in this example. `rmmod` is generally paired with `insmod`.
Product: Red Hat Enterprise Linux 9 Reporter: Direct Docs Feedback <ddf-bot>
Component: DocumentationAssignee: Marc Muehlfeld <mmuehlfe>
Documentation sub component: DDF QA Contact:
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: unspecified    
Priority: high CC: rhel-docs
Version: unspecifiedKeywords: Documentation, EasyFix
Target Milestone: rc   
Target Release: 9.2   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-17 13:36:09 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 Direct Docs Feedback 2023-07-16 02:15:20 UTC
Consider replacing `rmmod` with `modprobe -r` in this example. `rmmod` is generally paired with `insmod`.

Reported by: dpward-mitll

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/configuring_and_managing_networking/linux-traffic-control_configuring-and-managing-networking#annotations:0cdbb02c-f8db-426f-b688-c95037af8266

Comment 2 Marc Muehlfeld 2023-07-17 13:22:18 UTC
Side note:

"rmmod" cannot remove unused dependent modules, but "modprobe -r" can. That's why the latter is preferred.
Jamie Bainbridge an I reported a ticket (BZ#2164253) a while ago to make this clearer in the rmmod(8) man page.