Reuben Farrelly
2018-Aug-31 14:41 UTC
Dovecot User Listing Error - getpwent() failed: Invalid Argument
Sure: https://www.reub.net/files/dovecot/lightning-dovecot.conf https://www.reub.net/files/dovecot/thunderstorm-dovecot.conf Updated nightly. Reuben On 1/09/2018 12:26 am, Aki Tuomi wrote:> Can you provide doveconf -n? > > > > --- > Aki Tuomi > Dovecot oy > > -------- Original message -------- > From: Reuben Farrelly <reuben-dovecot at reub.net> > Date: 31/08/2018 17:12 (GMT+02:00) > To: Aki Tuomi <aki.tuomi at dovecot.fi>, Dovecot Mailing List > <dovecot at dovecot.org> > Subject: Re: Dovecot User Listing Error - getpwent() failed: Invalid > Argument > > No.? Neither of those are installed on either system. > > Reuben > > On 1/09/2018 12:09 am, Aki Tuomi wrote: > > Could apparmor or selinux be causing this! > > > > > > > > --- > > Aki Tuomi > > Dovecot oy > > > > -------- Original message -------- > > From: Reuben Farrelly <reuben-dovecot at reub.net> > > Date: 31/08/2018 16:50 (GMT+02:00) > > To: Dovecot Mailing List <dovecot at dovecot.org> > > Subject: Dovecot User Listing Error - getpwent() failed: Invalid Argument > > > > Hi, > > > > I'm running dovecot-2.3 git and seeing on 2 of my Dovecot installations, > > the following message logged quite frequently: > > > > Aug 31 16:55:53 lightning.reub.net dovecot[7698]: auth-worker(7707): > > Error: getpwent() failed: Invalid argument > > Aug 31 16:55:53 lightning.reub.net dovecot[7698]: replicator: Error: > > User listing returned failure > > Aug 31 16:55:53 lightning.reub.net dovecot[7698]: replicator: Error: > > listing users failed, can't replicate existing data > > > > It appears that this could be having an effect on replication, but it's > > unclear because the secondary/replica doesn't see much traffic. > > > > Authentication is via PAM and the system is Gentoo Linux x86_64. passb > > driver = pam, userdb driver = static . > > > > doveadm user -u '*' shows the system users listed twice like this (is > > this a problem?) and then prints: > > > > ---- > > reuben > > liam > > reuben > > liam > > <some other users> > > Error: User listing returned failure > > Fatal: user listing failed > > ---- > > > > To me that doesn't look right. > > > > Can anyone suggest what could be causing this?? I don't recall seeing > > this message some time ago so I suspect it's a recent change in either > > dovecot, or pam or glibc etc.. > > > > Thanks, > > Reuben
Aki Tuomi
2018-Aug-31 17:10 UTC
Dovecot User Listing Error - getpwent() failed: Invalid Argument
I'll see if this is reproducible ---Aki TuomiDovecot oy -------- Original message --------From: Reuben Farrelly <reuben-dovecot at reub.net> Date: 31/08/2018 17:41 (GMT+02:00) To: Aki Tuomi <aki.tuomi at dovecot.fi>, Dovecot Mailing List <dovecot at dovecot.org> Subject: Re: Dovecot User Listing Error - getpwent() failed: Invalid Argument Sure: https://www.reub.net/files/dovecot/lightning-dovecot.conf https://www.reub.net/files/dovecot/thunderstorm-dovecot.conf Updated nightly. Reuben On 1/09/2018 12:26 am, Aki Tuomi wrote:> Can you provide doveconf -n? > > > > --- > Aki Tuomi > Dovecot oy > > -------- Original message -------- > From: Reuben Farrelly <reuben-dovecot at reub.net> > Date: 31/08/2018 17:12 (GMT+02:00) > To: Aki Tuomi <aki.tuomi at dovecot.fi>, Dovecot Mailing List > <dovecot at dovecot.org> > Subject: Re: Dovecot User Listing Error - getpwent() failed: Invalid > Argument > > No.? Neither of those are installed on either system. > > Reuben > > On 1/09/2018 12:09 am, Aki Tuomi wrote: >? > Could apparmor or selinux be causing this! >? > >? > >? > >? > --- >? > Aki Tuomi >? > Dovecot oy >? > >? > -------- Original message -------- >? > From: Reuben Farrelly <reuben-dovecot at reub.net> >? > Date: 31/08/2018 16:50 (GMT+02:00) >? > To: Dovecot Mailing List <dovecot at dovecot.org> >? > Subject: Dovecot User Listing Error - getpwent() failed: Invalid Argument >? > >? > Hi, >? > >? > I'm running dovecot-2.3 git and seeing on 2 of my Dovecot installations, >? > the following message logged quite frequently: >? > >? > Aug 31 16:55:53 lightning.reub.net dovecot[7698]: auth-worker(7707): >? > Error: getpwent() failed: Invalid argument >? > Aug 31 16:55:53 lightning.reub.net dovecot[7698]: replicator: Error: >? > User listing returned failure >? > Aug 31 16:55:53 lightning.reub.net dovecot[7698]: replicator: Error: >? > listing users failed, can't replicate existing data >? > >? > It appears that this could be having an effect on replication, but it's >? > unclear because the secondary/replica doesn't see much traffic. >? > >? > Authentication is via PAM and the system is Gentoo Linux x86_64. passb >? > driver = pam, userdb driver = static . >? > >? > doveadm user -u '*' shows the system users listed twice like this (is >? > this a problem?) and then prints: >? > >? > ---- >? > reuben >? > liam >? > reuben >? > liam >? > <some other users> >? > Error: User listing returned failure >? > Fatal: user listing failed >? > ---- >? > >? > To me that doesn't look right. >? > >? > Can anyone suggest what could be causing this?? I don't recall seeing >? > this message some time ago so I suspect it's a recent change in either >? > dovecot, or pam or glibc etc.. >? > >? > Thanks, >? > Reuben-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180831/b3e4198f/attachment.html>
Reuben Farrelly
2018-Sep-19 06:39 UTC
Dovecot User Listing Error - getpwent() failed: Invalid Argument
Hi Aki, How did you go with this in the end? Do you need anything more from me or were you able to reproduce this? Thanks, Reuben On 1/09/2018 12:41 am, Reuben Farrelly wrote:> Sure: > > https://www.reub.net/files/dovecot/lightning-dovecot.conf > https://www.reub.net/files/dovecot/thunderstorm-dovecot.conf > > Updated nightly. > > Reuben > > > On 1/09/2018 12:26 am, Aki Tuomi wrote: >> Can you provide doveconf -n? >> >> >> >> --- >> Aki Tuomi >> Dovecot oy >> >> -------- Original message -------- >> From: Reuben Farrelly <reuben-dovecot at reub.net> >> Date: 31/08/2018 17:12 (GMT+02:00) >> To: Aki Tuomi <aki.tuomi at dovecot.fi>, Dovecot Mailing List >> <dovecot at dovecot.org> >> Subject: Re: Dovecot User Listing Error - getpwent() failed: Invalid >> Argument >> >> No.? Neither of those are installed on either system. >> >> Reuben >> >> On 1/09/2018 12:09 am, Aki Tuomi wrote: >> ?> Could apparmor or selinux be causing this! >> ?> >> ?> >> ?> >> ?> --- >> ?> Aki Tuomi >> ?> Dovecot oy >> ?> >> ?> -------- Original message -------- >> ?> From: Reuben Farrelly <reuben-dovecot at reub.net> >> ?> Date: 31/08/2018 16:50 (GMT+02:00) >> ?> To: Dovecot Mailing List <dovecot at dovecot.org> >> ?> Subject: Dovecot User Listing Error - getpwent() failed: Invalid >> Argument >> ?> >> ?> Hi, >> ?> >> ?> I'm running dovecot-2.3 git and seeing on 2 of my Dovecot >> installations, >> ?> the following message logged quite frequently: >> ?> >> ?> Aug 31 16:55:53 lightning.reub.net dovecot[7698]: auth-worker(7707): >> ?> Error: getpwent() failed: Invalid argument >> ?> Aug 31 16:55:53 lightning.reub.net dovecot[7698]: replicator: Error: >> ?> User listing returned failure >> ?> Aug 31 16:55:53 lightning.reub.net dovecot[7698]: replicator: Error: >> ?> listing users failed, can't replicate existing data >> ?> >> ?> It appears that this could be having an effect on replication, but >> it's >> ?> unclear because the secondary/replica doesn't see much traffic. >> ?> >> ?> Authentication is via PAM and the system is Gentoo Linux x86_64. passb >> ?> driver = pam, userdb driver = static . >> ?> >> ?> doveadm user -u '*' shows the system users listed twice like this (is >> ?> this a problem?) and then prints: >> ?> >> ?> ---- >> ?> reuben >> ?> liam >> ?> reuben >> ?> liam >> ?> <some other users> >> ?> Error: User listing returned failure >> ?> Fatal: user listing failed >> ?> ---- >> ?> >> ?> To me that doesn't look right. >> ?> >> ?> Can anyone suggest what could be causing this?? I don't recall seeing >> ?> this message some time ago so I suspect it's a recent change in either >> ?> dovecot, or pam or glibc etc.. >> ?> >> ?> Thanks, >> ?> Reuben
Aki Tuomi
2018-Sep-19 06:50 UTC
Dovecot User Listing Error - getpwent() failed: Invalid Argument
Which glibc version are you using? Aki On 19.09.2018 09:39, Reuben Farrelly wrote:> Hi Aki, > > How did you go with this in the end?? Do you need anything more from > me or were you able to reproduce this? > > Thanks, > Reuben > > On 1/09/2018 12:41 am, Reuben Farrelly wrote: >> Sure: >> >> https://www.reub.net/files/dovecot/lightning-dovecot.conf >> https://www.reub.net/files/dovecot/thunderstorm-dovecot.conf >> >> Updated nightly. >> >> Reuben >> >> >> On 1/09/2018 12:26 am, Aki Tuomi wrote: >>> Can you provide doveconf -n? >>> >>> >>> >>> --- >>> Aki Tuomi >>> Dovecot oy >>> >>> -------- Original message -------- >>> From: Reuben Farrelly <reuben-dovecot at reub.net> >>> Date: 31/08/2018 17:12 (GMT+02:00) >>> To: Aki Tuomi <aki.tuomi at dovecot.fi>, Dovecot Mailing List >>> <dovecot at dovecot.org> >>> Subject: Re: Dovecot User Listing Error - getpwent() failed: Invalid >>> Argument >>> >>> No.? Neither of those are installed on either system. >>> >>> Reuben >>> >>> On 1/09/2018 12:09 am, Aki Tuomi wrote: >>> ?> Could apparmor or selinux be causing this! >>> ?> >>> ?> >>> ?> >>> ?> --- >>> ?> Aki Tuomi >>> ?> Dovecot oy >>> ?> >>> ?> -------- Original message -------- >>> ?> From: Reuben Farrelly <reuben-dovecot at reub.net> >>> ?> Date: 31/08/2018 16:50 (GMT+02:00) >>> ?> To: Dovecot Mailing List <dovecot at dovecot.org> >>> ?> Subject: Dovecot User Listing Error - getpwent() failed: Invalid >>> Argument >>> ?> >>> ?> Hi, >>> ?> >>> ?> I'm running dovecot-2.3 git and seeing on 2 of my Dovecot >>> installations, >>> ?> the following message logged quite frequently: >>> ?> >>> ?> Aug 31 16:55:53 lightning.reub.net dovecot[7698]: auth-worker(7707): >>> ?> Error: getpwent() failed: Invalid argument >>> ?> Aug 31 16:55:53 lightning.reub.net dovecot[7698]: replicator: Error: >>> ?> User listing returned failure >>> ?> Aug 31 16:55:53 lightning.reub.net dovecot[7698]: replicator: Error: >>> ?> listing users failed, can't replicate existing data >>> ?> >>> ?> It appears that this could be having an effect on replication, >>> but it's >>> ?> unclear because the secondary/replica doesn't see much traffic. >>> ?> >>> ?> Authentication is via PAM and the system is Gentoo Linux x86_64. >>> passb >>> ?> driver = pam, userdb driver = static . >>> ?> >>> ?> doveadm user -u '*' shows the system users listed twice like this >>> (is >>> ?> this a problem?) and then prints: >>> ?> >>> ?> ---- >>> ?> reuben >>> ?> liam >>> ?> reuben >>> ?> liam >>> ?> <some other users> >>> ?> Error: User listing returned failure >>> ?> Fatal: user listing failed >>> ?> ---- >>> ?> >>> ?> To me that doesn't look right. >>> ?> >>> ?> Can anyone suggest what could be causing this?? I don't recall >>> seeing >>> ?> this message some time ago so I suspect it's a recent change in >>> either >>> ?> dovecot, or pam or glibc etc.. >>> ?> >>> ?> Thanks, >>> ?> Reuben
Reasonably Related Threads
- Dovecot User Listing Error - getpwent() failed: Invalid Argument
- Dovecot User Listing Error - getpwent() failed: Invalid Argument
- Dovecot User Listing Error - getpwent() failed: Invalid Argument
- Dovecot User Listing Error - getpwent() failed: Invalid Argument
- Dovecot User Listing Error - getpwent() failed: Invalid Argument