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 1SUOyl-0005ru-8w for garchives@archives.gentoo.org; Tue, 15 May 2012 21:08:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8055E0AF7 for ; Tue, 15 May 2012 21:08:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3D5B3E0A5A for ; Tue, 15 May 2012 19:46:59 +0000 (UTC) Received: from [192.168.1.33] (124.Red-83-33-98.dynamicIP.rima-tde.net [83.33.98.124]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pacho) by smtp.gentoo.org (Postfix) with ESMTPSA id E89011B401D for ; Tue, 15 May 2012 19:46:56 +0000 (UTC) Subject: Re: [gentoo-portage-dev] About some settings to auto-replace with dispatch-conf From: Pacho Ramos To: gentoo-portage-dev@lists.gentoo.org In-Reply-To: <1337111038.3731.16.camel@belkin4> References: <1337080552.3731.8.camel@belkin4> <4FB276DA.3000901@gentoo.org> <1337111038.3731.16.camel@belkin4> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-wmgCNHKcRz99kMmQ/dQW" Date: Tue, 15 May 2012 21:46:49 +0200 Message-ID: <1337111209.3731.17.camel@belkin4> 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 X-Mailer: Evolution 2.32.3 X-Archives-Salt: ebfaea87-a472-4faa-8272-33c3f344917c X-Archives-Hash: 79d38be0860f30aea8cadf497c3946ba --=-wmgCNHKcRz99kMmQ/dQW Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El mar, 15-05-2012 a las 21:43 +0200, Pacho Ramos escribi=C3=B3: > El mar, 15-05-2012 a las 08:31 -0700, Zac Medico escribi=C3=B3: > > On 05/15/2012 04:15 AM, Pacho Ramos wrote: > > > Hello > > >=20 > > > 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 chang= es > > > on files nobody ever touched. > > >=20 > > > 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: > > >=20 > > > # Automerge files comprising only whitespace and/or comments > > > # (yes or no) > > > replace-wscomments=3Dno > > >=20 > > > # Automerge files that the user hasn't modified > > > # (yes or no) > > > replace-unmodified=3Dno > > >=20 > > > Looks really surprising to me that "replace-wscomments" is not enable= d > > > by default as merging that changes shouldn't hurt at all. About > > > "replace-unmodified", if it works as intended, it should also be safe= r > > > to get it enabled by default as would prevent breakage if people forg= ets > > > to run dispatch-conf, reboot and, for example, sees some init.d scrip= t > > > fail to start. > > >=20 > > > Thanks a lot for the info > >=20 > > FEATURES=3Dconfig-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. >=20 > Didn't know about that option, thanks for pointing it :D >=20 > About trying to enable it by default, I think would make sense per > previous exposed reasons (and I am sure there are more examples that > could show that behavior is better than keeping obsolete config files by > default) >=20 Just noticed the problem of current behavior after updating my chroot to generate emul packages and needing to review 40 files with dispatch-conf, all of them never touched and all of them needing to be updated to new version --=-wmgCNHKcRz99kMmQ/dQW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk+ysqkACgkQCaWpQKGI+9QclACeKYt8jf0R0LcpYSZKWnpIuZf1 N+MAn0DiVkJ0QtKVsYOlpj6aYaHleu6N =HCLx -----END PGP SIGNATURE----- --=-wmgCNHKcRz99kMmQ/dQW--