[Asterisk-bugs] [Zaptel 0010181]: sudo make config fails to call chkconfig

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 11 12:09:58 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://www.example.com/var/www/insects.digium.com/core/view.php?id=10181 
====================================================================== 
Reported By:                seanbright
Assigned To:                qwell
====================================================================== 
Project:                    Zaptel
Issue ID:                   10181
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.3 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             07-11-2007 09:55 CDT
Last Modified:              07-11-2007 12:09 CDT
====================================================================== 
Summary:                    sudo make config fails to call chkconfig
Description: 
When building zaptel, I use a non-privileged user account, but when I run
make install and make config I use sudo.  On my CentOS 5.0 install:

Linux xxx.xxx.xxx 2.6.18-8.1.6.el5
http://www.example.com/var/www/insects.digium.com/core/view.php?id=1 SMP Thu Jun
14 17:46:09 EDT 2007
i686 i686 i386 GNU/Linux

Executing `sudo make config` does not call chkconfig.  Su'ing and then
running `make config` calls chkconfig appropriately.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 07-11-07 12:09  
---------------------------------------------------------------------- 
Repository: zaptel
Revision: 2719

------------------------------------------------------------------------
r2719 | qwell | 2007-07-11 12:09:57 -0500 (Wed, 11 Jul 2007) | 24 lines

Merged revisions 2718 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.4

(closes issue
http://www.example.com/var/www/insects.digium.com/core/view.php?id=10181)
................
r2718 | qwell | 2007-07-11 12:26:06 -0500 (Wed, 11 Jul 2007) | 15 lines

Merged revisions 2717 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.2

........
r2717 | qwell | 2007-07-11 12:24:21 -0500 (Wed, 11 Jul 2007) | 7 lines

On some systems, sudo does not automatically add the PATH for root, so
things like /sbin may not be in there,
 which means chkconfig may not be found.

Add a note stating this.

Issue 10181.

........

................

------------------------------------------------------------------------ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-11-07 12:09  svnbot         Checkin                                      
07-11-07 12:09  svnbot         Note Added: 0067131                          
07-11-07 12:09  svnbot         Status                   new => assigned     
07-11-07 12:09  svnbot         Assigned To               => qwell           
======================================================================




More information about the Asterisk-bugs mailing list