Debian Bug report logs - #708870
mldonkey-server: drops startup output

version graph

Package: src:mldonkey-server; Maintainer for src:mldonkey-server is Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>;

Reported by: ygrek <ygrek@autistici.org>

Date: Sun, 19 May 2013 10:12:15 UTC

Severity: normal

Tags: patch

Found in version mldonkey-server/3.1.2

Fixed in version mldonkey/3.1.5-1

Done: Mehdi Dogguy <mehdi@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, ygrek@autistici.org, unknown-package@qa.debian.org:
Bug#708870; Package src:mldonkey-server. (Sun, 19 May 2013 10:12:19 GMT) (full text, mbox, link).


Acknowledgement sent to ygrek <ygrek@autistici.org>:
New Bug report received and forwarded. Copy sent to ygrek@autistici.org, unknown-package@qa.debian.org. (Sun, 19 May 2013 10:12:19 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: ygrek <ygrek@autistici.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: mldonkey-server: drops startup output
Date: Sun, 19 May 2013 18:11:36 +0800
Source: mldonkey-server
Version: 3.1.2
Severity: normal
Tags: patch

See the following upstream bugs :
https://savannah.nongnu.org/bugs/?31021
https://savannah.nongnu.org/bugs/?37003

MLDonkey outputs startup errors to stderr, before opening the logfile.
Debian init script starts mlnet via start-stop-daemon, effectively
discarding all stderr output. As a result any startup errors leave the
user guessing what was the reason of the failure without any traces..
AFAIK other distros redirect mldonkey output to the log, and this
problem is avoided. See the proposed patch (lightly tested) :

diff --git a/debian/mldonkey-server.init b/debian/mldonkey-server.init
index c5f8901..c190f06 100644
--- a/debian/mldonkey-server.init
+++ b/debian/mldonkey-server.init
@@ -130,8 +130,8 @@ case "$1" in
     WRAPPER_OPTIONS="$WRAPPER_OPTIONS --user $USER"
 
     start-stop-daemon --start $WRAPPER_OPTIONS \
-    --pidfile $PIDFILE --background --exec $EXEC \
-    -- -log_file $SERVERLOG -pid $PIDDIR 2>&1
+    --pidfile $PIDFILE --background --no-close --exec $EXEC \
+    -- -log_file $SERVERLOG -pid $PIDDIR >>$SERVERLOG 2>&1
 
     StartErrorCheck

-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



Reply sent to Mehdi Dogguy <mehdi@debian.org>:
You have taken responsibility. (Thu, 27 Mar 2014 00:06:10 GMT) (full text, mbox, link).


Notification sent to ygrek <ygrek@autistici.org>:
Bug acknowledged by developer. (Thu, 27 Mar 2014 00:06:10 GMT) (full text, mbox, link).


Message #10 received at 708870-close@bugs.debian.org (full text, mbox, reply):

From: Mehdi Dogguy <mehdi@debian.org>
To: 708870-close@bugs.debian.org
Subject: Bug#708870: fixed in mldonkey 3.1.5-1
Date: Thu, 27 Mar 2014 00:03:55 +0000
Source: mldonkey
Source-Version: 3.1.5-1

We believe that the bug you reported is fixed in the latest version of
mldonkey, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 708870@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mehdi Dogguy <mehdi@debian.org> (supplier of updated mldonkey package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 27 Mar 2014 00:37:41 +0100
Source: mldonkey
Binary: mldonkey-server mldonkey-gui
Architecture: source amd64
Version: 3.1.5-1
Distribution: unstable
Urgency: low
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Mehdi Dogguy <mehdi@debian.org>
Description: 
 mldonkey-gui - Graphical frontend for mldonkey based on GTK+
 mldonkey-server - Door to the 'donkey' network
Closes: 647719 708870
Changes: 
 mldonkey (3.1.5-1) unstable; urgency=low
 .
   [ Mehdi Dogguy ]
   * New upstream release.
   * Redirect startup output into the log file (Closes: #708870)
 .
   [ Peter Eisentraut ]
   * Add support for "status" action to mldonkey-server init script (Closes: #647719)
Checksums-Sha1: 
 7abb6706770abee7b6396d15c2e4bd5d432dbf68 2362 mldonkey_3.1.5-1.dsc
 77ffbff6b787b0cb47f81010c630eee4e539b930 2791647 mldonkey_3.1.5.orig.tar.bz2
 d2d13922c99ea101cd239ffe6a95309250132325 106884 mldonkey_3.1.5-1.debian.tar.xz
 23a98eb5c6ff849e960d882faf09647c28a3219b 2458344 mldonkey-server_3.1.5-1_amd64.deb
 a3dbbcc02c9c46c441de22cac821010ae8ce7125 2443538 mldonkey-gui_3.1.5-1_amd64.deb
Checksums-Sha256: 
 f5322233d33eae8bec5a1f1aa210ef16f0f2bf5adb09bb6001041025a6e85ab9 2362 mldonkey_3.1.5-1.dsc
 43e65667d7f8288757a18d57aeffe0780cc2e71cc92a30f15da42f3a4686bd1b 2791647 mldonkey_3.1.5.orig.tar.bz2
 c909637160f4f39b4272ad9557a624144b728c81d2fe6f659ba80498d6b02406 106884 mldonkey_3.1.5-1.debian.tar.xz
 a2cc1ad08c1e90098515f05d3795f4530ac933fa04fd7e003ac97b2ec7b0e434 2458344 mldonkey-server_3.1.5-1_amd64.deb
 3e9466667676c43c97c1e449b0ad3ef99e85fc83dc515ecdc9ca80cc043194e7 2443538 mldonkey-gui_3.1.5-1_amd64.deb
Files: 
 96a6a1bfc21ca00ff1f519dd3e0828ed 2362 net optional mldonkey_3.1.5-1.dsc
 3fc35f574be1f009e66bb98e91552163 2791647 net optional mldonkey_3.1.5.orig.tar.bz2
 79b9bf263faf60f6caf59c30eabbbef6 106884 net optional mldonkey_3.1.5-1.debian.tar.xz
 55201c0626dd65b303f7ad5aa76a7aa4 2458344 net optional mldonkey-server_3.1.5-1_amd64.deb
 e337144bdc727e299dd9d10bf5586415 2443538 net optional mldonkey-gui_3.1.5-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJTM2btAAoJEDO+GgqMLtj/wb8P/Rka7u2tAFMjjhSkmEqKz5to
HgTPhdvkIepunMTv2bPtrbgWlVvNCyf32JoDK5otEAjoDTUmG0o2IwiX1gb7byJM
sHbE0ghOIyUGwWQjqZm0aXM3OGbB92/e0bEuf1vilab4cKZeSYtXLyPdJgzraKYg
PXBXqqC+MEsi9zwXD/QPvCjYEKqp0Z+UlxOFXUTdj3RZzve+9qKek60xlxYRmsJL
Bc6FwA7414ZU1lz0sdrhoVtXFoAPRZiJYEtlGZyF6ydzMzXLfEMq7Fa2+36lHv98
UK5VSjnrArykSSDwmZFT9s2nbCon6wdsa/WYPruV+1utWg+T+k77SKzyk2Da+DNZ
b8KNrFOGIHj+9jOw2y/fiTIQuwnq0ih+J5sAQmeYPT5CBdFRrTxQ8SCfw310PFTP
8C3Wa8LJ/FluzMUk16uhPp6PH5+tdQ81LJ2EULnY5NSTDQuGbuqyvfnbfGO9zi8H
DXssC/HmJRt86ZyYtsvBwOyKfshD8LqGXFF1Jj35eS4FtHJjjACtETYzYIRTTV+f
Ru8qv/wZyLM9AlJ53jnSDEWuU5/Z+hRY8dWa3p10ONsdW9eBTTvO6IU2FwqNVs4f
DUvpCncXNq9k4UUhz4XjR7YiN+p6m0H4Sa/seC+Lvi/Jt64RdLjmBWhkTeuJaqGr
54FYslU3evsmvWvp8r/i
=KwMU
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 24 Apr 2014 07:31:01 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Nov 25 04:12:12 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.