[asterisk-bugs] [Asterisk 0009015]: make install assumes udev rules file exists

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Nov 18 12:37:40 CST 2007


The following issue has been marked as UNRELATED TO issue 0011283. 
====================================================================== 
http://bugs.digium.com/view.php?id=9015 
====================================================================== 
Reported By:                tzafrir
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   9015
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.13 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4 
SVN Revision (number only!): 2124 
Disclaimer on File?:        Yes 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             02-08-2007 15:54 CST
Last Modified:              06-06-2007 06:27 CDT
====================================================================== 
Summary:                    make install assumes udev rules file exists
Description: 
$  make DESTDIR=$PWD/target install
[ snip ]
make[2]: Leaving directory `/usr/src/kernel-headers-2.6.8-3-686'
make[1]: Leaving directory
`/home/tzafrir/Proj/Asterisk/DigiumRW/zaptel/branches/1.4'
build_tools/genudevrules >
/home/tzafrir/Proj/Asterisk/DigiumRW/zaptel/branches/1.4/target/etc/udev/rules.d/zaptel.rules
/bin/sh: line 1:
/home/tzafrir/Proj/Asterisk/DigiumRW/zaptel/branches/1.4/target/etc/udev/rules.d/zaptel.rules:
No such file or directory
make: *** [devices] Error 1


Also note that the file name /etc/udev/rules.d/zaptel is probably not a
good choice either:

$ ls /etc/udev/rules.d/
020_permissions.rules               z55_hotplug.rules
udev.rules                          z60_alsa-utils.rules
z20_persistent-input.rules          z60_hdparm.rules
z20_persistent.rules                z60_xen-backend.rules
z25_persistent-cd.rules             z60_xserver-xorg-input-wacom.rules
z25_persistent-net.rules            z75_cd-aliases-generator.rules
z45_persistent-net-generator.rules  zaptel.perms
z50_run.rules


(As you noted this is from a different system)

The "0NN" rules are assumed to run "before others" whereas the "zNN" ones
run "after the others". However "zaptel" is after even z99 (in directory
sorting order). zaptel.perms is currently owned by the package zaptel and I
should probably fix it as well.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-18-07 12:37  tzafrir        Relationship deleted     related to 0011283  
======================================================================




More information about the asterisk-bugs mailing list