Package: isdnutils-base
Version: 1:3.7.2005-07-09-2
Severity: important

/etc/init.d/isdnutils start does not detect udev and does not set up
the isdn devices. This patch fixes both. NOTE: I think udev
should be detected by other means, e.g. by checking the output of
udevinfo -r (I don't know the output if udev is not running, I don't
want to disable it again). Also, the symlink for isdnctrl should
probably be set by MAKEDEV.

I found the patch for the MAKEDEV call at
http://lists.debian.org/debian-user-german/2005/07/msg00892.html
but I found no debian bug report.

[EMAIL PROTECTED]:/etc/isdn# diff -u init.d.functions init.d.functions.wr.2
--- init.d.functions    2005-08-14 00:26:10.000000000 +0200
+++ init.d.functions.wr.2       2005-10-12 06:50:14.000000000 +0200
@@ -83,10 +83,11 @@
            ISDNINFO=/dev/isdninfo
         elif [ -e /dev/isdn/isdninfo ]; then
            ISDNINFO=/dev/isdn/isdninfo
-       elif [ -d /.dev/ ] && [ -e /proc/mounts ] && grep -qE '^[^ ]+ /\.dev'
        /proc/mounts; then
+       elif [ -d /dev/.static/dev/ ] && [ -e /proc/mounts ] && grep -qE '^[^
]+ /dev/\.static/dev' /proc/mounts; then
            # udev is running
            old_pwd=$(pwd)
-           cd /dev && WRITE_ON_UDEV=1 ./MAKEDEV isdn
+           cd /dev && WRITE_ON_UDEV=1 ./MAKEDEV isdn-tty isdn-io isdn-ippp
+           cd /dev && ln -s isdnctrl0 isdnctrl
            cd $old_pwd
            if [ -e /dev/isdninfo ]; then
                ISDNINFO=/dev/isdninfo

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2-abi
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages isdnutils-base depends on:
ii  debconf                       1.4.58     Debian configuration management sy
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libncurses5                   5.4-9      Shared libraries for terminal hand
ii  lsb-base                      3.0-9      Linux Standard Base 3.0 init scrip
ii  makedev                       2.3.1-78   creates device files in /dev

isdnutils-base recommends no packages.

-- debconf information:
  isdnutils/no_ipppd_selected:
  isdnutils/isdnutils-cronweekly:
  isdnutils/firmwarecards:
  isdnutils/makedev: yes
  isdnutils/isdnvbox-cronweekly:
* isdnutils/firmware: none


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to