From owner-freebsd-ports Wed Oct 23 20:19:34 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C609E37B401; Wed, 23 Oct 2002 20:19:32 -0700 (PDT) Received: from kryptos.mud.pl (201-moc-7.acn.waw.pl [212.76.58.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3120243E65; Wed, 23 Oct 2002 20:19:31 -0700 (PDT) (envelope-from wtp@mud.pl) Received: by kryptos.mud.pl (Postfix, from userid 1000) id EE4F1680; Thu, 24 Oct 2002 05:19:24 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by kryptos.mud.pl (Postfix) with ESMTP id 6ECA667C; Thu, 24 Oct 2002 05:19:24 +0200 (CEST) Date: Thu, 24 Oct 2002 05:19:24 +0200 (CEST) From: Krzysztof Stryjek Reply-To: wtp@mud.pl To: kris@FreeBSD.org Cc: ports@FreeBSD.org Subject: snort port in FreeBSD Message-ID: <20021024051300.R53209-100000@kryptos.mud.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I think there is sth wrong with snort. This is my configuration. I use daemontools to run snort with such script: -------------------- cut here -------------------- #!/bin/sh snorth=/home/snort snort=/usr/local/bin/snort sncfg=etc/snort.conf ug="xten" exec $snort -i xl0 -d -t $snorth -u $ug -g $ug -e -p -o -c $sncfg -l log/ -------------------- cut here -------------------- So it should run in changeroot (-t), but when this script is run by daemontools, there is a error message: Initializing Output Plugins! ERROR: log directory 'log/' does not exist Fatal Error, Quitting.. Well. I've made workarround by making log subdir in place, where snort is started. But in previous versions I have not had such problems? Is this correct? Greeting from Poland -- /~\ The ASCII Krzysztof Stryjek \ / Ribbon Campaign wtp@mud.pl X Against HTML http://mud.pl/~wtp/ / \ Email! GG: 3608113 ICQ: 124986907 He who attacks the fundamentals of the American broadcasting industry attacks democracy itself. -- William S. Paley, chairman of CBS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message