From owner-freebsd-current@FreeBSD.ORG Mon May 11 19:39:05 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F12471065676 for ; Mon, 11 May 2009 19:39:05 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout020.mac.com (asmtpout020.mac.com [17.148.16.95]) by mx1.freebsd.org (Postfix) with ESMTP id DAF908FC17 for ; Mon, 11 May 2009 19:39:05 +0000 (UTC) (envelope-from cswiger@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp020.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KJH004L1VWVM580@asmtp020.mac.com>; Mon, 11 May 2009 12:39:05 -0700 (PDT) Message-id: From: Chuck Swiger To: Sam Leffler In-reply-to: <4A00669A.10105@freebsd.org> Date: Mon, 11 May 2009 12:38:55 -0700 References: <49FE1826.4060000@FreeBSD.org> <49FE29A4.30507@root.org> <49FE5EC8.3040205@FreeBSD.org> <20090505091914.GA94521@server.vk2pj.dyndns.org> <4A00669A.10105@freebsd.org> X-Mailer: Apple Mail (2.930.3) Cc: Peter Jeremy , FreeBSD-Current Subject: Re: Fighting for the power. [syslogd] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2009 19:39:06 -0000 Hi-- On May 5, 2009, at 9:17 AM, Sam Leffler wrote: > Regarding syslogd, I've considered adding support to batch/buffer > writes to workaround a problem that I consider rather important: > syslogd is not started early enough in the boot so it's not > available to log msgs from other applications. In particular I hit > this because wpa_supplicant logs via syslog but when it's started at > boot syslogd isn't available and since wpa_supplicant operates in a > chroot'd environment it cannot defer connecting until syslogd has > started up so nothing is ever logged. > [ ... ] You can use -l flag to syslogd to create additional logging sockets under your chroot'ed filesystem tree, similar to the way named & ntpd uses it; see syslogd_precmd() in /etc/rc.d/syslogd.... Regards, -- -Chuck