FS#24792 - [mkinitcpio] 0.6.15-1 modprobe bug

Attached to Project: Arch Linux
Opened by Максим (MaximOmsk) - Monday, 20 June 2011, 05:31 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 22 June 2011, 11:29 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
If "MODULES" variable in "/etc/mkinitcpio.conf" is empty, then modprobe usage message is displayed on boot:
Usage: modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...]
modprobe -r [-n] [-i] [-v] <modulename> ...
modprobe -l -t <dirname> [ -a <modulename> ...]

It's very annoying with quiet boot process... Can be solved by rounding with quotes "$MODULES" variable in "/lib/initcpio/init" like (line 56):
/sbin/modprobe -qab "$MODULES"

Additional info:
* package version: mkinitcpio-0.6.15-1

Steps to reproduce:
Already in "Description"...
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Wednesday, 22 June 2011, 11:29 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#24766 
Comment by xduugu (xduugu) - Monday, 20 June 2011, 17:22 GMT
See  FS#24766 . Just noticed there is a typo in the subject of this report.

Unfortunately, you cannot quote the MODULES variable because that will actually render this command line useless:

$ MODULES="uvcvideo pcspkr"
$ /sbin/modprobe -a "$MODULES"
WARNING: Module uvcvideo pcspkr not found.
Comment by Максим (MaximOmsk) - Tuesday, 21 June 2011, 05:03 GMT
Sorry, I hadn't found your bug report, when i was opening this one... I see that your solution with check is smarter. Oh maybe it's better to back to old 'for' cycle :)

Loading...