[asterisk-bugs] [DAHDI-linux 0015500]: uninstall-modules cannot find modinfo

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jul 20 03:18:08 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15500 
====================================================================== 
Reported By:                dimas
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   15500
Category:                   General
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2009-07-14 05:32 CDT
Last Modified:              2009-07-20 03:18 CDT
====================================================================== 
Summary:                    uninstall-modules cannot find modinfo
Description: 
make install produces;

....
make[2]: Entering directory `/usr/src/kernels/2.6.18-128.1.10.el5-i686'

  Building modules, stage 2.
  MODPOST
WARNING: could not find
/usr/src/dahdi-linux-complete-tag-2.2.0.1+2.2.0/linux/drivers/dahdi/vpmadt032_loader/.vpmadt032_x86_32.o.cmd
for
/usr/src/dahdi-linux-complete-tag-2.2.0.1+2.2.0/linux/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_32.o
make[2]: Leaving directory `/usr/src/kernels/2.6.18-128.1.10.el5-i686'
build_tools/uninstall-modules dahdi 2.6.18-128.1.10.el5
build_tools/uninstall-modules: line 14: modinfo: command not found
build_tools/uninstall-modules: line 14: modinfo: command not found
build_tools/uninstall-modules: line 14: modinfo: command not found
build_tools/uninstall-modules: line 14: modinfo: command not found
....

This is because modinfo resides in the /sbin which is not in the PATH by
default...
====================================================================== 

---------------------------------------------------------------------- 
 (0107945) dimas (reporter) - 2009-07-20 03:18
 https://issues.asterisk.org/view.php?id=15500#c107945 
---------------------------------------------------------------------- 
tzafrir,  yes /sbin is not in the PATH for root. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-20 03:18 dimas          Note Added: 0107945                          
======================================================================




More information about the asterisk-bugs mailing list