Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2016 20:04:47 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Glen Barber <gjb@FreeBSD.org>
Cc:        freebsd-pkgbase@FreeBSD.org
Subject:   Re: TODO/wish list for packaging the FreeBSD base system
Message-ID:  <20160204170447.GD88527@zxy.spb.ru>
In-Reply-To: <20160204144944.GF20719@FreeBSD.org>
References:  <20160129173506.GG1727@FreeBSD.org> <20160204064124.GA88527@zxy.spb.ru> <20160204144944.GF20719@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 04, 2016 at 02:49:44PM +0000, Glen Barber wrote:

> On Thu, Feb 04, 2016 at 09:41:24AM +0300, Slawa Olhovchenkov wrote:
> > On Fri, Jan 29, 2016 at 05:35:06PM +0000, Glen Barber wrote:
> > 
> > > TODO List / Wish List:
> > 
> > Mergering /etc is very important task.
> > Currently all /etc is very hardcoded, for example: on all systems, UFS
> > and ZFS based, newsyslog do bz2 comress of old log files. Can we
> > introduce some templates in /etc for flexibility and more automatic
> > mergering?
> 
> As mentioned in a previous email, this is intended to be solved.

I am miss or may be poor to descibe feature.
I see only general config merge.

What I need:

newsyslog.conf may be

1) /var/log/messages                       644  5     100  @0101T JC

-- for small system

2) /var/log/messages                       644  30    *  @T00  JC

-- for large, UFS-based system

3) /var/log/messages                       644  30    *  @T00  C

-- for large, ZFS-based system

and introducing new system type (current default move to 'small',
introducing 'ufs') will be automatic mergering and result on 'ufs'
system automatic changed 1) to 2).

introducing 'zfs' -- changed 2) to 3), decomress log.

Or, at least, use different template based on system type (need save
this information somewhere).






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