|Summary:||[PATCH] modprobe whitelist functionality|
|Product:||[Fedora] Fedora||Reporter:||Miloslav Trmač <mitr>|
|Component:||kmod||Assignee:||kmod development team <kmod-maint>|
|Status:||ASSIGNED ---||QA Contact:||Fedora Extras Quality Assurance <extras-qa>|
|Version:||rawhide||CC:||carl.gaudreault, jonathan, kmod-maint, msivak, sgrubb|
|Target Milestone:||---||Keywords:||FutureFeature, Reopened|
|Fixed In Version:||Doc Type:||Enhancement|
|Doc Text:||Story Points:||---|
|Last Closed:||2012-08-07 20:08:55 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Cloudforms Team:||---||Target Upstream Version:|
|Bug Depends On:|
Description Miloslav Trmač 2010-01-29 19:39:15 UTC
Created attachment 387633 [details] Add "whitelist" and "config action_log" directives to modprobe The attached patch adds whitelist support to modprobe. It is the same set of changes as the patches sent for upstream adoption, rebased against module-init-tools-3.11.1-2.fc13.
Comment 1 Miloslav Trmač 2010-01-29 19:39:43 UTC
Created attachment 387634 [details] Spec file patch
Comment 2 Jon Masters 2010-02-24 23:55:08 UTC
Thanks for the patches. I will post a followup here.
Comment 3 Bug Zapper 2010-03-15 14:18:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle. Changing version to '13'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Comment 4 Carl G. 2010-09-23 07:47:37 UTC
I guess it's too late for the inclusion of this patch in F14?
Comment 5 Jon Masters 2010-09-24 17:52:57 UTC
Yes. But we'll revisit it for F15.
Comment 6 Bug Zapper 2011-06-02 16:43:54 UTC
This message is a reminder that Fedora 13 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '13'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 13's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 13 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Comment 7 Carl G. 2011-11-13 14:46:08 UTC
Marking as FutureFeature so it doesn't get closed when Fedora 15 EOL.
Comment 8 Steve Grubb 2012-07-11 14:51:47 UTC
Hi Jon, have you given this much more thought? The problem is not going away. We have a need to do a couple things. One is prevent surprise enablement. Meaning that you have hardware that does not have drivers and you wanted to prevent the device's use to begin with. But then one day the kernel is updated and by surprise the device is now functional. This is important for things like: web cam, microphone, wireless network, USB devices, Firewire devices, network protocols, or file systems (I'm sure there are more). The other is for security lockdown. We need to be able to prevent loading of certain modules in a way that is future-proof or in other words not susceptible to surprise enablement. F-18 is in development, so maybe we can do the experimenting now? Thanks.
Comment 9 Miloslav Trmač 2012-07-11 14:57:16 UTC
(In reply to comment #8) > Hi Jon, have you given this much more thought? The problem is not going > away. In the mean time, module-init-tools were replaced by kmod in Fedora. I haven't checked how much rewriting would the patch need.
Comment 10 Fedora End Of Life 2012-08-07 20:08:58 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Comment 11 Steve Grubb 2012-10-16 13:52:22 UTC
This functionality is still needed.
Comment 12 Milan Broz 2012-11-05 11:45:34 UTC
As mitr said in comment #9 in recent Fedora modprobe is provided by kmod package... So, obvious question - where that whitelist is needed? In RHEL7 only (so patch only kmod)?
Comment 13 Milan Broz 2012-11-05 15:57:52 UTC
I there any problem with implementing "whitelist" keyword in [lib]kmod? If not, I'll port the patch there...
Comment 15 Milan Broz 2012-11-05 19:10:23 UTC
Created attachment 638861 [details] Patch against upstream kmod Attached patch is patch against upstream kmod git, implementing "whitelist" keyword. (For fedora only minor tweak is needed but it adds library symbol so "upstream first" :-)
Comment 16 Milan Broz 2012-11-05 19:27:44 UTC
Created attachment 638888 [details] Patch against upstream kmod Fixed patch - whitelist must be applied unconditionally if exists.
Comment 17 Milan Broz 2012-11-05 21:15:00 UTC
Created attachment 638907 [details] Patch against upstream kmod And fix for previous fix... (Never ever edit patch minute before leaving the office. Proved again... :-)
Comment 18 Milan Broz 2012-11-06 12:05:17 UTC
Just for reference, I sent it upstream for discussion: http://article.gmane.org/gmane.linux.kernel.modules/876