From nobody Thu Aug 21 16:16:02 2025 X-Original-To: current@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 4c77jZ4qHDz65MB9 for ; Thu, 21 Aug 2025 16:16:18 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c77jZ0Nflz3RKd for ; Thu, 21 Aug 2025 16:16:18 +0000 (UTC) (envelope-from delphij@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-323267adb81so1307224a91.1 for ; Thu, 21 Aug 2025 09:16:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1755792975; x=1756397775; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xv19EzVTgqCVBU2Ren5a3adwUwceZMb1DnNLqT5xnKg=; b=jqVeLxpOvApzb4EjV1BRs7IYw19Lx3RCmmMTXRxuCYZuUWEgiV3Pzl2GDDU9ed/zRu UmlCBaetfdjQu9GUySsxta2mZxlDzocRqrvDfvMLnrMipITwrTzw0L9J0PUIY1lvy3nt QPMqhi9/Vdqs1hWnPfETQ9I4CadFrWrexFHaSMO2wT41q9AOojc1nMjc3ihvC80dNV4i cmeqVJqaNwlYDfZfFj+TZzADzDvgotQsJfAvJLwq4F8Nsq07vDARihgQyiDxPq+rbtIZ bJ9rE+uE9f794612haitpTIHx08OBQOhCJR9UZXdKXbKb9Yll7o+JXyQ5dzU3E8KsDVq Q37A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755792975; x=1756397775; h=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=xv19EzVTgqCVBU2Ren5a3adwUwceZMb1DnNLqT5xnKg=; b=j4LqCKR7Xpt3uTXxQ0xCbf6vziyYtK/0ySEsOM48ZiZbIJ2+PA6TmtIP9x2ZjTEFh2 BvTzElvXR0Hn52rdBW0YcVMp50sARtO9d1RODVUUYYdiJFXjzK9GrAoUgF7II+M7jrsR ryYk6Hhi3BMPxRj6VJsR0aS9RMYhzbep70GfjU/Ddkv4O+9Y059UsoIP21o4GxCdArtV fpd050eI+k0G3W3rIfhi1DVcPiiYdHXb6njqTlbUtaxkl8dB3kZg75HG/LqMelqax6ni w6Epu0BrmT7RYPac5//gWrgtxXVnOjsS6EgdPUj1HgAF4x+gIlpP3Oop9pq5g7HvyQe4 kzyg== X-Gm-Message-State: AOJu0Yx5CzDfVsXeDTINuE0MOoVy04AF3SBqiyChee2ifhYLlISRa3iU TFr+6Yqu6IL1aT+bcnFUqoA9qXn/oyV7sYT3hmgUrHX41HWCwSxy8kh1GW0bndPr74pFqfgPGiG JLaacrVLp2n37DUwrTISwqvdxCIc2jt10oeo0 X-Gm-Gg: ASbGncubAnp7ygEHDr10DL4aQ8ljUOFWHXjMR8+GFOnjIsULoxCxOgpva8T8tnv+TiM 6PSWVHEWoKl5DM2Xt1OpRzqfg3EV+nG2A+y3iyB23OS6jdQwSRsTAawa03mFzWxxQ/HtWRy9Oki ThOVKrj48A4ERJ+ZIcWe1HcAYvuBvJN9kwJ545vKtkT1Lwv6kCEhoJjhdKWCagoxhcFg5FXP8IW VTVgViJ8SwN/ORs7/1QQJIcbzxBrulN7CtXvhrrBtvpesfN/67LHnrVHeE= X-Google-Smtp-Source: AGHT+IFj5r2KegdDJEUnJpw/fHBNcpQH8qyRtv8riv5akQTLHFID5XTSZQGN+1jfptLu4IC6CqCmG/Cgn/lcX0Hk1yo= X-Received: by 2002:a17:90b:528d:b0:321:cfbf:cbd6 with SMTP id 98e67ed59e1d1-32515e3cba6mr156407a91.6.1755792974356; Thu, 21 Aug 2025 09:16:14 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <567997960c33b7a437a8a812b7d65379@Leidinger.net> In-Reply-To: <567997960c33b7a437a8a812b7d65379@Leidinger.net> From: Xin LI Date: Thu, 21 Aug 2025 09:16:02 -0700 X-Gm-Features: Ac12FXxn54Om6P8exsCoQrC7xNf2-aHw4_Bxd9a5gVgNc-R4mOhjWT2knd-lIgk Message-ID: Subject: Re: Big compat issue with a recent current (zfs + syscall) To: Alexander Leidinger Cc: Current Content-Type: multipart/alternative; boundary="00000000000089290c063ce268f2" X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4c77jZ0Nflz3RKd --00000000000089290c063ce268f2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Since you are using a custom kernel, is it possible that you didn't have COMPAT_FREEBSD14? (Recently [gs]etgroups were changed, with compatibility syscalls moved to COMPAT_FREEBSD14). On Thu, Aug 21, 2025 at 6:19=E2=80=AFAM Alexander Leidinger wrote: > Hi, > > I tried to update from -current as of 2025-08-11-154054 (CEST) to > 2025-08-20-075320. I've updated the kernel and base, but no jail. > Result: > > 1) Not all jails got up. For mysql I have the DB on a separate dataset, > I attach the dataset to the jail (grep dataset /etc/rc.d/jail) to be > able to manage it from within the jail. I got the message that the > dataset is already attached (first start of the jail at boot). When I > resolved this by simply not attaching the dataset, mysqld died with a > bad syscall. > > 2) A lot of processes inside jails segfaulted. > > I then updated the jails from the build. More processes came up, but > some still died (e.g. php_fpm). > > At that point I reverted all back (this emails is handled via the jails > on this host). I still have the BE which causes issues, in case someone > needs to get some info out of it. > > I have not seen anything in UPDATING which suggests anything in this > regard. > > src.conf: > ---snip--- > WITHOUT_PROFILE=3Dyes > CFLAGS+=3D-DFTP_COMBINE_CWDS > MALLOC_PRODUCTION=3Dyes > WITH_MALLOC_PRODUCTION=3Dyes > WITHOUT_LLVM_ASSERTIONS=3Dyes > KERNCONF=3DANDROMEDA > WITH_RETPOLINE=3Dyes > WITH_KERNEL_RETPOLINE=3Dyes > WITH_RELRO=3Dyes > WITH_BIND_NOW=3Dyes > OPT_INIT_ALL=3Dzero > WITH_ZEROREGS=3Dyes > WITHOUT_CLEAN=3Dyes > LOADER_GZIP_SUPPORT=3Dno > LOADER_BZIP2_SUPPORT=3Dno > LOADER_BIOS_TEXTONLY=3Dno > LOADER_NFS_SUPPORT=3Dno > LOADER_TFTP_SUPPORT=3Dno > LOADER_CD9660_SUPPORT=3Dno > ---snip--- > > src-env.conf: > ---snip--- > WITH_META_MODE=3Dyes > FORTIFY_SOURCE=3D2 > ---snip--- > > Bye, > Alexander. > > -- > http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF > http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF > --00000000000089290c063ce268f2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Since you are using a custom kernel, is it possible that you d= idn't have=C2=A0COMPAT_FREEBSD14?=C2=A0 (Recently [gs]etgroups were cha= nged, with compatibility syscalls moved to COMPAT_FREEBSD14).
On Thu, Aug 21, 2025 at 6:19=E2=80=AFAM Alexander Leidinger= <Alexander@leidinger.net= > wrote:
Hi,<= br>
I tried to update from -current as of 2025-08-11-154054 (CEST) to
2025-08-20-075320. I've updated the kernel and base, but no jail.
Result:

1) Not all jails got up. For mysql I have the DB on a separate dataset, I attach the dataset to the jail (grep dataset /etc/rc.d/jail) to be
able to manage it from within the jail. I got the message that the
dataset is already attached (first start of the jail at boot). When I
resolved this by simply not attaching the dataset, mysqld died with a
bad syscall.

