Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2018 20:00:03 +0100
From:      Christian Weisgerber <naddy@mips.inka.de>
To:        Adam Weinberger <adamw@adamw.org>
Cc:        freebsd-ports@freebsd.org, johans@freebsd.org
Subject:   Re: INN users beware of ino_t change FreeBSD 11 to 12
Message-ID:  <20181226190003.GA1628@lorvorc.mips.inka.de>
In-Reply-To: <CAP7rwcgyS0c1rrPpB5vSfMC=%2Bg2O%2Bi-i1PKVaK0yMydd%2B6jo%2Bw@mail.gmail.com>
References:  <slrnq25fqb.6gs.naddy@lorvorc.mips.inka.de> <CAP7rwcgyS0c1rrPpB5vSfMC=%2Bg2O%2Bi-i1PKVaK0yMydd%2B6jo%2Bw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Adam Weinberger:

> > User of INN (news/inn) should be aware of an issue when upgrading
> > from FreeBSD 11 to 12 with an existing news spool.
> 
> Thanks for this! Can you please add this to /usr/ports/UPDATING?

I can do that.  Is UPDATING the right place?  I also considered
pkg-message, but if you install lots of packages, like I did,
important notices get lost in all the spam about lack of maintainer
etc.

Here's what I have for UPDATING.  I picked the 12.0 release date
as date.  The sample command is very convoluted, but the port can
be built with different layouts and if you execute su -fm as root,
you'll get csh.

--------------------
20181211:
  AFFECTS: users of news/inn when upgrading to FreeBSD 12
  AUTHOR: naddy@FreeBSD.org

  When upgrading from FreeBSD 11 to 12, a change in the size of the
  ino_t type causes a binary incompatibility in the overview database
  if the default tradindexed format is used.

  After upgrading the inn package, remove the overview/group.index
  file and regenerate the history and overview database with
  makehistory(8) before starting innd.

  # echo '. /usr/local/news/lib/innshellvars && \
        rm -f $OVERVIEWDIR/group.index && \
        $NEWSBIN/makehistory -O -s `wc -l <$HISTORY`' | \
        su -fm news -c '/bin/sh -s'

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181226190003.GA1628>