Bug 718524 - mldonkey & mldonkey-server dont create the required directory in /var/run/
Summary: mldonkey & mldonkey-server dont create the required directory in /var/run/
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mldonkey
Version: 20
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 755720 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-03 19:49 UTC by Mischa
Modified: 2015-03-05 12:35 UTC (History)
6 users (show)

Fixed In Version: mldonkey-3.1.5-4.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-04 10:36:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mischa 2011-07-03 19:49:30 UTC
Description of problem:

When i install and run mldonkey and mldonkey-server on my (up to date) fedora 15 box, I have found that the rpm installation process seems to create the necessary directory in /var/run (i.e. /var/run/mldonkey/), but upon reboot this directory is not created in the tmpfs. 

I saw this directory is necessary for it is in the init script in /etc/init.d/ you can see that the script will attempt to create mldonkey's .pid file in /var/run/mldonkey/ 

As explained in the following post: http://mail.savs.hcc.edu.tw/~chuavv/articles/ClamAV-en.html

I had to create a file /etc/tmpfiles.d/mldonkey.conf

which contained the following line: 

d /var/run/mldonkey 0775 root mldonkey - 


Version-Release number of selected component (if applicable):

3.0.3-1.fc15

How reproducible:

Very easily, see below. 


Steps to Reproduce:

1. Install mldonkey and mldonkey-sever

2. add them via chkconfig to be on in init levels 345

3. reboot machine

4. see that the mldonkey daemon fails to start. 

5. that there is no directory named /var/run/mldonkey
  
Actual results:

upon reboot mldonkey server fails to start 

no directory named /var/run/mldonkey exists for the .pid file

Expected results:

upon reboot mldonkey server should start 

directory named /var/run/mldonkey should contain the mlnet.pid file 

Additional info:

The other way around fixing this could be to change the script in /etc/init.d/ to point to /var/lib/mldonkey so that the .pid file could live in there, but that seems wrong to me. 

Cheers!

Comment 1 Dmitry Burstein 2011-11-12 14:42:58 UTC
Confirm: this bug still exists on f16.

Comment 2 lejeczek 2011-11-26 11:04:24 UTC
*** Bug 755720 has been marked as a duplicate of this bug. ***

Comment 3 Fedora End Of Life 2012-08-07 16:49:07 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Fedora Update System 2013-09-06 13:23:07 UTC
mldonkey-3.1.3-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/mldonkey-3.1.3-3.fc19

Comment 5 Fedora Update System 2013-09-06 13:23:40 UTC
mldonkey-3.1.3-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/mldonkey-3.1.3-3.fc18

Comment 6 Fedora Update System 2013-09-06 13:24:06 UTC
mldonkey-3.1.3-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/mldonkey-3.1.3-3.fc20

Comment 7 Fedora Update System 2013-09-06 17:25:04 UTC
Package mldonkey-3.1.3-3.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mldonkey-3.1.3-3.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15951/mldonkey-3.1.3-3.fc20
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-09-15 00:49:11 UTC
mldonkey-3.1.3-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2013-09-15 00:56:31 UTC
mldonkey-3.1.3-3.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2013-09-22 23:56:13 UTC
mldonkey-3.1.3-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Avi Alkalay 2014-05-19 13:52:53 UTC
The server still doesn't starts automatically.

To make it work, I had to:

mkdir /var/run/mldonkey
chown mldonkey. /var/run/mldonkey

I guess this is a simple fix on the RPM spec file.

Comment 12 Fedora Update System 2015-02-22 05:23:57 UTC
mldonkey-3.1.5-4.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/mldonkey-3.1.5-4.fc21

Comment 13 Fedora Update System 2015-02-22 05:24:05 UTC
mldonkey-3.1.5-4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/mldonkey-3.1.5-4.fc20

Comment 14 Fedora Update System 2015-02-23 08:04:28 UTC
Package mldonkey-3.1.5-4.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mldonkey-3.1.5-4.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-2440/mldonkey-3.1.5-4.fc20
then log in and leave karma (feedback).

Comment 15 Fedora Update System 2015-03-04 10:36:19 UTC
mldonkey-3.1.5-4.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2015-03-05 12:35:40 UTC
mldonkey-3.1.5-4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.