First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 192201
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matthias Schwarzott <zzam@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
0001-modprobe-apply-the-blacklist-to-all-aliases.patch modprobe-apply-the-blacklist-to-all-aliases.patch patch Matthias Schwarzott 2007-09-11 18:09 0000 1.07 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 192201 depends on: Show dependency tree
Show dependency graph
Bug 192201 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-11 18:09 0000
The attached patch improves blacklisting to work on all aliases, and not just
the ones provided by modules internally (pci:* and similar).

Original description:
From d2a39380938b248f721066fff43746bcfd2558e6 Mon Sep 17 00:00:00 2001
From: Kay Sievers <kay.sievers@vrfy.org>
Date: Thu, 30 Aug 2007 02:16:01 +0200
Subject: [PATCH] modprobe: apply the blacklist to all aliases

Module blacklist entries did not get applied to configured aliases.
Modprobe configuration files are often used to supply missing aliases
which are (now) not provided by kernel modules itself. This lets possibly
configured blacklist entries disable all alias resolving, regardless
of the source of the alias.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>

The easiest test-case for this is:
modprobe pnp:dPNP0800

it loads pcspkt even when it is blacklisted, as this uses a user alias from
/etc/modprobe.d/pnp-aliases
alias pnp:dPNP0800 pcspkr

with patch applied it no longer loads pcspkr.

------- Comment #1 From Matthias Schwarzott 2007-09-11 18:09:39 0000 -------
Created an attachment (id=130610) [edit]
modprobe-apply-the-blacklist-to-all-aliases.patch

------- Comment #2 From SpanKY 2007-09-15 02:32:19 0000 -------
where was that e-mail sent to ?  cant find it via google ...

------- Comment #3 From Matthias Schwarzott 2007-09-18 09:15:11 0000 -------
The quoted text is from a git patch and no mail.
It is from Kay Sievers branch, but as he told me it should already be pulled to
upstream branch.

------- Comment #4 From Matthias Schwarzott 2007-09-24 20:01:56 0000 -------
Is there any reason not to apply this?

------- Comment #5 From SpanKY 2007-10-08 22:52:58 0000 -------
3.4 now in the tree with this fix

------- Comment #6 From Jakub Moc 2007-12-08 08:53:54 0000 -------
*** Bug 201653 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug