Date: Tue, 27 Nov 2018 10:10:22 -0500 From: Paul Mather <freebsd-lists@gromit.dlib.vt.edu> To: Brooks Davis <brooks@freebsd.org> Cc: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: Re: "sockstat: struct xinpgen size mismatch" in 11.2-p4 jail on 12-STABLE host Message-ID: <684C956B-3600-45D3-A527-3E6E4F223564@gromit.dlib.vt.edu> In-Reply-To: <20181126234450.GB52181@spindle.one-eyed-alien.net> References: <CE414BBF-689E-483B-8351-9C0EF9E7EC54@gromit.dlib.vt.edu> <20181126234450.GB52181@spindle.one-eyed-alien.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 26, 2018, at 6:44 PM, Brooks Davis <brooks@freebsd.org> wrote: > 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 = upcoming 12-RELEASE cycle. I've installed several BETA and at least one = RC of 12 since updating from 11-STABLE as part of the 12 cycle and have = had no problems up to now. Currently, I am at FreeBSD 12.0-PRERELEASE = r340834 GENERIC amd64. >>=20 >> Since the most recent update, I have been getting this error when I = invoke "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, = which is the most up-to-date version of 11.2-RELEASE. >>=20 >> Has anyone encountered this error? Unfortunately, it means that it = breaks 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 kernel, which it has done up to now. >=20 > We broke this system management ABI months ago. I'm not sure why = you're > only bumping into this now. >=20 > 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. Thank you for the response and the advice. I'm not sure why/if I'm only bumping into this now. It may be that I = only looked deeper into why Salt was breaking this time around and saw = the problem to be an invocation of "sockstat" by a Python module. Salt = has temporarily broken for me in the past due to updates, but usually = mends itself on a subsequent rebuild/reinstall of the packages. When the 12.0-RC2 announcement came out shortly after I reported the = above I decided to upgrade to it. That seemed to fix the problem with = Salt (or at least coincide with the problem going away), which is my = main concern. I still get the same error as reported above when I = invoke "sockstat" in the 11.2 jail, but as long as Salt is working again = then that's all I really need. :-) When 12.0-RELEASE comes out I will most likely just upgrade the 11.2 = jails to 12.0. The main reason for not updating now is that iocage = doesn't appear to recognise the existence of any release more recent = than 11.2. Thanks again. Cheers, Paul.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?684C956B-3600-45D3-A527-3E6E4F223564>