Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2007 17:40:49 +0100
From:      Peter Boosten <peter@boosten.org>
To:        Jeffrey Goldberg <jeffrey@goldmark.org>
Cc:        User questions <freebsd-questions@freebsd.org>
Subject:   Re: syslog-ng not logging
Message-ID:  <20071227174049.ku0vp66isksgkk0c@www.boosten.org>
In-Reply-To: <98D543FB-8060-4F8F-B4FD-4E5B8ABE876F@goldmark.org>
References:  <1FF40B1F-D183-421A-A7A6-1BFD8E5EBE15@utdallas.edu> <20071227044016.bqrtqsjpwogkgc8k@www.boosten.org> <98D543FB-8060-4F8F-B4FD-4E5B8ABE876F@goldmark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Jeffrey Goldberg <jeffrey@goldmark.org>:

> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071227174049.ku0vp66isksgkk0c>