Bug 199365 - [security/tor] [PATCH] Removed the need for the user to manipulate with files and directories manually
Summary: [security/tor] [PATCH] Removed the need for the user to manipulate with files...
Status: Closed DUPLICATE of bug 188293
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Brendan Fabeny
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-04-11 06:22 UTC by Yuri Victorovich
Modified: 2015-05-10 08:44 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (bf)


Attachments
patch (1.13 KB, patch)
2015-04-11 06:22 UTC, Yuri Victorovich
no flags Details | Diff
patch (1.18 KB, patch)
2015-04-12 22:15 UTC, Yuri Victorovich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 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 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 2015-05-10 08:44:55 UTC

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