Opened 3 years ago

Last modified 4 months ago

#19761 new defect

Tor systemd service should have RuntimeDirectory=tor

Reported by: candrews Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-relay hardening packaging systemd
Cc: candrews Actual Points:
Parent ID: #30797 Points:
Reviewer: Sponsor:

Description

Tor writes it's pidfile to /var/run/tor/tor.pid by default. Therefore, the systemd configuration should create this directory with appropriate permissions by default.

In https://gitweb.torproject.org/tor.git/tree/contrib/dist/tor.service.in there should be this line:
added to the [Service] section.

See the documentation at https://www.freedesktop.org/software/systemd/man/systemd.exec.html for more detail.

Child Tickets

Change History (8)

comment:1 Changed 3 years ago by nickm

Milestone: Tor: 0.2.9.x-final

comment:2 Changed 3 years ago by isabela

Keywords: isaremoved added
Milestone: Tor: 0.2.9.x-finalTor: 0.2.???

comment:3 Changed 3 years ago by teor

Milestone: Tor: 0.2.???Tor: 0.3.???

Milestone renamed

comment:4 Changed 3 years ago by nickm

Keywords: tor-03-unspecified-201612 added
Milestone: Tor: 0.3.???Tor: unspecified

Finally admitting that 0.3.??? was a euphemism for Tor: unspecified all along.

comment:5 Changed 2 years ago by nickm

Keywords: tor-03-unspecified-201612 removed

Remove an old triaging keyword.

comment:6 Changed 2 years ago by nickm

Keywords: isaremoved removed

comment:7 Changed 2 years ago by nickm

Keywords: tor-relay hardening packaging added

comment:8 Changed 4 months ago by arma

Parent ID: #30797
Note: See TracTickets for help on using tickets.