Bug 1756658

Summary: deluge-web systemd service is not functional
Product: [Fedora] Fedora Reporter: me
Component: delugeAssignee: Michael Cronenworth <mike>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 31CC: ggillies, mike, peter
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: deluge-2.0.3-5.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-06 13:44:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description me 2019-09-29 00:55:02 UTC
Description of problem:
The systemd service deluge-web.service is faulty.


The original file has the line
ExecStart=/usr/bin/deluge-web

Which, when started, 
● deluge-web.service - Deluge Bittorrent Client Web Interface
   Loaded: loaded (/usr/lib/systemd/system/deluge-web.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

Sep 29 02:46:24 nyaa-core systemd[1]: Started Deluge Bittorrent Client Web Interface.
Sep 29 02:46:25 nyaa-core systemd[1]: deluge-web.service: Succeeded.

On a curl to localhost:8112, the connection is refused.


If the line is overridden to be
ExecStart=/usr/bin/deluge-web -d

deluge-web doesn't daemonize, and functions as expected.

On a curl to localhost:8112, a proper response is returned.


Version-Release number of selected component (if applicable):
2.0.3-2.fc31


How reproducible:
Always

Steps to Reproduce:
1. systemctl start deluge-daemon
2. systemctl start deluge-web
3. curl localhost:8112

Steps to Fix:
1. systemctl edit deluge-web
[Service]
ExecStart=
ExecStart=/usr/bin/deluge-web -d
2. systemctl start deluge-web
3. curl localhost:8112

Actual results:
curl localhost:8112 return connection refused

Expected results:
The web UI should function as expected, i.e. curl localhost:8112 should return a response


PS: This is my first bug report on this system, apologies if there were ways to format this better. Please do feel free to share if so.

Comment 1 Fedora Update System 2019-10-28 15:14:06 UTC
FEDORA-2019-fc59e942ab has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-fc59e942ab

Comment 2 Michael Cronenworth 2019-10-28 15:19:12 UTC
Thanks for the bug report. Sorry it took a while to fix a minor issue. Please provide karma (feedback) to the Bodhi update when you can.

Comment 3 Fedora Update System 2019-10-29 04:29:04 UTC
deluge-2.0.3-5.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-fc59e942ab

Comment 4 Fedora Update System 2019-11-06 13:44:55 UTC
deluge-2.0.3-5.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.