On Sun, Jan 08, 2012 at 09:07:24AM +0800, Rolf Leggewie wrote:
> thank you for the patch, but I'm afraid that approach is overly
> simplistic and not the proper fix, yet.

I've attached an alternative patch which will permit transition to
the new location.  The old path should be removed after the release
of wheezy.

> First, as Michael mentioned, the file paths need to be updated to
> properly deal with the transition.  Alas, that will break lucid support
> where /run does not exist.

While this might be the case, it's not really applicable to the
version of the package which is uploaded to Debian.  OTOH, the
above patch should satisfy this for until after the wheezy release.

Regarding the need to check for udev: on a modern system, the device
nodes should be created automatically.  It's unnecessary for you to
be doing extra work here.  I noticed that there is still logic for
devfs in the same script file.  This has been dead for years, and
should really be removed.


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.
diff -urN isdnutils-3.9.20060704+dfsg.3.orig/debian/init.d.functions isdnutils-3.9.20060704+dfsg.3/debian/init.d.functions
--- isdnutils-3.9.20060704+dfsg.3.orig/debian/init.d.functions	2012-01-18 23:08:28.045286407 +0000
+++ isdnutils-3.9.20060704+dfsg.3/debian/init.d.functions	2012-01-18 23:09:02.362170513 +0000
@@ -83,7 +83,7 @@
 	    ISDNINFO=/dev/isdninfo
         elif [ -e /dev/isdn/isdninfo ]; then
 	    ISDNINFO=/dev/isdn/isdninfo
-	elif [ -d /dev/.udev/ ]; then
+	elif [ -d /run/udev/ ] || [ -d /dev/.udev/ ]; then
 	    # udev is running
 	    old_pwd=$(pwd)
 	    cd /dev

Reply via email to