On Tue, Oct 04, 2011 at 11:48:06PM +0200, bi...@debian.org wrote: > > During an automated test your package fusioninventory-agent was > flagged to reference files/directories matching /dev/.udev A log of > this test can be found at [2]. > > In most cases checking for /dev/.udev is used to determine if udev is > active. This check no longer works with udev using /run/udev now.
I've attached a patch which uses /run/udev, falling back to /dev/.udev if present. However, note that there's a fundamental flaw in your program: foreach my $file (glob ("/dev/.udev/db/*")) % ls /run/udev control data links queue.bin rules.d tags watch There is no "db" directory with the current version of udev, hence the function getDevicesFromUdev will always fail given that the glob will always fail. This is something that needs additional work. As the original bug report stated, using udev internals directly is a bad plan, given that they have now changed. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org