Package: sl-modem-daemon
Version: 2.9.9d+e-pre2-6
Severity: grave
Tags: patch
Justification: renders package unusable

The init script creates a wrong symbolic link:

ln -s ttySL0 /dev/modem

It's wrong because should be use absolute path on ln:

ln -s /dev/ttySL0 /dev/modem

I attached the patch file below.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7-smp
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to pt_BR.UTF-8)

Versions of packages sl-modem-daemon depends on:
ii  debconf [debconf-2.0]        1.5.1       Debian configuration management sy
ii  libasound2                   1.0.11-3    ALSA library
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries

sl-modem-daemon recommends no packages.

-- debconf information excluded
--- sl-modem-daemon.orig        2006-09-18 10:57:27.000000000 -0300
+++ sl-modem-daemon     2006-01-15 13:18:33.000000000 -0300
@@ -113,7 +113,7 @@
     if [ "$RETVAL" = 0 ] && [ "$NOSYMLINK" != 1 ] ; then
         echo "."
         echo "Creating /dev/modem symlink, pointing to: /dev/ttySL0."
-        ln -sf /dev/ttySL0 /dev/modem
+        ln -sf ttySL0 /dev/modem
     fi
 }
 

Reply via email to