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!
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!
FS#19047 - [deluge] daemon fails to start (includes patch)
Attached to Project:
Arch Linux
Opened by Bjørnar Hansen (anachron) - Sunday, 11 April 2010, 18:42 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 21 April 2010, 23:00 GMT
Opened by Bjørnar Hansen (anachron) - Sunday, 11 April 2010, 18:42 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 21 April 2010, 23:00 GMT
|
DetailsDescription:
The deluge daemon 'deluged' fails to start for me when doing # /etc/rc.d/deluged start By adding a 1 second delay in the startup process, it works. --- /etc/rc.d/deluged~ 2010-04-11 20:40:47.844244876 +0200 +++ /etc/rc.d/deluged 2010-04-11 18:05:02.017679258 +0200 @@ -9,7 +9,8 @@ case "$1" in start) stat_busy "Starting Deluge Daemon" [[ -z $PID ]] && su -c "/usr/bin/deluged" $DELUGE_USER + sleep 1 if [ $? -gt 0 ]; then stat_fail else |
This task depends upon
Closed by Ionut Biru (wonder)
Wednesday, 21 April 2010, 23:00 GMT
Reason for closing: Won't implement
Additional comments about closing: the logic is broken as explained in comments
Wednesday, 21 April 2010, 23:00 GMT
Reason for closing: Won't implement
Additional comments about closing: the logic is broken as explained in comments
Comment by Jonathan Liu (net147) -
Wednesday, 21 April 2010, 22:58 GMT
I believe the patch just hides the issue. sleep 1 will make the command appear to always succeed as the return value after sleep command will always be 0.
Comment by Ionut Biru (wonder) -
Wednesday, 21 April 2010, 22:58 GMT
damn, thanks for the notice. i'll revert it