[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #26181 [Core Tor/Tor]: Systemd fails to load included service files tor@.service or tor@default.service
#26181: Systemd fails to load included service files tor@.service or
tor@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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs