FS#73990 - transmission-cli systemd service missing network-online.target dependency
Attached to Project:
Arch Linux
Opened by FallenWarrior2k (FallenWarrior2k) - Monday, 28 February 2022, 20:24 GMT
Last edited by Florian Pritz (bluewind) - Sunday, 12 February 2023, 15:25 GMT
Opened by FallenWarrior2k (FallenWarrior2k) - Monday, 28 February 2022, 20:24 GMT
Last edited by Florian Pritz (bluewind) - Sunday, 12 February 2023, 15:25 GMT
|
Details
Description:
The systemd service file for transmission-daemon only has an After=network.target. This can result in Transmission starting before all interfaces are fully configured, which can be problematic if it is configured to bind to a specific address. In my case, this resulted in an error being logged on start-up and Transmission being unable to down- or upload until restarted. Additional info: * Version: transmission-cli 3.00-3 * Command line flags: --bind-address-ipv4 172.31.0.2 --bind-address-ipv6 fd00::2 * Log output: Couldn't bind port [...] on 172.31.0.2: Cannot assign request address (net.c:452) * Upstream issue: https://github.com/transmission/transmission/issues/2720 Steps to reproduce: * Configure Transmission to bind a to a specific address * Enable transmission.service * Maybe artificially delay network configuration somehow, e.g. by adding an ExecStartPre=sleep to your network manager service |
This task depends upon
Closed by Florian Pritz (bluewind)
Sunday, 12 February 2023, 15:25 GMT
Reason for closing: Fixed
Additional comments about closing: transmission 4.0.0-1
Sunday, 12 February 2023, 15:25 GMT
Reason for closing: Fixed
Additional comments about closing: transmission 4.0.0-1
Comment by
FallenWarrior2k (FallenWarrior2k) -
Tuesday, 01 March 2022, 03:28 GMT
Patch submitted and merged upstream:
https://github.com/transmission/transmission/pull/2721