rTorrent user can't access 'id' program. Some functionality will be unavailable.

somus1735

Member
May 25, 2018
833
0
16
Hi,

since yesterday I have this message in the logfile. I already checked permissions on /tmp and 'id' is also available to the webserver and rtorrent user. Any ideas?

Regards
Shadow256

PS: I already entered the path in config.php, still no change.

rtorrent 0.8.9-2
rutorrent 3.4
Archlinux x86_64
 

dsouvik215

Member
May 25, 2018
896
0
16
Hello,

I was having a similar problem with my new archlinux install. The problem seems to have been the same as described in this thread:
http://forums.rutorrent.org/index.php?topic=1352.0
Quote
I edited /lib/systemd/system/httpd.service and changed the value to PrivateTmp=no. It seems to have fixed the problem.​

I did the same, except I believe he forgot /usr from the beginning there. I believe it should be:
/usr/lib/systemd/system/httpd.service

Basically systemd gives httpd some kind of private access to /tmp for security reasons, and that stops rutorrent from accessing what it needs in /tmp.
 

das329717

Member
May 25, 2018
928
0
16
Is there a fix for nginx or lighttpd?

edit:

I edit /usr/lib/systemd/system/nginx.service

added PrivateTmp=no

restarted, didn't work.

So I then went to /usr/lib/systemd/system/php-fpm.service

edit PrivateTmp=no

restarted, All is now working. Is this ok to edit php-fpm.service to PrivateTmp=no?

You guys have this setting as no?