| Summary: | net-p2p/rtorrent: rtorrentd should be started AFTER slapd (net-nds/openldap) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Chris Paras <chris> |
| Component: | Current packages | Assignee: | Peter Alfredsen (RETIRED) <loki_val> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | bug, darkside, drizzt |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Chris Paras
2009-03-10 21:24:53 UTC
Reassigning to/CCing maintainers. (In reply to comment #0) > I'm not sure, but i think a simple "after LDAP" in the /etc/init.d/rtorrentd > file could fix this. I don't have access to any such ldap setups. Please test and report back. I think it's better to change the use line to "use ypbind slapd net" To allow also nis users (In reply to comment #3) > I think it's better to change the use line to "use ypbind slapd net" > To allow also nis users > ok, after changing the line use net.* to use ypbind slapd net i rebooted the machine and rtorrent was running fine in a screen session. So I guess this issue is fixed. I did not test the NIS stuff because i am not running NIS. However, another issue appeared: To stop rtorrentd i had to enter /etc/init.d/rtorrentd stop twice. The output from the first try : * Stopping rtorrent ... [ !! ] Second try: * Stopping rtorrent ... [ ok ] I tried and switched to the screen session running rtorrent and tried /etc/init.d/rtorrentd stop (the first try) , and the rtorrent session was properly shutdown (it takes a couple of seconds to disannounce to the trackers) and the screen session closed. Why do i have to stop it twice ? I think adding some kind of waiting time or PID check might help if I'm correct... (In reply to comment #4) > (In reply to comment #3) > > I think it's better to change the use line to "use ypbind slapd net" > > To allow also nis users > > > > ok, after changing the line > > use net.* > > to > > use ypbind slapd net > > i rebooted the machine and rtorrent was running fine in a screen session. So I > guess this issue is fixed. I did not test the NIS stuff because i am not > running NIS. > > However, another issue appeared: > > > To stop rtorrentd i had to enter /etc/init.d/rtorrentd stop twice. > > The output from the first try : > > * Stopping rtorrent ... [ !! > ] > > Second try: > > * Stopping rtorrent ... [ ok > ] > > I tried and switched to the screen session running rtorrent and tried > /etc/init.d/rtorrentd stop (the first try) , and the rtorrent session was > properly shutdown (it takes a couple of seconds to disannounce to the trackers) > and the screen session closed. Why do i have to stop it twice ? > Updated the init.d, no version bump, as it's quite obscure I feel. (In reply to comment #6) > Updated the init.d, no version bump, as it's quite obscure I feel. Hmm, imho: Two diffrent user emerge rttorrent on diffrent time, they get diffrent init.d scripts but they have rtorrent in the same version. How can they compare behavior this soft? Imho it should be next -r . |