[BusyBox 0005324]: spurious output from modprobe

bugs at busybox.net bugs at busybox.net
Wed Nov 12 22:25:41 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=5324 
====================================================================== 
Reported By:                vapier
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   5324
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             10-09-2008 01:45 PDT
Last Modified:              11-12-2008 14:25 PST
====================================================================== 
Summary:                    spurious output from modprobe
Description: 
if you run `modprobe` on a system that lacks /etc/modprobe.d, you get
spurious warnings now:
root:/> modprobe fat
modprobe: /etc/modprobe.d: No such file or directory
root:/> modprobe -r fat
modprobe: /etc/modprobe.d: No such file or directory
====================================================================== 

---------------------------------------------------------------------- 
 vda - 10-10-08 05:41  
---------------------------------------------------------------------- 
Doesn't happen on 1.13.x (svn). ACTION_QUIET suppresses it here:

static int read_config(struct modprobe_conf *conf, const char *path)
{
        return recursive_action(path, ACTION_RECURSE | ACTION_QUIET,
                                config_file_action, NULL, conf, 1);
}

modprobe.c doesn't have include_conf_recursive after some recent patches.

The easiest solution is to create /etc/modprobe.d and just wait for next
upgrade cycle. Or create a stopgap patch for 1.12.x... hmmm... ok:

http://busybox.net/downloads/fixes-1.12.1/busybox-1.12.1-modprobe.patch

Does it work for you? 

---------------------------------------------------------------------- 
 vda - 11-12-08 14:25  
---------------------------------------------------------------------- 
Fixed sometime ago in svn. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-09-08 01:45  vapier         New Issue                                    
10-09-08 01:45  vapier         Status                   new => assigned     
10-09-08 01:45  vapier         Assigned To               => BusyBox         
10-10-08 05:41  vda            Note Added: 0013174                          
11-12-08 14:25  vda            Status                   assigned => closed  
11-12-08 14:25  vda            Note Added: 0015664                          
======================================================================




More information about the busybox-cvs mailing list