From owner-freebsd-questions@FreeBSD.ORG Thu Dec 27 16:40:54 2007 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 3B0FE16A418 for ; Thu, 27 Dec 2007 16:40:54 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq1.groni1.gr.home.nl (smtpq1.groni1.gr.home.nl [213.51.130.200]) by mx1.freebsd.org (Postfix) with ESMTP id F19BD13C469 for ; Thu, 27 Dec 2007 16:40:53 +0000 (UTC) (envelope-from peter@boosten.org) Received: from [213.51.130.188] (port=43624 helo=smtp3.groni1.gr.home.nl) by smtpq1.groni1.gr.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1J7vmu-00008k-3N; Thu, 27 Dec 2007 17:40:52 +0100 Received: from cp268254-a.landg1.lb.home.nl ([84.25.65.88]:5013 helo=ra.egypt.nl) by smtp3.groni1.gr.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1J7vms-0004O2-Kz; Thu, 27 Dec 2007 17:40:51 +0100 Received: by ra.egypt.nl (Postfix, from userid 80) id EDEBC3988E; Thu, 27 Dec 2007 17:40:49 +0100 (CET) Received: from xp.egypt.nl (xp.egypt.nl [192.168.13.35]) by www.boosten.org (Horde MIME library) with HTTP; Thu, 27 Dec 2007 17:40:49 +0100 Message-ID: <20071227174049.ku0vp66isksgkk0c@www.boosten.org> Date: Thu, 27 Dec 2007 17:40:49 +0100 From: Peter Boosten To: Jeffrey Goldberg References: <1FF40B1F-D183-421A-A7A6-1BFD8E5EBE15@utdallas.edu> <20071227044016.bqrtqsjpwogkgc8k@www.boosten.org> <98D543FB-8060-4F8F-B4FD-4E5B8ABE876F@goldmark.org> In-Reply-To: <98D543FB-8060-4F8F-B4FD-4E5B8ABE876F@goldmark.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.5) X-Spam-Score: 0.0 (/) Cc: User questions Subject: Re: syslog-ng not logging 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: Thu, 27 Dec 2007 16:40:54 -0000 Quoting Jeffrey Goldberg : > Is there any reason not to simply do a > > cd /var/log > chown -R daemon . I think (but I'm not sure) that permissions will be reversed by mtree. > > also > > chown daemon /dev/console Won't work either. *if* you're going to do that you should alter /etc/devfs.conf > > for console logging. > > Will log rotation preserve daemon ownership? Never used the *traditional* log style with syslog-ng, I stored everything per day/month/year/server. I ended up running syslog-ng as root, which is probably a bad idea as well, so I cannot give you any advice on this one. Peter -- http://www.boosten.org