Debian Bug report logs -
#323948
mldonkey-server fails to start because of blah-blah.tmp in ~mldonkey
Reported by: Alexander Gerasiov <gq@cs.msu.su>
Date: Fri, 19 Aug 2005 12:33:02 UTC
Severity: normal
Tags: patch
Found in version mldonkey-server/2.5.28-2
Done: "Sylvain LE GALL" <sylvain.le-gall@polytechnique.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Sylvain Le Gall <sylvain.le-gall@polytechnique.org>:
Bug#323948; Package mldonkey-server.
(full text, mbox, link).
Acknowledgement sent to Alexander Gerasiov <gq@cs.msu.su>:
New Bug report received and forwarded. Copy sent to Sylvain Le Gall <sylvain.le-gall@polytechnique.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: mldonkey-server
Version: 2.5.28-2
Severity: normal
Tags: patch
This is very annoing. It's possible to check did the process start or
not only in syslog. :(
The following patch tries to detect such problems in /etc/init.d script:
root@eol:~# diff -u /etc/init.d/mldonkey-server{.orig,}
--- /etc/init.d/mldonkey-server.orig 2005-08-19 15:42:46.000000000
+0400
+++ /etc/init.d/mldonkey-server 2005-08-19 15:45:40.000000000 +0400
@@ -52,6 +52,11 @@
echo "done."
fi
+if [ -e $MLDONKEY_DIR/*.tmp ];then
+ echo "mldonkey-server: start failed because of temp file(s) found:"
$MLDONKEY_DIR/*.tmp
+ exit 1
+fi
+
USER=`/usr/bin/stat --format="%U" $MLDONKEY_DIR/downloads.ini`
START_STOP_OPTIONS=""
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (620, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.12-1-686
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
Versions of packages mldonkey-server depends on:
ii adduser 3.63 Add and remove users and groups
ii debconf [debconf-2.0] 1.4.30.13 Debian configuration management sy
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii mime-support 3.28-1 MIME files 'mime.types' & 'mailcap
ii ucf 1.17 Update Configuration File: preserv
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime
-- debconf information:
* mldonkey-server/password: (password omitted)
* mldonkey-server/repassword: (password omitted)
* mldonkey-server/max_hard_download_rate: 0
* mldonkey-server/launch_at_startup: false
mldonkey-server/config_exist_no_options:
* mldonkey-server/max_alive: 24
* mldonkey-server/run_as_user: mldonkey
* mldonkey-server/plugin: Directconnect, Opennap, Overnet, Soulseek, Bittorent, Gnutella
mldonkey-server/reown_file: false
* mldonkey-server/mldonkey_group: mldonkey
* mldonkey-server/mldonkey_niceness: 15
mldonkey-server/config_exist_no_dir:
mldonkey-server/false_password:
mldonkey-server/fasttrack_problem:
mldonkey-server/shared_directories: share
* mldonkey-server/mldonkey_dir: /var/lib/mldonkey
* mldonkey-server/restart_after_upgrade: true
* mldonkey-server/client_name: eol
mldonkey-server/mldonkey_move: false
* mldonkey-server/max_hard_upload_rate: 20
* mldonkey-server/mldonkey_umask: 0022
Information forwarded to debian-bugs-dist@lists.debian.org, Sylvain Le Gall <sylvain.le-gall@polytechnique.org>:
Bug#323948; Package mldonkey-server.
(full text, mbox, link).
Acknowledgement sent to Sylvain LE GALL <sylvain.le-gall@polytechnique.org>:
Extra info received and forwarded to list. Copy sent to Sylvain Le Gall <sylvain.le-gall@polytechnique.org>.
(full text, mbox, link).
Message #10 received at 323948@bugs.debian.org (full text, mbox, reply):
Hello,
On Fri, Aug 19, 2005 at 04:17:03PM +0400, Alexander Gerasiov wrote:
> Package: mldonkey-server
> Version: 2.5.28-2
> Severity: normal
> Tags: patch
>
> This is very annoing. It's possible to check did the process start or
> not only in syslog. :(
>
> The following patch tries to detect such problems in /etc/init.d script:
>
> root@eol:~# diff -u /etc/init.d/mldonkey-server{.orig,}
> --- /etc/init.d/mldonkey-server.orig 2005-08-19 15:42:46.000000000
> +0400
> +++ /etc/init.d/mldonkey-server 2005-08-19 15:45:40.000000000 +0400
> @@ -52,6 +52,11 @@
> echo "done."
> fi
>
> +if [ -e $MLDONKEY_DIR/*.tmp ];then
> + echo "mldonkey-server: start failed because of temp file(s) found:"
> $MLDONKEY_DIR/*.tmp
> + exit 1
> +fi
> +
> USER=`/usr/bin/stat --format="%U" $MLDONKEY_DIR/downloads.ini`
>
> START_STOP_OPTIONS=""
>
>
You should have contact me before working on a patch, i have made
changes to mldonkey_server which, in the release to come, will check
file permission, tmp presence et al (ie try to be sure to be able to
start mldonkey).
So i am sorry, but i won't include your patch.
The new release is being tested by my sponsor, who will upload it soon,
i hope.
Kind regard
Sylvain Le Gall
Information forwarded to debian-bugs-dist@lists.debian.org, Sylvain Le Gall <sylvain.le-gall@polytechnique.org>:
Bug#323948; Package mldonkey-server.
(full text, mbox, link).
Acknowledgement sent to Alexander Gerasiov <gq@cs.msu.su>:
Extra info received and forwarded to list. Copy sent to Sylvain Le Gall <sylvain.le-gall@polytechnique.org>.
(full text, mbox, link).
Message #15 received at 323948@bugs.debian.org (full text, mbox, reply):
Sylvain LE GALL wrote:
> You should have contact me before working on a patch, i have made
> changes to mldonkey_server which, in the release to come, will check
> file permission, tmp presence et al (ie try to be sure to be able to
> start mldonkey).
>
> So i am sorry, but i won't include your patch.
Oh, that's ok. I't 5 minute patch so it doesn't cost much for me.
btw, i've found an error in it :)
Very glad, that you're going to continue developing and packaging
mldonkey, it was looking as nearly dead last months.
Regards, Alexander.
Information forwarded to debian-bugs-dist@lists.debian.org, Sylvain Le Gall <sylvain.le-gall@polytechnique.org>:
Bug#323948; Package mldonkey-server.
(full text, mbox, link).
Acknowledgement sent to "Sylvain LE GALL" <sylvain.le-gall@polytechnique.org>:
Extra info received and forwarded to list. Copy sent to Sylvain Le Gall <sylvain.le-gall@polytechnique.org>.
(full text, mbox, link).
Message #20 received at 323948@bugs.debian.org (full text, mbox, reply):
Hello,
On Mon, Aug 22, 2005 at 02:24:40PM +0400, Alexander Gerasiov wrote:
> Sylvain LE GALL wrote:
> > You should have contact me before working on a patch, i have made
> > changes to mldonkey_server which, in the release to come, will check
> > file permission, tmp presence et al (ie try to be sure to be able to
> > start mldonkey).
> >
> > So i am sorry, but i won't include your patch.
> Oh, that's ok. I't 5 minute patch so it doesn't cost much for me.
> btw, i've found an error in it :)
>
> Very glad, that you're going to continue developing and packaging
> mldonkey, it was looking as nearly dead last months.
>
Because you don't look in the right place
(http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/mldonkey/?op=rss&rev=0&isdir=1)
I have been working on it since July.
Anyway, i don't have made any upload since a long time, and i understand
that user are waiting for it ;-(.
Regard
Sylvain Le Gall
Reply sent to "Sylvain LE GALL" <sylvain.le-gall@polytechnique.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Alexander Gerasiov <gq@cs.msu.su>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #25 received at 323948-done@bugs.debian.org (full text, mbox, reply):
Hello,
In the latest release, mldonkey_server check for *.tmp file before
starting mlnet. An error message is printed on stderr to warn the user
if there is a problem.
Kind regard
Sylvain Le Gall
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 18 Jun 2007 06:21:43 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:20:08 2023;
Machine Name:
bembo
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.