Date: Wed, 13 Nov 2013 00:28:56 +0100 From: Jeremie Le Hen <jlh@FreeBSD.org> To: Julio Merino <julio@meroh.net> Cc: Baptiste Daroussin <bapt@freebsd.org>, hackers@freebsd.org, Atte Peltomaki <atte.peltomaki@iki.fi> Subject: Re: Importing netbsd cdb Message-ID: <20131112232856.GJ37879@caravan.chchile.org> In-Reply-To: <CADyfeQWLQZUeFWWc86Ab8E7Fk7x3-AhMa-EmgqXiijWbbd=3xQ@mail.gmail.com> References: <20131027232628.GB74512@ithaqua.etoilebsd.net> <20131105220225.GF37879@caravan.chchile.org> <20131106084550.GA21489@ass.pp.htv.fi> <20131106103947.GI56315@ithaqua.etoilebsd.net> <CADyfeQWLQZUeFWWc86Ab8E7Fk7x3-AhMa-EmgqXiijWbbd=3xQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 06, 2013 at 10:57:10PM -0500, Julio Merino wrote: > On Wed, Nov 6, 2013 at 5:39 AM, Baptiste Daroussin <bapt@freebsd.org> wrote: > > From the netbsd commit log, it says that in case of services it is at least as > > slow, and at best faster, from my testing it is way faster, (sorry no numbers) > > > > Concerning the migration, the way I did it for now, is that getservent is trying > > to open the cdb database and fallsback on the bdb one, so migrating to > > 11.0-RELEASE should be ootb. > > > > Running: > > services_mkdb > > > > Will generate the cdb version of the db > > Hmm... but who would be in charge of running this conversion process > during an upgrade to 11? The administrator by hand, or would this be > automated in some manner? > > Also, if this is expected to be done by hand: it's possible for > somebody to forget doing the conversion when upgrading to 11. Would > there be any notices announcing that the old format is deprecated and > would go away by 12? I'm having in mind a failure case where you > upgrade from 11 to 12 and things break because you forgot to rebuild > the database with 11 (which is the release that allows you to do the > conversion). We could probably cover that case with the release notes, although it would be preferable to have a technical way to enforce this conversion. Maybe mergemaster(8), although I'm not sure it's part of the official way to upgrade from one release to another. We have to give some thinking as well on people upgrading using freebsd-update(8). -- Jeremie Le Hen Scientists say the world is made up of Protons, Neutrons and Electrons. They forgot to mention Morons.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131112232856.GJ37879>