Package: distmp3
Version: 0.1.9.ds1-4
Severity: normal
Tags: patch

distmp3host does not start up, pretty silently ... after some digging
I found that system() is called for mknod with mode in a single
parameter ('-m 0600') instead of two ('-m', '0600)

btw, daemonizing and closing STDOUT/STDERR *before* parsing
commandlines prevents from getting any output for 'distmp3host
--help', nor is it helpful for getting debug output!





-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing-proposed-updates'), (500, 
'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.13-R52
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages distmp3 depends on:
ii  debconf [debconf-2.0]         1.5.1      Debian configuration management sy
ii  perl [perl5]                  5.8.8-4    Larry Wall's Practical Extraction 
ii  vorbis-tools                  1.1.1-5    several Ogg Vorbis tools

distmp3 recommends no packages.

-- debconf information:
  distmp3/nice-level: 15
  distmp3/bad-nice-level:
* distmp3/start-on-boot: true
--- /usr/bin/distmp3host-orig   2006-05-21 15:20:22.000000000 +0200
+++ /usr/bin/distmp3host        2006-05-21 15:20:49.000000000 +0200
@@ -176,11 +176,11 @@
 {
        printd("creating mp3_fifo @config{MP3FIFO}");
        unlink @config{MP3FIFO};
-       system('mknod', '-m 0600', @config{MP3FIFO}, 'p') && die "can't mknod 
@config{MP3FIFO}: $!";
+       system('mknod', '-m', '0600', @config{MP3FIFO}, 'p') && die "can't 
mknod @config{MP3FIFO}: $!";
 
        printd("creating wav_fifo @config{WAVFIFO}");
        unlink @config{WAVFIFO};
-       system('mknod', '-m 0600', @config{WAVFIFO}, 'p') && die "can't mknod 
@config{WAVFIFO}: $!";
+       system('mknod', '-m', '0600', @config{WAVFIFO}, 'p') && die "can't 
mknod @config{WAVFIFO}: $!";
 }
 
 sub run_program

Reply via email to