← Back to team overview

desktop-packages team mailing list archive

[Bug 1261192] Re: Incorrect start on condition in upstart script for transmission-daemon

 

I now got a fix.
Problem is that the regular 'network' target in systemd does not define a per se on-linen working internet connection. The trick is to change the systemd configuration for transmission-daemon, open: 

/etc/systemd/system/multi-user.target.wants/transmission-daemon.service

Under the [Unit] section, change:
After=network.target

to:
After=network-online.target

** Summary changed:

- Incorrect start on condition in upstart script for transmission-daemon
+ Incorrect start on condition in systemd and upstart script for transmission-daemon

** Summary changed:

- Incorrect start on condition in systemd and upstart script for transmission-daemon
+ Incorrect conditions in systemd and upstart script for transmission-daemon

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to transmission in Ubuntu.
https://bugs.launchpad.net/bugs/1261192

Title:
  Incorrect conditions in systemd and upstart script for transmission-
  daemon

Status in transmission package in Ubuntu:
  Confirmed

Bug description:
  Release: Ubuntu Server 13.10 x86_64
  Package: transmission-daemon 2.82

  After the system is booted transmission-daemon is not contactable on
  port 9091 using transmission-remote or the web interface.

  The daemon is however started and uploading/downloading.

  After the daemon is restarted everything works correctly.

  The 'start on' condition (in /etc/init/transmission-daemon.conf)
  currently reads as follows:

      start on (filesystem and net-device-up IFACE=lo)

  i.e. start after both the filesystem and loopback adapter are
  available.

  The transmission-daemon binds to 0.0.0.0:9091 on start up in order to
  listen for remote procedure calls and as such should wait for an
  adapter other than the loopback adapter to be available.

  The line should read as follows:

      start on (filesystem and net-device-up IFACE!=lo)

  PS At least I think that's what's going on (and this change has
  resolved my problem)...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/transmission/+bug/1261192/+subscriptions