transmission-daemon doesn’t currently start, after rebooting the system — running systemctl status transmission-daemon.service reports:
● transmission-daemon.service - Transmission BitTorrent Daemon
Loaded: loaded (/usr/lib/systemd/system/transmission-daemon.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2022-08-27 16:04:03 EEST; 1min 50s ago
Main PID: 9031 (transmission-da)
Status: "Idle."
Tasks: 4 (limit: 33477)
Memory: 1.7M
CPU: 144ms
CGroup: /system.slice/transmission-daemon.service
└─ 9031 /usr/bin/transmission-daemon -f --log-error
<a date> localhost.localdomain transmission-daemon[9031]: [<a date>] UDP Failed to set receive buffer: requested 4194304, got 425984 (tr-udp.c:97)
<a date> localhost.localdomain transmission-daemon[9031]: [<a date>] UDP Failed to set send buffer: requested 1048576, got 425984 (tr-udp.c:105)
<a date> localhost.localdomain transmission-daemon[9031]: [<a date>] UDP Failed to set receive buffer: requested 4194304, got 425984 (tr-udp.c:97)
<a date> localhost.localdomain transmission-daemon[9031]: [<a date>] UDP Failed to set send buffer: requested 1048576, got 425984 (tr-udp.c:105)
I’ve seen this Stack Exchange post, but I’m reluctant of editing system files, the daemon has been running for months on my computer so far, and the issue may be a different one altogether.
I’ve replaced some exact timestamps with <a date> for readability.
The example above creates a file in /etc/sysctl.d/transmission.conf so you know that you made the changes for Transmission. If nothing happens you can just delete the file again. And if you need a new installation you just can backup the file and move it to the new system.
Technically, it is sourcing the content of the file given, that is, whatever shell command you find in the file is executed, and when end of file is reached, the shell reverts back to reading commands from the terminal.
However, neither /etc/sysctl nor /etc/sysctl.con are shell files so to source it makes no sense.
The . /etc/profile is (when run from a shell) interpreted as “source /etc/profile” which means it reads /etc/profile and makes its settings active in the current environment.
There is no shell environment to be set that could come from /etc/sysctl.conf. So, Don’t source it! It does not contain any shell commands that would be meaningfull to the shell.