From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SUM9K-0006a5-Ef for garchives@archives.gentoo.org; Tue, 15 May 2012 18:07:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13D6BE0CA2 for ; Tue, 15 May 2012 18:07:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 04AEDE0B38 for ; Tue, 15 May 2012 15:31:39 +0000 (UTC) Received: from [192.168.26.5] (ip98-164-193-252.oc.oc.cox.net [98.164.193.252]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id 767D11B4048 for ; Tue, 15 May 2012 15:31:39 +0000 (UTC) Message-ID: <4FB276DA.3000901@gentoo.org> Date: Tue, 15 May 2012 08:31:38 -0700 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:12.0) Gecko/20120506 Thunderbird/12.0.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] About some settings to auto-replace with dispatch-conf References: <1337080552.3731.8.camel@belkin4> In-Reply-To: <1337080552.3731.8.camel@belkin4> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 4272ae90-63dc-40a3-877d-fde09eb15d47 X-Archives-Hash: a00f632afab44c96f24555466c2ae838 On 05/15/2012 04:15 AM, Pacho Ramos wrote: > Hello > > I recently installed Gentoo on my uncle's laptop and he was a bit > annoyed about needing to run "dispatch-conf" and merge a lot of changes > on files nobody ever touched. > > Looking to /etc/dispatch-conf.conf I noticed options to improve this > situation exist, but they are disabled by default. I would want to > confirm if they are safe enough or could cause problems. Options are: > > # Automerge files comprising only whitespace and/or comments > # (yes or no) > replace-wscomments=no > > # Automerge files that the user hasn't modified > # (yes or no) > replace-unmodified=no > > Looks really surprising to me that "replace-wscomments" is not enabled > by default as merging that changes shouldn't hurt at all. About > "replace-unmodified", if it works as intended, it should also be safer > to get it enabled by default as would prevent breakage if people forgets > to run dispatch-conf, reboot and, for example, sees some init.d script > fail to start. > > Thanks a lot for the info FEATURES=config-protect-if-modified is what you really want. We could probably enable it by default, but we should ask for comment on the gentoo-dev mailing list before doing that. -- Thanks, Zac