From owner-freebsd-stable@FreeBSD.ORG Sun Mar 23 13:11:42 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B98FD106564A for ; Sun, 23 Mar 2008 13:11:42 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 64F0A8FC19 for ; Sun, 23 Mar 2008 13:11:42 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 831251B10EA4; Sun, 23 Mar 2008 13:56:23 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-9.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_64,MIME_8BIT_HEADER autolearn=no version=3.2.3 Received: from [10.1.1.2] (unknown [192.168.25.10]) by blah.sun-fish.com (Postfix) with ESMTP id AC3441B10CAA; Sun, 23 Mar 2008 13:56:20 +0100 (CET) Message-ID: <47E6536E.3070507@moneybookers.com> Date: Sun, 23 Mar 2008 14:56:14 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Eirik_=D8verby?= References: <868x0ezh9u.fsf@zid.claresco.hr> <200803192028.m2JKSZen098816@lurza.secnetix.de> <20080323000707.GA33311@fupp.net> <47E60695.2070507@infracaninophile.co.uk> <470FAA23-402B-4735-8C35-9897CA6C2589@anduin.net> In-Reply-To: <470FAA23-402B-4735-8C35-9897CA6C2589@anduin.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV 0.91.2/6334/Sun Mar 23 07:16:06 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: stable@freebsd.org Subject: Re: Upgrading to 7.0 - stupid requirements X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2008 13:11:42 -0000 Greetings, Eirik Øverby wrote: > On Mar 23, 2008, at 08:28, Matthew Seaman wrote: > >> Freddie Cash wrote: >> >>> All that's really needed is a more formalised process for handling >>> upgrading config files, with as much as possible managed via the ports >>> framework itself. Something that dictates the name of the config >>> file, and that compares the config file from the port against the >>> installed config file (or against an md5 of the port config file) and >>> only replaces it if it is unchanged. Something that is part of the >>> make system. >> >> Most ports that install configuration files actually do this already. >> It's generally why you'll find that a sample configuration file is >> considered part of the port, but the actuall live configuration file >> is not. The port will only feel free to meddle with the config file if >> it is still identical to the sample file. > > There are a few exceptions to this rule: The courier authdaemon ports, > for instance, are notorious for overwriting my carefully-crafted > configuration files when upgrading. I loathe those ports (or apps - > not sure who's to blame) for that reason alone. In fact, it not only > installs a config.dist file (which is fine), but it ALSO overwrites > the current config. A cardinal sin, if there ever were any.. I'm using FreeBSD + courrier for imap/pop3 and auth for more then 2 years till now and this never happen to me. Though I'm using portupgrade to upgrade those ports. The only port that destroyed my configuration file is blocksshd, I reported it and it was fixed in 2 days.