From owner-freebsd-arch Thu Feb 27 14:22:32 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5740A37B401 for ; Thu, 27 Feb 2003 14:22:31 -0800 (PST) Received: from smtp1.server.rpi.edu (smtp1.server.rpi.edu [128.113.2.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0D9E43FA3 for ; Thu, 27 Feb 2003 14:22:29 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp1.server.rpi.edu (8.12.7/8.12.7) with ESMTP id h1RMLr3q026077; Thu, 27 Feb 2003 17:21:54 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: References: <20030210114930.GB90800@melusine.cuivre.fr.eu.org> <200302251255.48219.wes@softweyr.com> Date: Thu, 27 Feb 2003 17:21:52 -0500 To: Wes Peters , arch@FreeBSD.ORG From: Garance A Drosihn Subject: Re: NEWSYSLOG changes, nosignal & -Rotate Cc: Julian Elischer Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.28 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 11:58 PM -0500 2/25/03, Garance A Drosihn wrote: >I have two different updates now, to replace the one I >previously posted. Here's the location of the two patches: > >http://people.freebsd.org/~gad/newsyslog/1-nosig.diff >http://people.freebsd.org/~gad/newsyslog/2-rotate.diff The first patch adds the -s "nosignal" option and "Nn" flags. The second patch adds the -R "request rotate" option. And now here is a third patch: http://people.freebsd.org/~gad/newsyslog/3-fixglob.diff The main purpose of this update is to rework the way newsyslog handles filenames which are specified on the command line. This is mainly to fix bugs with how those files were matched when the config file includes entries that specify filename-patterns (globs). It is also probably obvious by looking at it that I expect to write a future update so newsyslog can read information from multiple config files, say: /etc/defaults/newsyslog.conf and /etc/newsyslog.conf and maybe even /usr/local/etc/newsyslog.d/*.conf But I don't want to open that debate just yet. For now I just wanted to get glob's working correctly, because I think the bugs in the present glob-handling might bite more people once syslogd starts taking advantage of -R. This update has not been extensively tested, although it does seem to do the right thing for the config files I've tried. Assuming there are no major bugs, I'd like to commit this at about the same time as the other two. I'm still claiming that should be this Sunday, but it might be a few days later. Let me know if you see any problems with these updates. I also plan to do more testing of these before committing them. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message