Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39367 - RFE: mldonkey unclutter (FHS?!)
Summary: RFE: mldonkey unclutter (FHS?!)
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-25 10:44 UTC by Alexander Papaspyrou
Modified: 2004-02-24 02:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patched ebuild for mldonkey (mldonkey-2.5.4.ebuild.diff,879 bytes, patch)
2004-01-25 10:46 UTC, Alexander Papaspyrou
Details | Diff
Patch for /etc/conf.d/mldonkey (mldonkey.confd.diff,428 bytes, patch)
2004-01-25 10:47 UTC, Alexander Papaspyrou
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Papaspyrou 2004-01-25 10:44:16 UTC
After installing mldonkey-2.5.4, I was pleased to notice that service facilities (init.d, conf.d, own homedir) have been added.

Unfortunately, using /home/mldonkey as the homedir doesn't seem to be such a good idea; it would be better (as done by many other distros) to put it into /srv/mldonkey.

Besides that, I think that mldonkey should have an own user ("mldonkey") instead of the fairly generic "p2p": What if (at a later time) other services like this are to be added. A better solution would be to assign "mldonkey" as the username and "p2p" as the group. Then, users who want to access the mldonkey homedir just have to be added to the "p2p" group.

In the following attachments I have patched the ebuild and the conf.d file to make mldonkey behave as stated.

Please review and tell me your thoughts.

Reproducible: Always
Steps to Reproduce:
Comment 1 Alexander Papaspyrou 2004-01-25 10:46:17 UTC
Created attachment 24400 [details, diff]
Patched ebuild for mldonkey

This patch slightly modifies the ebuild to install according to the thoughts
stated above.
Comment 2 Alexander Papaspyrou 2004-01-25 10:47:08 UTC
Created attachment 24401 [details, diff]
Patch for /etc/conf.d/mldonkey

This patch makes the config file handle the ebuild changes gracefully.
Comment 3 Alexander Papaspyrou 2004-01-25 10:47:52 UTC
BTW, is it possible to restrict mldonkey from having a shell? Or should I open a new bug for that?
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-24 02:49:33 UTC
It still hasn't been decided whether or not gentoo will migrate to using /srv.  See glep 20 http://www.gentoo.org/proj/en/glep/glep-0020.html