From nobody Sat Sep 20 06:06:44 2025 X-Original-To: freebsd-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 4cTJnB2hRDz68K9P for ; Sat, 20 Sep 2025 06:07:26 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4cTJnB274Fz3Z4m; Sat, 20 Sep 2025 06:07:26 +0000 (UTC) (envelope-from yasu@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758348446; 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=6b11rvNAcglTBrxPv6mhLbPCWp9Ox2GL+hO0L7j40jA=; b=Hi0Vs7VrWMRtve/pC7GOe5ycZpLLmFkICYMeLzAAZbtMGWNMgeFKWX/xv5Z8zeCj2B1+Yf 4LX7ma51SjCo93Tbg0qFH6jzjUIqvPFNVjEH/QTcLMlGYkSRg3jlXEyff9wE2fDseBh8rA L0x+Pl0LAskT1loGWecccXjLApSNx4Pih0QHUxQNVwdVflSjnj88nqml1HjsELBBwN6n4T lxbtaD6qqoCPKIsKFEfa3sxjnxkJADnFV8kxa8Uiz9oXm+WS2GnAaLnjdNqV5Jgurad7KP aib3lGDOGdzHrD+YiqLMwk7aEXDpReWswV/mQc23lpCcXgMGxGua3u/jcd43dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758348446; 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=6b11rvNAcglTBrxPv6mhLbPCWp9Ox2GL+hO0L7j40jA=; b=gi4XL1av+E+D3YDQmCZq9E9Re8ohqSdCfb7tlmj4e4atdzuDbRrSMCSzbUx3FAxZddTB6y 70GqdzURumF1s9iSTVCfaCZVdjK8oj3N2tm5mCFEoCsj/bs6WhDvuzU9bUsPqFJYf4doYA Sa+I/7BOEiDq2FcDeGF5tABrJoNsCqO8/fXhO9FSBqFrf3vZZsai7fRs9Wkch2+9uXZ+bL imbAhKVDTv6eUcIlbEB8szFwIgh5f5mdxLkvDqb5cTIJEtS0lvNQoiamKjWOzaGCSapSwJ vGZ08NU13vgvyYnwt3jJ8EKdqweAQQvQHT7PVGiEfHJK1js5Ulf+R5XRT+CvnA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758348446; a=rsa-sha256; cv=none; b=Bd3s9VnFuvEjfDJ20BbzcJBfrmgkxYxbUr+efZxlvvv4gIazBUDAsSNDZ38CMoCOBiNCcy s2gjbSMHDwHBLU8S2hlfrjsfZ5JFTC/UcJk0CfJacOLbbALufDZ/WVECkrqFGitprUVDR5 STB+xpKj1gHG4pLSMtjzV1+ReJc1Nu4F7ENEfTvbPtbvT35oyZNK7usnMjOSQaTSr2jf85 2XGZ2sAatgiCMPEi8di7zcpOQK9mtebpb75SNYuiiEIJ8jl4XqNeWcejXehm0OxFF6e5L8 u2fGCuD4aDYL6vrrqWBdBBm+J+r3ccbAKkIYu1s14IZ7BEqmsac2/xE7FHhjQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from localhost (unknown [IPv6:240b:11:220:fe00::174:11]) (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 did not present a certificate) (Authenticated sender: yasu/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4cTJn90BCLzMSq; Sat, 20 Sep 2025 06:07:24 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Date: Sat, 20 Sep 2025 15:06:44 +0900 (JST) Message-Id: <20250920.150644.230386530666613770.yasu@FreeBSD.org> To: kevans@FreeBSD.org Cc: freebsd-current@freebsd.org, olce@FreeBSD.org, kib@freebsd.org Subject: Re: Possible incompatible change with initgroups(3)? From: Yasuhiro Kimura In-Reply-To: <332dadd2-5f70-4945-acc2-a7b1b874e66d@FreeBSD.org> References: <20250920.084312.1821713565920964352.yasu@FreeBSD.org> <20250920105317.41007477@darrin.worldsmith.org> <332dadd2-5f70-4945-acc2-a7b1b874e66d@FreeBSD.org> X-Mailer: Mew version 6.10 on Emacs 31.0.50 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 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Kyle Evans Subject: Re: Possible incompatible change with initgroups(3)? Date: Fri, 19 Sep 2025 22:45:35 -0500 > Yikes- the compat initgroups is broken by some botched symbol > resolution, and > I'm not really sure the ideal solution. The below patch functions as > a stop-gap, > but I'm not sure that it's ideal. > > The problem is that freebsd14_setgroups is only defined as a weak > alias for the > FBSD_1.0 version of setgroups in lib/libc/include/compat.h via > __sym_compat(). A > simple ktrace shows that it's ultimately getting resolved to accept(), > for whatever > reason, and thus we end up with the nonsensical error for anything > trying to take > the legacy initgroups() path. > > Thanks, > > Kyle Evans Thanks for patch. But as I wrote before the error messages have already disappeared by rebuilding and reinstalling Postfix package. So unfortunately I'm not able to test if your patch fixes the issue. --- Yasuhiro Kimura