Bug 257441 - devmatch rc script doesn't honor devmatch_blacklist
Summary: devmatch rc script doesn't honor devmatch_blacklist
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 13.0-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-27 00:04 UTC by t_uemura
Modified: 2021-07-27 01:00 UTC (History)
1 user (show)

See Also:


Attachments
Patch fixes the issue (348 bytes, patch)
2021-07-27 00:04 UTC, t_uemura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description t_uemura 2021-07-27 00:04:33 UTC
Created attachment 226724 [details]
Patch fixes the issue

According to /etc/defaults/rc.conf, devmatch_blacklist would hold a list of modules (w/o .ko) to exclude from devmatch.

Meanwhile in /etc/rc.d/devmatch, every module name attempted to load with .ko is tested against devmatch_blacklist and test always fails.
Comment 1 Ceri Davies freebsd_committer 2021-07-27 00:22:53 UTC
This is already fixed in stable/13 - could you confirm you have this commit?

https://cgit.freebsd.org/src/commit/libexec/rc/rc.d/devmatch?h=stable/13&id=a4ce800b585ba01dc6e5787521654318906a1efd
Comment 2 t_uemura 2021-07-27 01:00:09 UTC
Thanks, confirmed it was fixed.