Date: Mon, 18 Feb 2008 16:52:22 GMT From: Lars Stokholm <lars.stokholm@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/120811: tor-devel doesn't log to /var/log/tor as it should Message-ID: <200802181652.m1IGqMDn010844@www.freebsd.org> Resent-Message-ID: <200802181700.m1IH034T078754@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802181652.m1IGqMDn010844>