From nobody Thu Aug 21 21:56:57 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 4c7HGf4KVcz64VQ5 for ; Thu, 21 Aug 2025 21:56:58 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c7HGf3jqmz4MHd; Thu, 21 Aug 2025 21:56:58 +0000 (UTC) (envelope-from kevans@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755813418; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zSXS9JgVyaw8doVvrjChr7y8iWTLZCOSQdaAjcUZAY0=; b=R+11fOeTZ6aImUR8ZQHhNgFi9rj2CfDdHLEv1ZSC/tOQJaGbME50MeATL6HnxQ8xHY4qzw xqdXJFVqsKQsob9shuatZ5kwUkOCcG6t8gDWRQ48i7SK8SN04qlEYlML4yk4Po5tXleUCV eEhuUPrUKZ+9etnbiYQdarogvzj5ncTDUb9LTBYF/r9kfRwDrZbGJ9l/wQHebONVMpclk6 96jikOJ7dnUaflFtwmyJplYiQQev2yVBJcVe5ihoQL7HQsshkRS0rJjObZ5fWat6wUUqyB sFvr8qUsFoo20GsLnm6zvg8w+sQhq8AI8BuZ39UqqCGLZziCdR8ZfuXGX7DbMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755813418; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zSXS9JgVyaw8doVvrjChr7y8iWTLZCOSQdaAjcUZAY0=; b=UiN0k1xq5DD3P3HuaCgjQIb6XmBvelzNGm4MXa7IYzwJUyHyZZP3Fg+bGsW5cN6EwUFXbv QjtWRdvdloe/dCsSJJDtp15/KFKFrUPbPWUL3CVlleytRJ4HnNo//Kd4yhIyKEiPd5detx lrvTmw4Lu5yczszUo5x9oOUdBzPCYLSBJZemP4HX7nv3hQbeBxPeVzEikpAN7ZJcWY/5eG 1iaCT39/B6NJVV2ZSe9qK8SkRtwClVFOV2erHwiRyis+Kl3L/xuy4+3jVuZlpeLseTRaej tTiCAMC54rQFJpiHyPhYwur4Y5U+26XYHX9Hb9s9vALieFmfip8Fvxu8Bn/mrw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755813418; a=rsa-sha256; cv=none; b=T5ZO5kLkLs9j1G6A8lYadXcjylZPoQOtTSi84IWjamrTTTl0AsSb3htIK7tpcC2VFenxcz FcqIM/so8Goy5R+QjuDIY7qHgiUYx6dQdb8N1rzOoKADivmMuIz57N08Q1/rEUNFcuZurO MWWaHoxiNF5jXZ2aYaIjiSiXDV64EYkuNMKZEa36hBNndFD/psHOLQyMJkoyLc+Ymv8Mrj GUlY9240kygAcXd9/4DhM8O7u5SxN1O4mi/a7RVfT1bR5zK20DbOQ40Fq42AlBaRXpnxph m4JNOTbUkiiJbCr7dyWWOa0e4eQWzTlow+USSRZt7tpwmtrtJ5XaSGlYd0sdsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from [10.9.4.95] (unknown [209.182.120.176]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) (Authenticated sender: kevans/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4c7HGf192dzDbk; Thu, 21 Aug 2025 21:56:58 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Message-ID: Date: Thu, 21 Aug 2025 16:56:57 -0500 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 User-Agent: Mozilla Thunderbird Subject: Re: Big compat issue with a recent current (zfs + syscall) To: Alexander Leidinger Cc: Xin LI , Current References: <567997960c33b7a437a8a812b7d65379@Leidinger.net> Content-Language: en-US From: Kyle Evans In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 8/21/25 16:27, Alexander Leidinger wrote: > Am 2025-08-21 23:14, schrieb Kyle Evans: >> On 8/21/25 11:16, Xin LI wrote: >>> On Thu, Aug 21, 2025 at 6:19 AM 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=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 >>> >>> 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). > > UPDATING only mentions VMM stuff for COMPAT_FREEBSD14. I give this a try tomorrow. But would this also affect the zfs dataset stuff? > Reading your initial e-mail, I think you actually got past the main reason to need COMPAT_FREEBSD14 when you rebuilt after mysqld died with a bad syscall. I had missed that detail the first time, sorry. I don't think I'd expect it to help with zfs dataset stuff. >> I had wondered the same, but the use of 'segfault' gave me pause; these would be SIGSYS rather than SIGSEGV, but that could just be a minor terminology dispute. > > Aug 20 10:35:32 Andromeda kernel: [566445] pid 52166 (auth), jid 50, uid 143: exited on signal 6 (no core dump - sugid process denied by ke > rn.sugid_coredump) > Aug 20 10:35:37 Andromeda kernel: [566450] pid 52172 (auth), jid 50, uid 143: exited on signal 6 (no core dump - sugid process denied by ke > rn.sugid_coredump) > Aug 20 10:35:44 Andromeda kernel: [566457] pid 52179 (auth), jid 50, uid 143: exited on signal 6 (no core dump - sugid process denied by ke > rn.sugid_coredump) > Aug 20 10:35:51 Andromeda kernel: [566463] pid 52185 (auth), jid 50, uid 143: exited on signal 6 (no core dump - sugid process denied by ke > rn.sugid_coredump) > Aug 20 10:35:56 Andromeda kernel: [566469] pid 52193 (auth), jid 50, uid 143: exited on signal 6 (no core dump - sugid process denied by ke > rn.sugid_coredump) > SIGABRT would seem to imply something like an assertion being tripped, which is a bit unusual. Might need to flip kern.sugid_coredump for a minute and see if you can gather some more context from a coredump.