From owner-freebsd-pkgbase@freebsd.org Thu Feb 4 17:04:57 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32479A9C186 for ; Thu, 4 Feb 2016 17:04:57 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E996D1CB2; Thu, 4 Feb 2016 17:04:56 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aRNKq-000FSk-2y; Thu, 04 Feb 2016 20:04:48 +0300 Date: Thu, 4 Feb 2016 20:04:47 +0300 From: Slawa Olhovchenkov To: Glen Barber Cc: freebsd-pkgbase@FreeBSD.org Subject: Re: TODO/wish list for packaging the FreeBSD base system Message-ID: <20160204170447.GD88527@zxy.spb.ru> References: <20160129173506.GG1727@FreeBSD.org> <20160204064124.GA88527@zxy.spb.ru> <20160204144944.GF20719@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160204144944.GF20719@FreeBSD.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 17:04:57 -0000 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).