Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: mldonkey & mldonkey-server dont create the required directory in /var/run/
https://bugzilla.redhat.com/show_bug.cgi?id=718524
Summary: mldonkey & mldonkey-server dont create the required directory in /var/run/ Product: Fedora Version: 15 Platform: x86_64 OS/Version: Linux Status: NEW Severity: low Priority: unspecified Component: mldonkey AssignedTo: lemenkov@gmail.com ReportedBy: mischa@mmt.me.uk QAContact: extras-qa@fedoraproject.org CC: rjones@redhat.com, lemenkov@gmail.com, fedora-ocaml-list@redhat.com Classification: Fedora Story Points: ---
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!
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=718524
Dmitry Burstein dmitryburstein@netscape.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitryburstein@netscape.net
--- Comment #1 from Dmitry Burstein dmitryburstein@netscape.net 2011-11-12 09:42:58 EST --- Confirm: this bug still exists on f16.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=718524
lejeczek pawel.eljasz@jatymy.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pawel.eljasz@jatymy.org
--- Comment #2 from lejeczek pawel.eljasz@jatymy.org 2011-11-26 06:04:24 EST --- *** Bug 755720 has been marked as a duplicate of this bug. ***
ocaml-devel@lists.fedoraproject.org