From owner-freebsd-questions@FreeBSD.ORG Mon Jan 31 17:37:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D48671065670 for ; Mon, 31 Jan 2011 17:37:34 +0000 (UTC) (envelope-from mlmichael70@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 654778FC18 for ; Mon, 31 Jan 2011 17:37:33 +0000 (UTC) Received: by wyf19 with SMTP id 19so5969821wyf.13 for ; Mon, 31 Jan 2011 09:37:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=NnFecxBZXAkIkLvGCgRWa67O7hIb4byTY0p3N2crpq8=; b=GozNpQLrnu/d7HLdmvqSa/yEXrwHaSxliBiyRSDKh3+96/TbSCxMGVxT5Yj+ggOKod sFq3oYepH2WnQqMCoTyaAcDqtMjF1+8h7SLq+39opGPS2OgEYmtYCrt4FzvA96ItPQB3 ZL+wpi6xSu9l4pCVgXuHmo9CJx3wDb5QsKmbE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Eh1Xmp4Jqr/HSzPbQBA28nhxh5DmJ/kShobaD+L8jjVfk/QO4Q/5OhqqgfD5+TTp3l DvZihc8dZPVfb12FP7aT1+HycDa4M7TqfRPj06M9peEwaFjUYMLbdHgJMPt9C1Y70FiV MtW1q30emqJW1UE99rEn/eN2k7r8gX3TLPPb8= Received: by 10.227.157.1 with SMTP id z1mr6540474wbw.23.1296495453064; Mon, 31 Jan 2011 09:37:33 -0800 (PST) Received: from prime.nonspace ([82.132.211.22]) by mx.google.com with ESMTPS id f35sm15333760wbf.20.2011.01.31.09.37.29 (version=SSLv3 cipher=RC4-MD5); Mon, 31 Jan 2011 09:37:30 -0800 (PST) Message-ID: <4D46F363.8020708@gmail.com> Date: Mon, 31 Jan 2011 17:37:39 +0000 From: Michael User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101215 Thunderbird/3.1.7 MIME-Version: 1.0 To: CyberLeo Kitsana References: <4D42DF1B.7080604@gmail.com> <4D4417E5.1040807@cyberleo.net> In-Reply-To: <4D4417E5.1040807@cyberleo.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: syslog and chrooted isc-dhcpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2011 17:37:34 -0000 On 29/01/2011 13:36, CyberLeo Kitsana wrote: > On 01/28/2011 09:22 AM, Michael wrote: >> I'm running my isc-dhcp41-server with chroot option. >> Is it possible to get it working with syslog? I don't know how to let >> chrooted dhcpd to talk with my syslog. > > Apparently, you can either provide the -l flag via rc.conf > (syslogd_flags) or add the full log socket path to > /var/run/syslogd.sockets on the host. > Thanks a lot! Now I'm getting logs with syslogd_flags. Just to confirm - is it normal that they don't come with local7 facility (as set up in dhcpd.conf) but I need to do !dhcpd *.* /var/log/dhcpd.log in my syslogd configuration file? Michael