Article View: news.software.nntp
Article #85505Re: INN2 - 32bit - Wheezy
From: Russ Allbery
Date: Thu, 30 May 2013 17:41
Date: Thu, 30 May 2013 17:41
33 lines
2564 bytes
2564 bytes
Tony <tony@darkstorm.invalid> writes:
> I need to upgrade that machine to Wheezy, but that means either turning
> off perl filtering (which isn't too bad on that machine), or, migrating
> to the LFS version.
> What I don't know, are what, if any, steps I would need to follow to
> migrate from the non-LFS version to the LFS version and keep the spool
> and all the other files intact.
> Does anyone have any insight?
Are all the articles stored in tradspool or timehash? If so, you can just
rebuild history and overview from tradspool and you should be okay.
If you have articles in CNFS or timecaf, you need to either:
1. Write the piece of code that no one has had a chance to write yet to
convert a CNFS or CAF file from 32-bit to 64-bit.
2. Set up a new server and feed all the articles from the old server to
the new server instead of doing an in-place upgrade.
The problem is that INN uses binary off_t and similar data types directly
in the on-disk structures without any ability to detect incorrect sizes or
convert from old formats. (This is, obviously, a bug, but it's a bug in
the on-disk data format and therefore rather difficult to fix.)
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<877gig1i2k.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!usenetcore.com!news.he.net!news.snarked.org!newsfeed.news.ucla.edu!usenet.stanford.edu!usenet-its.stanford.edu!.POSTED!not-for-mailReferences:
<ko7pdg$ccs$1@matrix.darkstorm.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <877gig1i2k.fsf@windlord.stanford.edu> Subject: Re: INN2 - 32bit - Wheezy Date: Thu, 30 May 2013 10:41:23 -0700 From: Russ Allbery <rra@stanford.edu> References: <ko7pdg$ccs$1@matrix.darkstorm.co.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!usenetcore.com!news.he.net!news.snarked.org!newsfeed.news.ucla.edu!usenet.stanford.edu!usenet-its.stanford.edu!.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 33 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: usenet-its.stanford.edu 1369935683 15161 171.67.225.134 (30 May 2013 X-Complaints-To: news@usenet-its.stanford.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:qA92sXHS2MZs7pEqThhETXdMq3w= X-Original-Bytes: 2260