Your message dated Mon, 18 Sep 2006 18:00:12 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#388088: Fix wrong symbolic link at 
/etc/init.d/sl-modem-daemon
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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
 }
 

--- End Message ---
--- Begin Message ---
#include <hallo.h>
* Amadeu A. Barbosa Junior [Mon, Sep 18 2006, 11:21:14AM]:
> 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

Sorry, please read the manpage of the symlink syscall. Also see the
Debian Policy manual, symlinks have to be as relative as possible.

Eduard.

-- 
<Salz> jjFux: Ted hieß ja früher auch Walther
<Salz> winkiller: hm... es sind 8... die 7 kandidaten und NOTA
<Madkiss> Ist der jetzt eigentlich eine gespaltene Persönlichkeit, bei der aber
  beide Teile bekloppt sind?

--- End Message ---

Reply via email to