Bug 199365

Summary: [security/tor] [PATCH] Removed the need for the user to manipulate with files and directories manually
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Individual Port(s)Assignee: Brendan Fabeny <bf>
Status: Closed DUPLICATE    
Severity: Affects Only Me Keywords: patch
Priority: --- Flags: bugzilla: maintainer-feedback? (bf)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch
none
patch none

Description Yuri Victorovich freebsd_committer freebsd_triage 2015-04-11 06:22:26 UTC
Created attachment 155449 [details]
patch

Moved recommend by pkg-message touch/mkdir/chown/chmod into rc.d file to be performed on *start command.

This makes the new install start automatically, when before it failed because tor was unable to create /var/log/tor.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2015-04-12 22:15:26 UTC
Created attachment 155527 [details]
patch

Same, but added the check for unchanged torrc.

Brand new install will set up directories when tor is started, but if admin already has setup, it will not touch dirs. This makes it smooth for the brand new installs.
Comment 2 Brendan Fabeny freebsd_committer freebsd_triage 2015-05-10 08:44:55 UTC

*** This bug has been marked as a duplicate of bug 188293 ***