Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26764 - gentoo patch to quieten module-init-tools breaks modprobe
Summary: gentoo patch to quieten module-init-tools breaks modprobe
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-16 18:42 UTC by Rudo Thomas
Modified: 2003-10-29 10:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
correct version of the broken patch (module-init-tools-0.9.11-be-quiet-for-devfsd-fixed.patch,3.72 KB, patch)
2003-08-16 18:45 UTC, Rudo Thomas
Details | Diff
correct version of the broken patch (module-init-tools-0.9.11-be-quiet-for-devfsd-fixed.patch,3.72 KB, patch)
2003-08-16 18:45 UTC, Rudo Thomas
Details | Diff
correct version of the broken patch (module-init-tools-0.9.11-be-quiet-for-devfsd-fixed.patch,3.72 KB, text/plain)
2003-08-16 18:46 UTC, Rudo Thomas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rudo Thomas 2003-08-16 18:42:41 UTC
The be-quiet-for-devfsd gentoo patch for module-init-tools is wrong. 
 
When the patches modprobe detects it should be quiet, but doesn't find the 
requested module, it exits with 0, instead of 1. 
 
This proves fatal when using something like 
install a modprobe b || modprobe c 
in /etc/modprobe.conf. modprobe c is never tried, as modprobe b always 
succeeds. 
Such constructs are generated by generate-modprobe.conf when processing a 
"probe" directive found in /etc/modules.conf. 
 
A fixed patch (1 chunk from the original patch removed) is attached. 
 
Apply, please. 
 
Rudo.
Comment 1 Rudo Thomas 2003-08-16 18:45:07 UTC
Created attachment 16199 [details, diff]
correct version of the broken patch
Comment 2 Rudo Thomas 2003-08-16 18:45:35 UTC
Created attachment 16200 [details, diff]
correct version of the broken patch
Comment 3 Rudo Thomas 2003-08-16 18:46:08 UTC
Created attachment 16201 [details]
correct version of the broken patch
Comment 4 Rudo Thomas 2003-08-16 18:48:49 UTC
Sorry about the duplicate patches, but bugzilla spit out some error messages 
all the time, although the patches were correctly uploaded. 
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-19 09:15:23 UTC
Please use latest module-init-tools, and just add a patch that fixes the
return.  Thanks.
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-22 22:57:48 UTC
Seperate issue ...
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-29 10:26:21 UTC
This is fixed in latest version (0.9.15+).