Re: Possible incompatible change with initgroups(3)?
- In reply to: Kyle Evans : "Re: Possible incompatible change with initgroups(3)?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Sep 2025 06:06:44 UTC
From: Kyle Evans <kevans@FreeBSD.org> 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