[Pkg-corba-devel] omniorb4 package name change

Floris Bruynooghe floris.bruynooghe at gmail.com
Thu May 29 07:54:42 UTC 2008


Hello Thomas

[Sorry, I wrote this email last night but then posponed sending it
until I built and tested the last svn version.]

On Tue, May 27, 2008 at 11:55:07PM +0100, Floris Bruynooghe wrote:
> On Fri, May 16, 2008 at 11:40:47PM +0100, Floris Bruynooghe wrote:
> > I've thought a bit more about the omniNames DB problem...
> > 
> > On Sun, May 11, 2008 at 04:19:31PM +0100, Floris Bruynooghe wrote:
> > > * Do this in the postinst of omniorb-nameserver.  Same as the first
> > >   option, just check where the DB could be, if any, and move it
> > >   unconditionally.  The rollback problem here doesn't exist anymore as
> > >   there's none to support.  Only issue left here is that we're not
> > >   really sure we moved an omniNames DB file since we're not sure we
> > >   had it installed and thus anyone could have created a file there
> > >   with that name without anyone complaining.
> > 
> > Which means I'm going with this option...
> > 
> > Again, I could be wrong.  Feel free to disagree with me.
> 
> Ok, I'm stuck again.  I tested the upgrade from testing last week but
> only got round to testing the upgrade from etch today.  And the etch
> postrm is called before the new postinst.
> 
> Sadly the old postrm decides to clean up the database whenever it is
> run instead of just for purge.  This means it simply wipes away the
> database before we can copy it.  This brings us back to doing the
> migration in the transitional package, which has the pre-depends
> problem.
> 
> Not sure what to do now, again.

Thought a bit more about this.  We could make an update to stable
where we add a preinst and postinst script to save and restore the
database, and then change the postrm script to not delete the
databases unless they are purged.  If not we should mention this in
the release notes.

I've simplified the postinst script in subversion so it only tries to
migrate the database from the testing location.

AFAIK this completes all the changes needed for omniorb.  If you're
happy with it I think it's ready to be uploaded.

Regards
Floris

-- 
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org



More information about the Pkg-corba-devel mailing list