[tor-bugs] #26181 [Core Tor/Tor]: Systemd fails to load included service files tor at .service or tor at default.service
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu May 24 05:51:59 UTC 2018
#26181: Systemd fails to load included service files tor at .service or
tor at default.service
--------------------------+------------------------------------
Reporter: d3m0nkingx | Owner: (none)
Type: defect | Status: new
Priority: Very High | Milestone: Tor: 0.3.3.x-final
Component: Core Tor/Tor | Version: Tor: 0.3.3.6
Severity: Major | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------------
Comment (by d3m0nkingx):
I was able to resolve the RLIMIT_MEMLOCK permission issue for enabling
tor's 'DisableAllSwap 1' option:
To fix this it required to modify systemd's control groups memory
management by doing the following at command line:
$ systemctl set-property tor.service !MemoryAccounting=true
then in the tor.service file add then:
LimitMEMLOCK=infinity
or some limit where the measurement is in bytes in increments of 1024.
Afterwards, do systemctl daemon-reload; system service tor restart
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26181#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list