[Pkg-voip-commits] r10316 - in /dahdi-tools/trunk/debian: changelog patches/series patches/udev_owener

tzafrir at alioth.debian.org tzafrir at alioth.debian.org
Wed Oct 2 19:54:43 UTC 2013


Author: tzafrir
Date: Wed Oct  2 19:54:43 2013
New Revision: 10316

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=10316
Log:
proper dahdi permissions as in Debian

In Debian DAHDI devices are owned by root:comm rather than
asterisk:asterisk.

Note that those rules are duplication of the rules in dahdi-linux. But
this file is probably a better place for them.


Added:
    dahdi-tools/trunk/debian/patches/udev_owener
Modified:
    dahdi-tools/trunk/debian/changelog
    dahdi-tools/trunk/debian/patches/series

Modified: dahdi-tools/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-tools/trunk/debian/changelog?rev=10316&op=diff
==============================================================================
--- dahdi-tools/trunk/debian/changelog	(original)
+++ dahdi-tools/trunk/debian/changelog	Wed Oct  2 19:54:43 2013
@@ -6,6 +6,7 @@
     (Closes: #706046).
   * Only build on Linux. At least until someone packages dahdi-kfreebsd.
   * Use upstream's udev rules.
+  * Use root:comm rather than asterisk:asterisk in udev rules.
   * hotplug support:
     - Add hotplug patches (an experimental git branch) - fixes to scriptary.
     - Remove the init script.

Modified: dahdi-tools/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-tools/trunk/debian/patches/series?rev=10316&op=diff
==============================================================================
--- dahdi-tools/trunk/debian/patches/series	(original)
+++ dahdi-tools/trunk/debian/patches/series	Wed Oct  2 19:54:43 2013
@@ -12,3 +12,4 @@
 hotplug/0006-Do-the-Right-Thing-when-there-s-no-config.patch
 hotplug/0007-span_assignments-k-keys-and-more.patch
 hotplug/0008-dahdi_registration-adapt-to-pinned-spans.patch
+udev_owener

Added: dahdi-tools/trunk/debian/patches/udev_owener
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-tools/trunk/debian/patches/udev_owener?rev=10316&op=file
==============================================================================
--- dahdi-tools/trunk/debian/patches/udev_owener	(added)
+++ dahdi-tools/trunk/debian/patches/udev_owener	Wed Oct  2 19:54:43 2013
@@ -0,0 +1,17 @@
+Description: proper dahdi permissions as in Debian
+Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+
+In Debian DAHDI devices are owned by root:comm rather than
+asterisk:asterisk.
+
+Note that those rules are duplication of the rules in dahdi-linux. But
+this file is probably a better place for them.
+
+--- a/dahdi.rules
++++ b/dahdi.rules
+@@ -1,4 +1,4 @@
+ # DAHDI devices with ownership/permissions for running as non-root
+-SUBSYSTEM=="dahdi",		OWNER="asterisk", GROUP="asterisk", MODE="0660"
++SUBSYSTEM=="dahdi",		GROUP="comm", MODE="0660"
+ SUBSYSTEM=="dahdi_devices",	RUN="/usr/share/dahdi/handle_device"
+ SUBSYSTEM=="dahdi_spans",	RUN="/usr/share/dahdi/span_config"




More information about the Pkg-voip-commits mailing list