From owner-freebsd-stable@freebsd.org Mon Nov 26 23:44:52 2018 Return-Path: Delivered-To: freebsd-stable@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 1C2001148E69 for ; Mon, 26 Nov 2018 23:44:52 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F166719C8 for ; Mon, 26 Nov 2018 23:44:51 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id BC4B93C475F; Mon, 26 Nov 2018 23:44:50 +0000 (UTC) Date: Mon, 26 Nov 2018 23:44:50 +0000 From: Brooks Davis To: Paul Mather Cc: FreeBSD Stable Subject: Re: "sockstat: struct xinpgen size mismatch" in 11.2-p4 jail on 12-STABLE host Message-ID: <20181126234450.GB52181@spindle.one-eyed-alien.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1UWUbFP1cBYEclgG" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 9F166719C8 X-Spamd-Result: default: False [-7.51 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: spindle.one-eyed-alien.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.989,0]; R_SPF_NA(0.00)[]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; IP_SCORE(-3.61)[ip: (-9.35), ipnet: 199.48.128.0/22(-4.68), asn: 36236(-3.92), country: US(-0.09)]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2018 23:44:52 -0000 --1UWUbFP1cBYEclgG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 24, 2018 at 09:17:23AM -0500, Paul Mather wrote: > I updated a system yesterday to the latest 12-STABLE as part of the upcom= ing 12-RELEASE cycle. I've installed several BETA and at least one RC of 1= 2 since updating from 11-STABLE as part of the 12 cycle and have had no pro= blems up to now. Currently, I am at FreeBSD 12.0-PRERELEASE r340834 GENERI= C amd64. >=20 > Since the most recent update, I have been getting this error when I invok= e "sockstat" in any of the jails running on the system: >=20 > sockstat: struct xinpgen size mismatch >=20 > The jails are managed via iocage and all are running 11.2-RELEASE-p4, whi= ch is the most up-to-date version of 11.2-RELEASE. >=20 > Has anyone encountered this error? Unfortunately, it means that it break= s Salt, which is what I use to help manage the jails. Sockstat works fine = on the host, just not in the jails. >=20 > I am using a GENERIC kernel which includes "options COMPAT_FREEBSD11". I= assumed this would allow FreeBSD 11 binaries to work on a FreeBSD 12 kerne= l, which it has done up to now. We broke this system management ABI months ago. I'm not sure why you're only bumping into this now. We don't provide backward compatibility for these interfaces. To make this configuration work, I'd suggest replacing the sockstat in the jail with a statically linked version built for FreeBSD 12. -- Brooks --1UWUbFP1cBYEclgG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJb/IVyAAoJEKzQXbSebgfA7H8IAIXqg5kDKnaeZsUBhgwIdc3T RZ9hs1iLO7waNOY/10Ukh2pTyTPgbJHvumswsXzbmX/C68IHyCjYi++24pXOhwyi eT70q7oYZitBfNhnb5XTTkIlhq67wJA24qYInZ/5FZobSYGhXM64hGQTPhXsCiMj MW1WaClMex9gjhPcwF481UkXjelqJRZdgbpcmOXY/uGeXsQHGE7jMgJoclUTFkiP V4kibdh3x3xvAWRqP2nW7q6Pv0oKZtToxoSJFfa6uEIOfGfEakkgag4BF5d34oD+ 9Eh8F3qwE7xiUMsSSAmgyNJChh9pCnhV+75dsKu0ZaxOs5nNJnU4+RAuxsfRVQo= =DMPu -----END PGP SIGNATURE----- --1UWUbFP1cBYEclgG--