From owner-freebsd-ports@freebsd.org Wed Dec 26 19:21:25 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AEA74135A1BA for ; Wed, 26 Dec 2018 19:21:25 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C1DB38E7BA for ; Wed, 26 Dec 2018 19:21:24 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by mail-yb1-xb2e.google.com with SMTP id r11so6634414ybp.12 for ; Wed, 26 Dec 2018 11:21:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamw-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hhJdWftM3n1UKTsHi1De1rgWZIKACHkocacoIianUbE=; b=atplUG8eVMylm4NdZnOlCKZ0mA/nhyykZdLAxYF1/RAHtGV40lbCFwUB2nGGP7aBJ2 qg7BPTy0IQ2SUlHxpeQIWv1kvu8i97GXpSySA3QGoMfSdKIzEecYucaYc+GNmcmxWcC+ v43yZ7u/I9SX7OJMcqByN5gC8BxqCAxmX9lhUQGt3vYeoD+1SH4b5puQJ+ZfjFkjmp6l 1XE3AGh0L1jpUS04wCJVroawlsdgQ60QnNbnlZ7xYYYHkMGx+TJiZHLvEYPTNTkKCrdl n5ubi3pUI8LqPx/uDaR58XSjJ7WaEW1l36AFQMsC0KqG3FgNtAEIUS+tCB1ComI+HtOz 9mZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hhJdWftM3n1UKTsHi1De1rgWZIKACHkocacoIianUbE=; b=EFQTTfviZ9cFVTu/2gIAdjd41UgA8LnGBrh4ZNvu9YM/SmBOkINuYAcBgGIrB1tgxi E74N7gAs7kmXNlmQpl46WP5QPIqhQ4jLH6lDSYQ7EM6qaasxWwN05hKtVJYJNMmGrMjb f29FR4dsRA6mQoPbMD2BQ71T83IPBP3euYbjRnURGLUdgCbK2ThQhxJc2XhdxV8QUPbj LdxOk4S2birtx9A3cs7BlcenJN9rIva4IArQIt+ZfwVCZBNc049Fcm2pj4O6P2cWG5oO 4S40jLKF5GzmXQ1FAxcXWO3b9zhUV21SIltpFNb6pOX55GfqVAZNMhMPjM6vhz28TbCl I4Hg== X-Gm-Message-State: AJcUukcjcgCGWi+sHD5flJsh7KD4A+k+ekMgsBGZVP3IDoKmtl0+EHQm ClEoO3gTLN3+KlG535T4w2F3SKG6Z/34j7exVwhbHg== X-Google-Smtp-Source: ALg8bN7hMOwi2qDALIQc/rw0RKP9ksAOtH3bAYeplTwKVPp413Q65f1NRWPO4QY6oZ6hVwox1SHDcQ2z+GJaAFldlcw= X-Received: by 2002:a25:b30b:: with SMTP id l11mr10817036ybj.201.1545852084113; Wed, 26 Dec 2018 11:21:24 -0800 (PST) MIME-Version: 1.0 References: <20181226190003.GA1628@lorvorc.mips.inka.de> In-Reply-To: <20181226190003.GA1628@lorvorc.mips.inka.de> From: Adam Weinberger Date: Wed, 26 Dec 2018 12:21:08 -0700 Message-ID: Subject: Re: INN users beware of ino_t change FreeBSD 11 to 12 To: Christian Weisgerber Cc: freebsd-ports@freebsd.org, johans@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: C1DB38E7BA X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=adamw-org.20150623.gappssmtp.com header.s=20150623 header.b=atplUG8e; spf=pass (mx1.freebsd.org: domain of adamw@adamw.org designates 2607:f8b0:4864:20::b2e as permitted sender) smtp.mailfrom=adamw@adamw.org X-Spamd-Result: default: False [-6.09 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[adamw-org.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[adamw.org]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[adamw-org.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[alt1.aspmx.l.google.com,alt4.aspmx.l.google.com,alt3.aspmx.l.google.com,alt2.aspmx.l.google.com,aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[e.2.b.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.91)[-0.911,0]; IP_SCORE(-2.67)[ip: (-9.88), ipnet: 2607:f8b0::/32(-1.87), asn: 15169(-1.50), country: US(-0.08)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Dec 2018 19:21:25 -0000 On Wed, Dec 26, 2018 at 12:05 PM Christian Weisgerber wrote: > > 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. Truly, important notices are best in both. UPDATING is the canonical references, but pkg-based users don't generally have that file present. And you're absolutely right, pkg-message fatigue is a big problem, and it probably would be beneficial if we do a sweep for superfluous pkg-message content. > 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' Convoluted isn't a problem as long as people can c&p it! Will inn users know what their $OVERVIEWDIR and $NEWSBIN are? If not you might say where they are by default. # Adam -- Adam Weinberger adamw@adamw.org https://www.adamw.org