Hello, The recent update of the transmission PPA package from 2.92-1ubuntu1~16.104.2 to 2.93-1ubuntu1~16.04.1ubuntu1 has introduced a regression that prevents the transmission-daemon package from starting up properly in systemd systems.
Expected Behavior: 1. Start the daemon: sudo systemctl start transmission-daemon 2. Daemon takes a few seconds, then starts as described by the settings file 3. systemctl returns to prompt. Actual Behavior: Default: 1. Starting the daemon immediately fails If user is corrected in .service file: 1. Startup works as expected, but systemctl holds stdin waiting for startup to finish 2. some time later the daemon is terminated by systemd. Diagnosis: 1. The systemd username for the upgraded package changes the system user from 'debian-transmission' to 'transmission' 2. Some behavior fails to properly indicate to systemd (via inotify) when the daemon has started, and the daemon is automatically terminated by systemd after a short period of time. During the period after starting until the daemon is terminated the software functions as expected if the username in the systemd service file is corrected. While I'm reporting this for 16.04, the regression looks like it has made it's way into the 17.10 package as well. Startup log for default behavior follows: =============================== Mar 06 09:46:32 Fritz systemd: Starting Transmission BitTorrent Daemon... -- Subject: Unit transmission-daemon.service has begun start-up -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- Unit transmission-daemon.service has begun starting up. Mar 06 09:46:32 Fritz systemd: transmission-daemon.service: Failed to determine user credentials: No such process -- Subject: Process /usr/bin/transmission-daemon could not be executed -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- The process /usr/bin/transmission-daemon could not be executed and failed. -- -- The error number returned by this process is 3. Mar 06 09:46:32 Fritz systemd: transmission-daemon.service: Main process exited, code=exited, status=217/USER Mar 06 09:46:32 Fritz systemd: Failed to start Transmission BitTorrent Daemon. -- Subject: Unit transmission-daemon.service has failed -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- Unit transmission-daemon.service has failed. -- -- The result is failed. Mar 06 09:46:32 Fritz systemd: transmission-daemon.service: Unit entered failed state.
-- Mailing list: https://launchpad.net/~transmissionbt Post to : firstname.lastname@example.org Unsubscribe : https://launchpad.net/~transmissionbt More help : https://help.launchpad.net/ListHelp