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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 4 11:09:09 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-08-04 11:09 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0108600) qwell (administrator) - 2009-08-04 11:09
 https://issues.asterisk.org/view.php?id=15500#c108600 
---------------------------------------------------------------------- 
This page can explain the issue much better than I can. 
http://wiki.centos.org/TipsAndTricks/BecomingRoot

You should really only ever use `su -` to become root.

If it works with that method, I'd like to go ahead and close this. 
Thoughts? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-04 11:09 qwell          Note Added: 0108600                          
======================================================================




More information about the asterisk-bugs mailing list