On Tue, Oct 04, 2011 at 11:47:25PM +0200, bi...@debian.org wrote: > During an automated test your package aoetools 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. > > In most cases, checking for udev being installed is not appropriate > and should be avoided.
A patch to support /dev/udev, while being backward compatible with the now-obsolete /dev/.udev is attached. Please apply and upload. Thanks, 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.
diff -urN aoetools-30.orig/aoe-mkdevs aoetools-30/aoe-mkdevs --- aoetools-30.orig/aoe-mkdevs 2012-01-18 10:23:31.534626521 +0000 +++ aoetools-30/aoe-mkdevs 2012-01-18 10:26:34.573015365 +0000 @@ -23,7 +23,7 @@ EOF exit 1 fi -if test "`ps axwwww | grep 'udev[d]'`" || test -d "/dev/.udev"; then +if test "`ps axwwww | grep 'udev[d]'`" || test -d "/run/udev" || test -d "/dev/.udev"; then cat 1>&2 <<EOF $zero Error: udev detected. You shouldn't need to use $zero. $zero: Please see the aoe-mkdevs manpage. diff -urN aoetools-30.orig/aoe-mkshelf.in aoetools-30/aoe-mkshelf.in --- aoetools-30.orig/aoe-mkshelf.in 2012-01-18 10:23:31.534626521 +0000 +++ aoetools-30/aoe-mkshelf.in 2012-01-18 10:27:12.413509351 +0000 @@ -18,7 +18,7 @@ EOF exit 1 fi -if test "`ps axwwww | grep 'udev[d]'`" || test -d "/dev/.udev"; then +if test "`ps axwwww | grep 'udev[d]'`" || test -d "/run/udev" || test -d "/dev/.udev"; then cat 1>&2 <<EOF $zero Error: udev detected. You shouldn't need to use $zero. $zero: Please see the aoe-mkshelf manpage.