Skip to content

fix: modprobe override handling + audit#1577

Merged
RoyalOughtness merged 1 commit intosecureblue:livefrom
HastD:fix-module-audit
Nov 6, 2025
Merged

fix: modprobe override handling + audit#1577
RoyalOughtness merged 1 commit intosecureblue:livefrom
HastD:fix-module-audit

Conversation

@HastD
Copy link
Copy Markdown
Collaborator

@HastD HastD commented Nov 6, 2025

  • Rename conf files in /usr/lib/modprobe.d to not use a numeric prefix. This is necessary because modprobe uses the lexicographically first (not last) install instruction, so the 99-$MODULE.conf files created in /etc/modprobe.d by the module override scripts need to be before the system conf files that they're intended to override. This should fix [BUG] Issue with Bluetooth #1575 and fix [BUG] Thunderbolt modules no longer load #1576.
  • Modify audit_modprobe in audit script to reflect changes to modprobe setup. In particular, we no longer need to check for changes to the conf file, as it's in /usr/lib rather than /etc now. This fixes a crash in the audit script.

* Rename conf files in `/usr/lib/modprobe.d` to not use a numeric
  prefix. This is necessary because modprobe uses the lexicographically
  first (not last) `install` instruction, so the `99-$MODULE.conf` files
  created in `/etc/modprobe.d` by the module override scripts need to be
  before the system conf files that they're intended to override.
* Modify `audit_modprobe` in audit script to reflect changes to modprobe
  setup. In particular, we no longer need to check for changes to the
  conf file, as it's in `/usr/lib` rather than `/etc` now.

Signed-off-by: Daniel Hast <[email protected]>
@HastD
Copy link
Copy Markdown
Collaborator Author

HastD commented Nov 6, 2025

Just fixed a small oversight caught here, I had forgotten to stage this change before committing.

@RoyalOughtness RoyalOughtness merged commit 8f86c40 into secureblue:live Nov 6, 2025
15 checks passed
@HastD HastD deleted the fix-module-audit branch November 6, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Thunderbolt modules no longer load [BUG] Issue with Bluetooth

5 participants