[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#421709: inconsistent use of pid file location



Package: mldonkey-server
Version: 2.8.1-2etch1
Severity: normal

I dpkg-configured mldonkey to have its files in /srv/mldonkey. Check
this out:

wall:~# /etc/init.d/mldonkey-server start
Starting MLDonkey: mlnet file[s] should no exist: /srv/mldonkey/mlnet.pid -- delete it first
wall:~# rm /srv/mldonkey/mlnet.pid
wall:~# /etc/init.d/mldonkey-server start
Starting MLDonkey: mlnet.
wall:~# /etc/init.d/mldonkey-server stop
Stopping MLDonkey: mlnetNo process in pidfile `/var/run/mldonkey/mlnet.pid' found running; none killed.


First, the PID file should probably *not* be in /srv/mldonkey but in
/var/run, but more importantly, the init.d script should look for it
in one place only.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (750, 'unstable'), (500, 'testing'), (250, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

-- 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


Reply to: