From nobody Thu Mar 07 15:44:39 2024 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TrDBt0T5Lz5DFKY for ; Thu, 7 Mar 2024 15:44:54 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ua1-f51.google.com (mail-ua1-f51.google.com [209.85.222.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TrDBs5DFCz46t0 for ; Thu, 7 Mar 2024 15:44:53 +0000 (UTC) (envelope-from asomers@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ua1-f51.google.com with SMTP id a1e0cc1a2514c-7dba5564dddso117252241.1 for ; Thu, 07 Mar 2024 07:44:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709826292; x=1710431092; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pPS3Wk+ADt/oV6SIKSWSrrXanrkdY1oI02tY5oP1eRg=; b=tskoFt0j2iAHgEQ3jVSUQQJ20JOdZWU/aNFGOErqrHEIUrTXyD0VEoWz3J5tS/i3Ar izMo9uvMgSIZT/CfngK5bPZpeYAPPH7P1OkTy440pbQI30hGWhK1nXXz4dY+/sPPE/Rg haGSSFw3hdVB9JvCOmANeg4SyRsPZdqLYVYzMLicFPaYUruleC5rUArzySmuemHNRVUg LC/6qXMLnle5fTio1DNtgofelk76hCG/88/rxx7V+XeyjRPXJDivNjL4QWI7jgPOE0YO piRUqm+F2La1Odu9FQUvuIMAflALmtwvpvhMxrVHRTmFc25+4jMGsIkumPGDR59MHm4x gGpg== X-Gm-Message-State: AOJu0Yxep4cXbNLb7iK0ABqcLCSoiE3gF789JSS0josn+W6/ThBf7m4q kXZLGcYpq71F4XMtdnzR7pVvIJ0Bod7k5VjFBVI/sViAKMmzjVB/stDEfEe/zMAP8XDaPuOSqxq SWP+JiQpUX6eNYTql76fka2yKpY8t61Gq X-Google-Smtp-Source: AGHT+IGL1sd3Mjr9iLKEnaMH3DnGovs/Z+wehISuCs5uzH5Zx8nCINz1dqafI9uSL9hJ0USHPgNPL6jlqltPLAu+Shc= X-Received: by 2002:a05:6122:2522:b0:4ce:96b7:c2f6 with SMTP id cl34-20020a056122252200b004ce96b7c2f6mr1405866vkb.5.1709826291633; Thu, 07 Mar 2024 07:44:51 -0800 (PST) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Thu, 7 Mar 2024 08:44:39 -0700 Message-ID: Subject: Re: kqueuex() system call was MFC'ed to releng/13 and releng/13.3? To: "Patrick M. Hausen" Cc: Freebsd Stable Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4TrDBs5DFCz46t0 On Thu, Mar 7, 2024 at 8:02=E2=80=AFAM Patrick M. Hausen = wrote: > > Hi all, > > I just found that daemon(8) stopped working after I upgraded a jail runni= ng on a 13.1 host from 13.2 to 13.3. > > Host: 13.1 - jail: 13.2 - working > Host: 13.1 - jail: 13.3 - daemon(8) fails to run > > The cause seems to be the introduction of the kqueuex() system call in 13= .3 which does not exist in 13.1 or 13.2. > > Am I correct in this analysis? If yes, I fear there is no way around that= ? This sounds like a reasonable explanation. > Isn't -stable implying there won't be incompatible ABI changes? Yes, there won't be any _incompatible_ ABI changes. But the addition of a new syscall is a _compatible_ change. Similar changes have happened before. > > This creates a huge problem for everyone running jails on TrueNAS CORE wh= en the packages for releng/13 > will switch from 13.2 to 13.3 ... > > Of course this is not the FreeBSD projects fault but that did come as an = unpleasant surprise, nonetheless. > Running jails that are newer than the host has never been supported. It was just luck that your 13.2 jail worked on a 13.1 host. The host must always run a kernel at least as new as what the jail was built for. -Alan