From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EQdqN-0000rZ-HN for garchives@archives.gentoo.org; Sat, 15 Oct 2005 04:40:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9F4cbKx023155; Sat, 15 Oct 2005 04:38:37 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9F4cblJ002668 for ; Sat, 15 Oct 2005 04:38:37 GMT Received: from cpe-65-26-255-237.wi.res.rr.com ([65.26.255.237] helo=nightcrawler) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1EQdqA-00023a-G6 for gentoo-portage-dev@lists.gentoo.org; Sat, 15 Oct 2005 04:40:14 +0000 Date: Fri, 14 Oct 2005 23:40:01 -0500 From: Brian Harring To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] Suggestion: Backup option in make.conf Message-ID: <20051015044000.GB11571@nightcrawler> References: <93f85fee0510142128j387ea2f5m@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8P1HSweYDcXXzwPJ" Content-Disposition: inline In-Reply-To: <93f85fee0510142128j387ea2f5m@mail.gmail.com> User-Agent: Mutt/1.5.8i X-Archives-Salt: e1a66f0e-1bb5-4098-b711-eadc5ddacf38 X-Archives-Hash: 063d1cbc22b6ed72831420c39bf53c86 --8P1HSweYDcXXzwPJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 15, 2005 at 06:28:53AM +0200, Rafael Fern?ndez L?pez wrote: > Hi, > My suggestion for portage is: when you do an "emerge -vuD world", you > have to work at the end of the emerging with the /etc config files and > see the differences to know if you want to overwrite file by file or > not. > Well, what I want is to have a backup of all them (one backup, and > only one). For that goal, it can be used a new option in make.conf > like "backup_etc_files=3Dyes" if you want to turn this on. > By turning this on, an "emerge -vuD world" can be done in one shot, I > mean, you can do an emerge -vuD world, and all the files could be > replaced (overwrited) by the new ones (etc-update), but you'll be able > to access to your backups if anything is wrong, so you don't have to > go file by file looking at the differences between them. > I suggest to name them "whatever.conf" (our original file) =3D=3D> > "whatever.conf.backup" (our backuped file) This breaks down pretty quickly... a peacemeal pam upgrade, for=20 example can result in you locked out of your system. Baselayout updates to /etc/passwd can accomplish the same thing, and=20 not accounting for /etc/fstab resulting in an unbootable system... ~harring --8P1HSweYDcXXzwPJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDUIggvdBxRoA3VU0RAtcuAJ9Za4hDqT+FR8EoGmT8DgjTdGX7CQCgh46i oKtqfGFW5xFxKFoReVmg1mI= =YLzi -----END PGP SIGNATURE----- --8P1HSweYDcXXzwPJ-- -- gentoo-portage-dev@gentoo.org mailing list