Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75767 - modules-update (baselayout-1.11.8) fails if modules-init-tools-3.1 are compiled with no-old-linux use-flag
Summary: modules-update (baselayout-1.11.8) fails if modules-init-tools-3.1 are compil...
Status: RESOLVED DUPLICATE of bug 66504
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-27 01:45 UTC by Christian Schmidt
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schmidt 2004-12-27 01:45:43 UTC
The command modules-update always gives the "* Warning: could not generate /etc/modprobe.conf!" message when run if module-init-tools-3.1 has been compiled with the no-old-linux use-flag.

Reproducible: Always
Steps to Reproduce:
1. run modules-update

Actual Results:  
The content of /etc/modprobe.conf is not changed, a new file is not generated.


Expected Results:  
The content of /etc/modules.d/* is analysed and written into /etc/modprobe.conf.

/sbin/generate-modprobe.conf fails with "Cannot find old version of modprobe. 
Giving up.", causing the modules-update script to fail. The whole point of the 
no-old-linux use-flag apparently is not to install the old modutils, though.

strace()ing modprobe (modprobe -V: module-init-tools version 3.1) yields, among 
others:
open("/etc/modprobe.conf", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 
ENOENT (No such file or directory)
open("/etc/modprobe.conf", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/modprobe.d", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT 
(No such file or directory)
open("/etc/modprobe.d", O_RDONLY)       = -1 ENOENT (No such file or directory)

Which are not generated, so module support is broken.
Comment 1 SpanKY gentoo-dev 2004-12-27 06:57:42 UTC

*** This bug has been marked as a duplicate of 66504 ***