Debian Bug report logs -
#280551
mldonkey-server: does not start when stale pidfile exists
Reported by: Peter Palfrader <weasel@debian.org>
Date: Wed, 10 Nov 2004 06:18:02 UTC
Severity: normal
Tags: patch
Merged with 295854
Found in versions 2.5.28-2.0.1, 2.5.28-2
Fixed in version mldonkey/2.5.28.1-1
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#280551; Package mldonkey-server.
(full text, mbox, link).
Acknowledgement sent to Peter Palfrader <weasel@debian.org>:
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.0.1
Severity: normal
If there is a stale pid file left, mldonkey-server does not start:
weasel@galaxy:~$ sudo env -i /etc/init.d/mldonkey-server stop·
Stopping MLDonkey: mlnetstart-stop-daemon: warning: failed to kill 5799: No such process
.
weasel@galaxy:~$ sudo env -i /etc/init.d/mldonkey-server stop·
Stopping MLDonkey: mlnetstart-stop-daemon: warning: failed to kill 5799: No such process
.
weasel@galaxy:~$ sudo env -i /etc/init.d/mldonkey-server start
Starting MLDonkey: mlnet.
weasel@galaxy:~$ ps xauf | grep mld
weasel 5742 0.0 0.0 2572 284 pts/9 R+ 07:04 0:00 \_ grep mld
Removing it fixes the issue.
galaxy:~# rm /var/run/mldonkey/mlnet.pid
galaxy:~# env -i /etc/init.d/mldonkey-server start
Starting MLDonkey: mlnet.
galaxy:~# ps xauf | grep 5799
root 5813 0.0 0.0 4860 556 pts/9 S+ 07:05 0:00 \_ grep 5799
galaxy:~# ps xauf | grep ml
mldonkey 5804 0.0 0.0 10472 1008 ? S 07:05 0:00 /usr/bin/mldonkey_server --start --pidfile /var/run/mldonkey/mlnet.pid --chdir /var/lib/mldonkey --chuid mldonkey --max-alive 24 --umask 0022 --daemon
mldonkey 5807 0.0 1.8 30940 18864 ? S 07:05 0:01 \_ /usr/bin/mlnet
mldonkey 5809 0.0 0.0 2552 500 ? S 07:05 0:00 \_ /usr/bin/logger -t mlnet_error
mldonkey 5811 0.0 0.0 2548 408 ? S 07:05 0:00 \_ /usr/bin/logger -t mlnet
Merged 280551 295854.
Request was from "Sylvain LE GALL" <sylvain.le-gall@polytechnique.org>
to control@bugs.debian.org.
(full text, mbox, link).
Reply sent to Sylvain Le Gall <sylvain.le-gall@polytechnique.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Peter Palfrader <weasel@debian.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #12 received at 295854-close@bugs.debian.org (full text, mbox, reply):
Source: mldonkey
Source-Version: 2.5.28.1-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:
mldonkey-gui_2.5.28.1-1_i386.deb
to pool/main/m/mldonkey/mldonkey-gui_2.5.28.1-1_i386.deb
mldonkey-server_2.5.28.1-1_i386.deb
to pool/main/m/mldonkey/mldonkey-server_2.5.28.1-1_i386.deb
mldonkey_2.5.28.1-1.diff.gz
to pool/main/m/mldonkey/mldonkey_2.5.28.1-1.diff.gz
mldonkey_2.5.28.1-1.dsc
to pool/main/m/mldonkey/mldonkey_2.5.28.1-1.dsc
mldonkey_2.5.28.1.orig.tar.gz
to pool/main/m/mldonkey/mldonkey_2.5.28.1.orig.tar.gz
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 295854@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sylvain Le Gall <sylvain.le-gall@polytechnique.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@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 30 Aug 2005 11:36:02 +0200
Source: mldonkey
Binary: mldonkey-gui mldonkey-server
Architecture: source i386
Version: 2.5.28.1-1
Distribution: unstable
Urgency: low
Maintainer: Sylvain Le Gall <sylvain.le-gall@polytechnique.org>
Changed-By: Sylvain Le Gall <sylvain.le-gall@polytechnique.org>
Description:
mldonkey-gui - Graphical frontend for mldonkey based on GTK
mldonkey-server - Door to the 'donkey' network
Closes: 225724 231553 270283 271462 271725 271727 273156 276750 276751 277772 279030 280073 281086 283930 284556 285231 291451 295854 296573 299722 300547 300560 312370 312824
Changes:
mldonkey (2.5.28.1-1) unstable; urgency=low
.
* New upstream version:
* Fix LOWID protocol error with ed2k (Upstream: #3415,
Debian closes: #284556, #280073)
* Transition to ocaml 3.08.3: changes depends in control
* Remove patch 18_utf8_encoding since it is applied upstream
* Remove patch 19_mlgui_align since it is applied upstream
* Depend on docbook-xsl 1.64.1 and docbook-xml 4.2-12
(Closes: #276750, #276751)
* Change MDLONKEY_DIR to MLDONKEY_DIR at line 34 in the init.d file
(Closes: #296573, #273156)
* Create a command "force-start" to force the start of mldonkey, even if it
is configured not to start at startup. All other command don't take into
account the value of the variable ( so you can stop or restart a running
server, without knowing how it was started )
(Closes: #225724)
* Depend on dpkg 1.10.27, so that we can rely on --nicelevel doing what we
think it does. Put a note for backporters in README.Debian
(Closes: #277772)
* Add german debconf translation. Thanks to Jens Nachtigall
(Closes: #271727)
* Update czech debconf translation. Thanks to Jan Outrata
(Closes: #271462)
* Add vietnamese debconf translatio. Thanks to Clytie Siddall
(Closes: #312824)
* Apply patches to improve the debconf templates. Thanks to Jens Nachtigall
(Closes: #270283)
* Change license of manpages to LGPL v2.1
(Closes: #281086)
* Add "debconf-updatepo" in the target clean of debian/rules to be sure to
be in sync for the translation
(Closes: #271725)
* Add a note about the fact that mldonkey cannot use all the group assigned
to user mldonkey due to OCaml limitation in README.Debian, explain how to
deal with this issue
* Create a patch to correct comments in the initial downloads.ini:
20_wrong_comments
(Closes: #285231)
* Cannot find cache.shareaza.com in the source. This seems to be present in
release 2.5.4 but it is no more present.
(Closes: #231553)
* Added script mldonkey_create_chroot and its manpage, thanks to Mick
Kappenburg for his contribution
* Modify mldonkey_server:
* Add an option to configure the group that should be used when running
mldonkey.
* Add an option to configure the niceness of the process
* Add sanity check :
* Check for stale pidfile
(Closes: #295854)
* Check for good permission/owner/group of files used by mldonkey. After
better reading the patch provided in bugs 299722, i decided to replace
a "simple" reowning of the pidfile by a complete check of permission
and ownership. Reowning a file is not as simple as it looks like. We
should take care of "dpkg-statoverride" et al. Moreover, i don't want
to autoset things in the init script. If the ownership/permission of
files are not good, there should be a real problem (as a standard
install should set the good permission). I don't try to hide these
problem by doing fix in the init script: i just warn the user.
(Closes: #299722).
* Check for stale .tmp file
(Closes: #283930)
* Update the manual page according to these changes.
* Correct the way you can change password in README.Debian, thanks to
Spiralvoice.
(Closes: #312370)
* Doesn't offer the possibility to keep the server running after upgrade:
this option can cause a lot of problems (version mismatch between server
and gui).
(Closes: #300547)
* Use Int64 to store integer extracted from ini files, in mldonkey_files.
This is more compliant with the way mldonkey write this value in his ini
files.
(Closes: #291451)
* Modify priority of the debconf question :
* to priority low: run_as_user, mldonkey_group, mldonkey_umask,
mldonkey_niceness, max_alive
* to priority medium: mldonkey_dir (reasonable default, but are system
specific most of the time), client_name (reasonnable default, but most
of the time are changed by user),
* to priority critical: reown_file (because the server cannot restart if
the file permission are not changed),
* So now, configuring the system with priority high only ask you 3
question, with priority medium only 8 question.
* Doesn't distribute anymore /etc/default/mldonkey-server. So this file is
not automatically marked as conffile, allowing to manage it through ucf
(Closes: #279030):
* save the default from this file to debconf in the preinst script,
* move mldonkey-server to mldonkey-server.bak in the preinst script,
* generate mldonkey-server and manage it using ucf (at the same place, but
using ucf).
* add a note into NEWS.Debian to state this change
* Applied patches #3919 from upstream to correct file permission, generates
password in users.ini rather than in downloads.ini (this separation is the
new security scheme, the file users.ini has 600 permission)
(Closes: #300560)
* Fix the problem of invoke-rc.d creating a defunct process: i need to stop
the debconf module (using db_stop in postinst)
* Enhance mldonkey_files: add the command test, to check if some source are
from specified network (eg fasstrack).
* Move the fasttrack split from /etc/init.d/mldonkey-server to
mldoney-server.postinst.
* Enhance mldonkey_users: add the command dump-users-section,
strip-users-section and test-users-section, to extract users section from
download.ini and place it in users.ini.
* Create users.in out of downloads.ini using mldonkey_users in
mldonkey-server.postinst.
* Transition to svn-buildpackage
* Reformat the changelog to be sure to have less than 80 characters by line.
* [JvW] Add mldonkey start init.d script at 98, not as early as the default
location of 20.
Files:
94f9b29d38edfae19388fb53175bfb74 860 net optional mldonkey_2.5.28.1-1.dsc
8b315030b36b706ee692993f16884b94 3250049 net optional mldonkey_2.5.28.1.orig.tar.gz
4fbdf5b5bfd9672d628420d2616cc0f4 337930 net optional mldonkey_2.5.28.1-1.diff.gz
2297c54e24db47797ac3b968466c5d08 2370174 net optional mldonkey-server_2.5.28.1-1_i386.deb
dfbb1bc15e713aa3e4887de19338d5dc 2664064 net optional mldonkey-gui_2.5.28.1-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Signed by Jeroen van Wolffelaar <jeroen@wolffelaar.nl>
iD8DBQFDHMqHl2uISwgTVp8RAj6DAKCfXQBRrvIhMIYHprKdDDZoK1xvwACfU8/+
COMJmalVQAF43PIzKw65++8=
=xtvV
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 25 Jun 2007 23:31:03 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:06 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.