[BusyBox 0005324]: spurious output from modprobe

bugs at busybox.net bugs at busybox.net
Fri Oct 10 12:41:01 UTC 2008


A NOTE has been added to this issue. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             10-09-2008 01:45 PDT
Last Modified:              10-10-2008 05:41 PDT
====================================================================== 
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? 

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                          
======================================================================




More information about the busybox-cvs mailing list