ports/120811: tor-devel doesn't log to /var/log/tor as it should
Lars Stokholm
lars.stokholm at gmail.com
Mon Feb 18 17:00:03 UTC 2008
>Number: 120811
>Category: ports
>Synopsis: tor-devel doesn't log to /var/log/tor as it should
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 18 17:00:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Lars Stokholm
>Release: FreeBSD 7.0-RC2
>Organization:
>Environment:
FreeBSD stokholm 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Sun Feb 17 01:06:34 CET 2008 root at stokholm:/usr/obj/usr/src/sys/STOKHOLM i386
>Description:
tor-devel (possibly also tor) doesn't log to /var/log/tor as it's supposed to, because of a mistake made in the rc.d script.
>How-To-Repeat:
>Fix:
Patch attached.
Patch attached with submission follows:
--- /usr/local/etc/rc.d/tor_old 2008-02-18 17:46:08.000000000 +0100
+++ /usr/local/etc/rc.d/tor 2008-02-18 17:45:17.000000000 +0100
@@ -39,7 +39,7 @@
required_dirs=${tor_datadir}
pidfile=${tor_pidfile}
command="/usr/local/bin/${name}"
-command_args="-f ${tor_conf} --PidFile ${tor_pidfile} --RunAsDaemon 1 --DataDirectory ${tor_datadir} --User ${tor_user} --Group ${tor_group} --Log \"notice file ${tor_logfile}\""
+command_args="-f ${tor_conf} --PidFile ${tor_pidfile} --RunAsDaemon 1 --DataDirectory ${tor_datadir} --User ${tor_user} --Group ${tor_group} --Log notice\ file\ ${tor_logfile}"
extra_commands="log"
log_cmd="${name}_log"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list