Bug 19892 - UCR Variable für blacklisting von Kernelmodulen
UCR Variable für blacklisting von Kernelmodulen
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Kernel
UCS 3.1
Other Linux
: P5 enhancement (vote)
: UCS 3.2
Assigned To: Moritz Muehlenhoff
Philipp Hahn
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-08 14:19 CEST by Roman Asendorf
Modified: 2013-11-19 06:42 CET (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Asendorf univentionstaff 2010-09-08 14:19:29 CEST
Für die Liste der zu ladenden Module gibt es bereits eine UCR Variable. Für den umgekehrten Fall, dass Module explizit nicht gewünscht sind, sollte es ebenfalls eine UCR Variable geben.
Comment 1 Stefan Gohmann univentionstaff 2013-02-19 10:48:11 CET
Ist das in Zeiten von udev überhaupt noch notwendig?
Comment 2 Moritz Muehlenhoff univentionstaff 2013-02-19 11:03:25 CET
(In reply to comment #1)
> Ist das in Zeiten von udev überhaupt noch notwendig?

Ja, z.B. wenn ein Treiber nicht funktioniert und durch eine Blacklist auf einen anderen oder generischen Treiber gewechselt werden muss.
Comment 3 Moritz Muehlenhoff univentionstaff 2013-07-03 15:33:14 CEST
We need this to blacklist the nouveau module for the new 3.10 kernel.
Comment 4 Moritz Muehlenhoff univentionstaff 2013-07-03 16:29:04 CEST
The UCR variable now accepts a list of modules to be blacklisted (separated by semicolons if more than one). These are set through /etc/modprobe.d/univention-blacklist.conf
Comment 5 Felix Botner univentionstaff 2013-07-31 15:09:15 CEST
Typo in the var description

-> ucr search blackl
kernel/blacklist: nouveau
 ... This variable allows a selection of moules ...

OK - rest

-> lsmod| grep pcspk
pcspkr                 12595  0

-> ucr set kernel/blacklist='nouveau;pcspkr'
Setting kernel/blacklist
File: /etc/modprobe.d/univention-blacklist.conf

-> reboot

-> lsmod| grep pcspk

OK - Changelog
Comment 6 Moritz Muehlenhoff univentionstaff 2013-08-05 15:59:59 CEST
(In reply to Felix Botner from comment #5)
> Typo in the var description
> 
> -> ucr search blackl
> kernel/blacklist: nouveau
>  ... This variable allows a selection of moules ...

Fixed in Revision 42995. I haven't bumped the version/build since other changes for univention-base-files are pending.
Comment 7 Philipp Hahn univentionstaff 2013-08-15 11:43:42 CEST
FAIL: svn41967,41969,41970

ucs-3.2/ucs-3.2-0/base/univention-base-files/debian/univention-base-files.univention-config-registry-variables
 kernel/blacklist: s/Mehrfache/Mehrere/
oder gleich besser
 "Mehrere Einträge können durch Semikolon voneinander getrennt werden."
 (unter "mehrfach" verstehe ich das wiederholte Aufführen des selben Modulnamens)

 s/separated with/separated by/ (AFAIK 'to separate with'='sich trennen von' vs. 'to separate by'='etwas trennen mit')

Gleiches gilt auch für "kernel/modules" darüber.

OK: "ucr set kernel/blacklist=..."
OK: univention-base-files   3.0.1-5.137.201307031614
OK: Changelog svn41968
Comment 8 Moritz Muehlenhoff univentionstaff 2013-08-16 14:48:06 CEST
(In reply to Philipp Hahn from comment #7)
> FAIL: svn41967,41969,41970
> 
> ucs-3.2/ucs-3.2-0/base/univention-base-files/debian/univention-base-files.
> univention-config-registry-variables
>  kernel/blacklist: s/Mehrfache/Mehrere/
> oder gleich besser
>  "Mehrere Einträge können durch Semikolon voneinander getrennt werden."
>  (unter "mehrfach" verstehe ich das wiederholte Aufführen des selben
> Modulnamens)
> 
>  s/separated with/separated by/ (AFAIK 'to separate with'='sich trennen von'
> vs. 'to separate by'='etwas trennen mit')

Fixed in r43209 and r43210. Didn't make a import/build, since univention-base-files will be rebuilt many times before the 3.2 release anyway.
Comment 9 Philipp Hahn univentionstaff 2013-08-16 19:33:20 CEST
OK: svn43209,43210
> Fixed in r43209 and r43210. Didn't make a import/build, since
> univention-base-files will be rebuilt many times before the 3.2 release
> anyway.
OK
Comment 10 Stefan Gohmann univentionstaff 2013-11-19 06:42:33 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

If this error occurs again, please use "Clone This Bug".