On Wed, 2025-08-20 at 12:33 +0200, Hauke Fath via dovecot wrote:
getpwnam() failed: Resource temporarily unavailable
hiya
EAGAIN failure from getpwnam() seems quite odd to me - especially if it only happens with one username.
A quick glance at current dovecot git source did not help my understanding. I can see how errno could be ENOMEM, EINVAL or ERANGE, but not really EAGAIN.
Is it possible the errno came from elsewhere somehow? Does this have auth_debug = yes? Any chance you can run a test with current release 2.4.1 or git head to see if it exhibits similar issues?
Not a dovecot dev, but if were me and debug logs did not reveal enough, I'd add some debugging print statements to src/lib/ipwd.c (thats where the 2.4.x call to getpwnam_r() is) to try figure out what is actually happening. I did not look to see how similar the old 2.3.x code is to 2.4.
Aki can likely offer real insight.
-- Gene