2) A lot of processes inside jails segfaulted.

I then updated the jails from the build. More processes came up, but
some still died (e.g. php_fpm).

At that point I reverted all back (this emails is handled via the jails on this host). I still have the BE which causes issues, in case someone needs to get some info out of it.

I have not seen anything in UPDATING which suggests anything in this
regard.

src.conf:
---snip---
WITHOUT_PROFILE=3Dyes
CFLAGS+=3D-DFTP_COMBINE_CWDS
MALLOC_PRODUCTION=3Dyes
WITH_MALLOC_PRODUCTION=3Dyes
WITHOUT_LLVM_ASSERTIONS=3Dyes
KERNCONF=3DANDROMEDA
WITH_RETPOLINE=3Dyes
WITH_KERNEL_RETPOLINE=3Dyes
WITH_RELRO=3Dyes
WITH_BIND_NOW=3Dyes
OPT_INIT_ALL=3Dzero
WITH_ZEROREGS=3Dyes
WITHOUT_CLEAN=3Dyes
LOADER_GZIP_SUPPORT=3Dno
LOADER_BZIP2_SUPPORT=3Dno
LOADER_BIOS_TEXTONLY=3Dno
LOADER_NFS_SUPPORT=3Dno
LOADER_TFTP_SUPPORT=3Dno
LOADER_CD9660_SUPPORT=3Dno
---snip---

src-env.conf:
---snip---
WITH_META_MODE=3Dyes
FORTIFY_SOURCE=3D2
---snip---

Bye,
Alexander.

--
h= ttp://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF=
htt= p://www.FreeBSD.org=C2=A0 =C2=A0 netchild@FreeBSD.org=C2=A0 : PGP 0x8F3= 1830F9F2772BF
--00000000000089290c063ce268f2--