Bug#562024: udev deprecation warnings

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Jan 4 17:10:27 UTC 2010


On Tue, Dec 22, 2009 at 08:21:28AM +0800, jidanni at jidanni.org wrote:
> Package: dahdi-linux
> Version: 1:2.2.0.2~dfsg-1
> Severity: wishlist
> File: /etc/udev/rules.d/xpp.rules
> 
> Getting these warnings these days:
> Dec 19 09:34:49 jidanni3 udevd[2369]: BUS= will be removed in a future udev version, please use SUBSYSTEM= to match the event device, or SUBSYSTEMS= to match a parent device, in /etc/udev/rules.d/xpp.rules:1
> Dec 19 09:34:49 jidanni3 udevd[2369]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/xpp.rules:7

With some help from Marco d'Itri I've fixed the issue in the trunk of
upstream:

In dahdi-tools:
http://svnview.digium.com/svn/dahdi?view=revision&revision=7752

... and in dahdi-linux:
http://svnview.digium.com/svn/dahdi?view=revision&revision=7753

Those changes are simple enough to backport. I still have to remaining
considerations:

* The change in dahdi-linux depends on the change in dahdi-tools,
  which will require a more specific versioned dependency.
* There is still one minor (and more Debian-specific) issue remaining:
  this is a udev rule that relies on files from /usr . It should thus
  avoid calling /usr/share/dahdi/xpp_fxloader directly and rather call
  it through a wrapper in /lib/udev .

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir





More information about the Pkg-voip-maintainers mailing list