Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21272 - [rtorrent] daemon connection problem

Attached to Project: Community Packages
Opened by dlh (dlh) - Friday, 15 October 2010, 17:08 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 10 April 2011, 14:57 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Gavin Bisesi (Daenyth)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When I'm using rtorrent in daemon i have problem with connection to the tracker. The program display an error: "Couldn't resolve host name" Restarting the program fix this problem or when I manually start the daemon. Problem occurs only in autostart mode.

The script to using rtorrent in daemon comes from archwiki site, I just modified the username.

Additional info:
* rTorrent version is 0.8.6 from Arch repository
* #!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions

case "$1" in
start)
stat_busy "Starting rtorrent"
su sdk -c 'screen -d -m -S rtorrent rtorrent' &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon rtorrent
stat_done
fi
;;
stop)
stat_busy "Stopping rtorrent"
killall -w -s 2 /usr/bin/rtorrent &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon rtorrent
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0

This task depends upon

Closed by  Andrea Scarpino (BaSh)
Sunday, 10 April 2011, 14:57 GMT
Reason for closing:  Not a bug
Additional comments about closing:  our package doesn't ship an rc script

Loading...