Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2013 22:57:10 -0500
From:      Julio Merino <julio@meroh.net>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        hackers@freebsd.org, Atte Peltomaki <atte.peltomaki@iki.fi>
Subject:   Re: Importing netbsd cdb
Message-ID:  <CADyfeQWLQZUeFWWc86Ab8E7Fk7x3-AhMa-EmgqXiijWbbd=3xQ@mail.gmail.com>
In-Reply-To: <20131106103947.GI56315@ithaqua.etoilebsd.net>
References:  <20131027232628.GB74512@ithaqua.etoilebsd.net> <20131105220225.GF37879@caravan.chchile.org> <20131106084550.GA21489@ass.pp.htv.fi> <20131106103947.GI56315@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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).

-- 
Julio Merino / @jmmv



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADyfeQWLQZUeFWWc86Ab8E7Fk7x3-AhMa-EmgqXiijWbbd=3xQ>