<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p> Reuben, could you try this:</p>
<p>service auth-worker {<br>
executable = /usr/bin/strace -o /tmp/out
/usr/libexec/dovecot/auth -w<br>
}<br>
</p>
<p>and send the out file to me? I wasn't able to reproduce your
problem with glibc-2.28.<br>
</p>
Aki<br>
<br>
<div class="moz-cite-prefix">On 31.08.2018 21:30, Aki Tuomi wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20180831183050.08DD222724E@talvi.dovecot.org">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div>Ah. Thanks for the pointer.</div>
<div><br>
</div>
<div id="composer_signature">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
---
<div>Aki Tuomi</div>
<div>Dovecot oy</div>
</div>
<div><br>
</div>
<div style="font-size:100%;color:#000000"><!-- originalMessage -->
<div>-------- Original message --------</div>
<div>From: Michael Marley <a class="moz-txt-link-rfc2396E" href="mailto:michael@michaelmarley.com"><michael@michaelmarley.com></a> </div>
<div>Date: 31/08/2018 21:17 (GMT+02:00) </div>
<div>To: <a class="moz-txt-link-abbreviated" href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a> </div>
<div>Subject: Re: Dovecot User Listing Error - getpwent()
failed: Invalid Argument </div>
<div><br>
</div>
</div>
<p>I think this might be caused by glibc 2.28. I saw a similar
error with the "doveadm purge" command after upgrading my system
to that version.</p>
<p>Michael Marley</p>
<p id="reply-intro">On 2018-08-31 13:10, Aki Tuomi wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left:
#1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div>I'll see if this is reproducible</div>
<div> </div>
<div> </div>
<div> </div>
<div id="composer_signature">---
<div>Aki Tuomi</div>
<div>Dovecot oy</div>
</div>
<div> </div>
<div style="font-size: 100%; color: #000000;">
<div>-------- Original message --------</div>
<div>From: Reuben Farrelly <a class="moz-txt-link-rfc2396E" href="mailto:reuben-dovecot@reub.net"><reuben-dovecot@reub.net></a></div>
<div>Date: 31/08/2018 17:41 (GMT+02:00)</div>
<div>To: Aki Tuomi <a class="moz-txt-link-rfc2396E" href="mailto:aki.tuomi@dovecot.fi"><aki.tuomi@dovecot.fi></a>, Dovecot
Mailing List <a class="moz-txt-link-rfc2396E" href="mailto:dovecot@dovecot.org"><dovecot@dovecot.org></a></div>
<div>Subject: Re: Dovecot User Listing Error - getpwent()
failed: Invalid Argument</div>
<div> </div>
</div>
Sure:<br>
<br>
<a class="moz-txt-link-freetext" href="https://www.reub.net/files/dovecot/lightning-dovecot.conf">https://www.reub.net/files/dovecot/lightning-dovecot.conf</a><br>
<a class="moz-txt-link-freetext" href="https://www.reub.net/files/dovecot/thunderstorm-dovecot.conf">https://www.reub.net/files/dovecot/thunderstorm-dovecot.conf</a><br>
<br>
Updated nightly.<br>
<br>
Reuben<br>
<br>
<br>
On 1/09/2018 12:26 am, Aki Tuomi wrote:<br>
> Can you provide doveconf -n?<br>
> <br>
> <br>
> <br>
> ---<br>
> Aki Tuomi<br>
> Dovecot oy<br>
> <br>
> -------- Original message --------<br>
> From: Reuben Farrelly <a class="moz-txt-link-rfc2396E" href="mailto:reuben-dovecot@reub.net"><reuben-dovecot@reub.net></a><br>
> Date: 31/08/2018 17:12 (GMT+02:00)<br>
> To: Aki Tuomi <a class="moz-txt-link-rfc2396E" href="mailto:aki.tuomi@dovecot.fi"><aki.tuomi@dovecot.fi></a>, Dovecot Mailing
List <br>
> <a class="moz-txt-link-rfc2396E" href="mailto:dovecot@dovecot.org"><dovecot@dovecot.org></a><br>
> Subject: Re: Dovecot User Listing Error - getpwent()
failed: Invalid <br>
> Argument<br>
> <br>
> No. Neither of those are installed on either system.<br>
> <br>
> Reuben<br>
> <br>
> On 1/09/2018 12:09 am, Aki Tuomi wrote:<br>
> > Could apparmor or selinux be causing this!<br>
> ><br>
> ><br>
> ><br>
> > ---<br>
> > Aki Tuomi<br>
> > Dovecot oy<br>
> ><br>
> > -------- Original message --------<br>
> > From: Reuben Farrelly <a class="moz-txt-link-rfc2396E" href="mailto:reuben-dovecot@reub.net"><reuben-dovecot@reub.net></a><br>
> > Date: 31/08/2018 16:50 (GMT+02:00)<br>
> > To: Dovecot Mailing List <a class="moz-txt-link-rfc2396E" href="mailto:dovecot@dovecot.org"><dovecot@dovecot.org></a><br>
> > Subject: Dovecot User Listing Error - getpwent()
failed: Invalid Argument<br>
> ><br>
> > Hi,<br>
> ><br>
> > I'm running dovecot-2.3 git and seeing on 2 of my
Dovecot installations,<br>
> > the following message logged quite frequently:<br>
> ><br>
> > Aug 31 16:55:53 lightning.reub.net dovecot[7698]:
auth-worker(7707):<br>
> > Error: getpwent() failed: Invalid argument<br>
> > Aug 31 16:55:53 lightning.reub.net dovecot[7698]:
replicator: Error:<br>
> > User listing returned failure<br>
> > Aug 31 16:55:53 lightning.reub.net dovecot[7698]:
replicator: Error:<br>
> > listing users failed, can't replicate existing data<br>
> ><br>
> > It appears that this could be having an effect on
replication, but it's<br>
> > unclear because the secondary/replica doesn't see
much traffic.<br>
> ><br>
> > Authentication is via PAM and the system is Gentoo
Linux x86_64. passb<br>
> > driver = pam, userdb driver = static .<br>
> ><br>
> > doveadm user -u '*' shows the system users listed
twice like this (is<br>
> > this a problem?) and then prints:<br>
> ><br>
> > ----<br>
> > reuben<br>
> > liam<br>
> > reuben<br>
> > liam<br>
> > <some other users><br>
> > Error: User listing returned failure<br>
> > Fatal: user listing failed<br>
> > ----<br>
> ><br>
> > To me that doesn't look right.<br>
> ><br>
> > Can anyone suggest what could be causing this? I
don't recall seeing<br>
> > this message some time ago so I suspect it's a recent
change in either<br>
> > dovecot, or pam or glibc etc..<br>
> ><br>
> > Thanks,<br>
> > Reuben</blockquote>
<p><br>
</p>
</blockquote>
<br>
</body>
</html>