From owner-freebsd-ports@freebsd.org Tue Dec 25 23:40:11 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 85EAC135F320 for ; Tue, 25 Dec 2018 23:40:11 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mail.inka.de (quechua.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 54B6A8E534 for ; Tue, 25 Dec 2018 23:40:10 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from localhost by mail.inka.de with local-rmail id 1gbwIw-0007Kr-JA; Wed, 26 Dec 2018 00:40:06 +0100 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.15.2/8.15.2) with ESMTP id wBPNbmb9006919 for ; Wed, 26 Dec 2018 00:37:48 +0100 (CET) (envelope-from news@lorvorc.mips.inka.de) Received: (from news@localhost) by lorvorc.mips.inka.de (8.15.2/8.15.2/Submit) id wBPNblq5006918 for freebsd-ports@freebsd.org; Wed, 26 Dec 2018 00:37:47 +0100 (CET) (envelope-from news) To: freebsd-ports@freebsd.org From: Christian Weisgerber Newsgroups: list.freebsd.ports Subject: INN users beware of ino_t change FreeBSD 11 to 12 Date: Tue, 25 Dec 2018 23:37:47 -0000 (UTC) Message-ID: User-Agent: slrn/1.0.3 (FreeBSD) X-Rspamd-Queue-Id: 54B6A8E534 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [5.46 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.81)[0.806,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[mail.inka.de]; NEURAL_SPAM_LONG(1.00)[0.997,0]; DMARC_NA(0.00)[inka.de]; NEURAL_SPAM_MEDIUM(1.00)[0.997,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[naddy@mips.inka.de,news@mips.inka.de]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:202113, ipnet:2a04:c9c7::/32, country:DE]; FROM_NEQ_ENVFROM(0.00)[naddy@mips.inka.de,news@mips.inka.de]; IP_SCORE(1.47)[ip: (3.87), ipnet: 2a04:c9c7::/32(1.93), asn: 202113(1.55), country: DE(-0.01)] 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: Tue, 25 Dec 2018 23:40:11 -0000 User of INN (news/inn) should be aware of an issue when upgrading from FreeBSD 11 to 12 with an existing news spool. If the overview database is in the tradindexed format, which is the default, the group.index file consists of records with an ino_t member. FreeBSD 12 has changed the size of the ino_t type, causing an incompatible change in the database format. In my case, both innd and makehistory -O would hang on startup and spin in a busy loop. To fix this, first truncate the overview/group.index file to size zero and only then regenerate the history and overview databases with makehistory -O. -- Christian "naddy" Weisgerber naddy@mips.inka.de