Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2025 09:16:02 -0700
From:      Xin LI <delphij@gmail.com>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        Current <current@freebsd.org>
Subject:   Re: Big compat issue with a recent current (zfs + syscall)
Message-ID:  <CAGMYy3smsx1Njq55Fqh0H4wBGEG8-TzzuhLJLA6JLdiy8Tu4UQ@mail.gmail.com>
In-Reply-To: <567997960c33b7a437a8a812b7d65379@Leidinger.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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 AM Alexander Leidinger <Alexander@leidinger.net>
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=yes
> CFLAGS+=-DFTP_COMBINE_CWDS
> MALLOC_PRODUCTION=yes
> WITH_MALLOC_PRODUCTION=yes
> WITHOUT_LLVM_ASSERTIONS=yes
> KERNCONF=ANDROMEDA
> WITH_RETPOLINE=yes
> WITH_KERNEL_RETPOLINE=yes
> WITH_RELRO=yes
> WITH_BIND_NOW=yes
> OPT_INIT_ALL=zero
> WITH_ZEROREGS=yes
> WITHOUT_CLEAN=yes
> LOADER_GZIP_SUPPORT=no
> LOADER_BZIP2_SUPPORT=no
> LOADER_BIOS_TEXTONLY=no
> LOADER_NFS_SUPPORT=no
> LOADER_TFTP_SUPPORT=no
> LOADER_CD9660_SUPPORT=no
> ---snip---
>
> src-env.conf:
> ---snip---
> WITH_META_MODE=yes
> FORTIFY_SOURCE=2
> ---snip---
>
> Bye,
> Alexander.
>
> --
> http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
> http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF
>

[-- Attachment #2 --]
<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Since you are using a custom kernel, is it possible that you didn&#39;t have COMPAT_FREEBSD14?  (Recently [gs]etgroups were changed, with compatibility syscalls moved to COMPAT_FREEBSD14).</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Aug 21, 2025 at 6:19 AM Alexander Leidinger &lt;<a href="mailto:Alexander@leidinger.net">Alexander@leidinger.net</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I tried to update from -current as of 2025-08-11-154054 (CEST) to <br>
2025-08-20-075320. I&#39;ve updated the kernel and base, but no jail. <br>
Result:<br>
<br>
1) Not all jails got up. For mysql I have the DB on a separate dataset, <br>
I attach the dataset to the jail (grep dataset /etc/rc.d/jail) to be <br>
able to manage it from within the jail. I got the message that the <br>
dataset is already attached (first start of the jail at boot). When I <br>
resolved this by simply not attaching the dataset, mysqld died with a <br>
bad syscall.<br>
<br>
2) A lot of processes inside jails segfaulted.<br>
<br>
I then updated the jails from the build. More processes came up, but <br>
some still died (e.g. php_fpm).<br>
<br>
At that point I reverted all back (this emails is handled via the jails <br>
on this host). I still have the BE which causes issues, in case someone <br>
needs to get some info out of it.<br>
<br>
I have not seen anything in UPDATING which suggests anything in this <br>
regard.<br>
<br>
src.conf:<br>
---snip---<br>
WITHOUT_PROFILE=yes<br>
CFLAGS+=-DFTP_COMBINE_CWDS<br>
MALLOC_PRODUCTION=yes<br>
WITH_MALLOC_PRODUCTION=yes<br>
WITHOUT_LLVM_ASSERTIONS=yes<br>
KERNCONF=ANDROMEDA<br>
WITH_RETPOLINE=yes<br>
WITH_KERNEL_RETPOLINE=yes<br>
WITH_RELRO=yes<br>
WITH_BIND_NOW=yes<br>
OPT_INIT_ALL=zero<br>
WITH_ZEROREGS=yes<br>
WITHOUT_CLEAN=yes<br>
LOADER_GZIP_SUPPORT=no<br>
LOADER_BZIP2_SUPPORT=no<br>
LOADER_BIOS_TEXTONLY=no<br>
LOADER_NFS_SUPPORT=no<br>
LOADER_TFTP_SUPPORT=no<br>
LOADER_CD9660_SUPPORT=no<br>
---snip---<br>
<br>
src-env.conf:<br>
---snip---<br>
WITH_META_MODE=yes<br>
FORTIFY_SOURCE=2<br>
---snip---<br>
<br>
Bye,<br>
Alexander.<br>
<br>
-- <br>
<a href="http://www.Leidinger.net" rel="noreferrer" target="_blank">http://www.Leidinger.net</a>; Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF<br>
<a href="http://www.FreeBSD.org" rel="noreferrer" target="_blank">http://www.FreeBSD.org</a>    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF<br>
</blockquote></div>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGMYy3smsx1Njq55Fqh0H4wBGEG8-TzzuhLJLA6JLdiy8Tu4UQ>