[asterisk-bugs] [Zaptel 0011276]: UDEV zaptel.rules & CentOS 5

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Nov 19 08:59:45 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11276 
====================================================================== 
Reported By:                forrestbeck
Assigned To:                
====================================================================== 
Project:                    Zaptel
Issue ID:                   11276
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Zaptel Version:             1.4.5.1  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-16-2007 15:39 CST
Last Modified:              11-19-2007 08:59 CST
====================================================================== 
Summary:                    UDEV zaptel.rules & CentOS 5
Description: 
On CentOS 5 and RHEL 5 (kernel 2.6.18-8.el5) there is a problem when using
zaptel.rules.  If you have an "asterisk" user on the system and run "make
config" in zaptel, the zaptel.rules file is placed in /etc/udev/rules.d,
which is normal.  But when you go to start zaptel, only zttranscode will be
owned to the "asterisk" user.  This is because the 50-udev.rules file
already has definitions for the other zap devices.  

make config needs to remove them from 50-udev.rules
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0009015 make install assumes udev rules file ex...
====================================================================== 

---------------------------------------------------------------------- 
 forrestbeck - 11-19-07 08:59  
---------------------------------------------------------------------- 
I think this bug should remain open.  The more recent versions of Fedora,
CentOS, and RHEL now have rules in 50-udev.rules for zap devices.

If you look at 50-udev.rules located in /etc/udev/rules.d after a clean
install of the OS you will see 

# Section for zaptel device
KERNEL=="zapctl",     		NAME="zap/ctl"
KERNEL=="zaptimer",   		NAME="zap/timer"
KERNEL=="zapchannel", 		NAME="zap/channel"
KERNEL=="zappseudo",  		NAME="zap/pseudo"
KERNEL=="zap[0-9]*",  		NAME="zap/%n"

So then you install zapel and the zaptel.rules is inserted into the
rules.d directory.  The rules defined in zaptel.rules will be ignored,
because the devices were already defined in 50-udev.rules.  Maybe the
zaptel.rules file should be named 49-zaptel.rules? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-19-07 08:59  forrestbeck    Note Added: 0073934                          
======================================================================




More information about the asterisk-bugs mailing list