Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707756 - Account suddenly expired
Summary: Account suddenly expired
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Developer account issues (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-01 12:25 UTC by Andrew Savchenko
Modified: 2020-02-03 17:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2020-02-01 12:25:43 UTC
Hello!

Today I found that my shell access to dev.gentoo.org and mail access via pop3/smtp is blocked due to "expired account" by an unknown entity.

I find this the utter and absolutely unacceptable abuse of power. I made no misuse of these services and there is no valid reason to block my access to them.

I demand the full access to be restored and an entity responsible for such atrocity to be taken liable for this action.
Comment 1 Andreas Sturmlechner gentoo-dev 2020-02-01 12:30:38 UTC
Strong words, but you will, just like everyone else, be able to wait until it is fixed by infra.
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2020-02-01 12:57:26 UTC
(In reply to Andrew Savchenko from comment #0)
> Hello!
> 
> Today I found that my shell access to dev.gentoo.org and mail access via
> pop3/smtp is blocked due to "expired account" by an unknown entity.
> 
> I find this the utter and absolutely unacceptable abuse of power. I made no
> misuse of these services and there is no valid reason to block my access to
> them.
> 
> I demand the full access to be restored and an entity responsible for such
> atrocity to be taken liable for this action.

On #gentoo-council-private people point out it's a widespread problem across gentoo dev accounts. Probably just an infrastructure failure and not and explicit action against you.
Comment 3 Andrew Savchenko gentoo-dev 2020-02-01 13:10:46 UTC
Okay, looks like I overreacted. My apologies.

But the timing is really bad since just yesterday evening I received a personal threat from one person linked with the infra team member to limit my access due to disagreements we have.
Comment 4 Alec Warner (RETIRED) archtester gentoo-dev Security 2020-02-01 15:45:46 UTC
To confirm this is some kind of PAM related issues on woodpecker affecting dozens of developers.

-A
Comment 5 Alec Warner (RETIRED) archtester gentoo-dev Security 2020-02-01 15:51:18 UTC
Our current suspicion is that a number of developers have shadowExpire set on their ldap records and this is causing PAM to reject any logins for those users.

The plan is to drop shadowExpire from their records and restart nscd and sasl to fix authentication.

-A
Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2020-02-01 22:02:40 UTC
This is fixed now.
Comment 7 Alec Warner (RETIRED) archtester gentoo-dev Security 2020-02-01 23:33:54 UTC
(In reply to Jorge Manuel B. S. Vicetto from comment #6)
> This is fixed now.

Just pasting what Robin wrote IRC as to the root cause.

In 2012 we set perl_ldap to set ShadowExpire to Jan 2020. For developers onboarded after 2012, this would set their accounts to all expire around this time. This is why only a subset of developers were affected.

Note that in the past shadowexpire was a required LDAP attribute (but is no longer) and so it had to be set to something; hence setting it to a date 'far in the future' like 2020 ;) We still use shadowexpire for temporary accounts (like GSOC students) but not for developer accounts.

-A
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-02-03 17:12:42 UTC
(In reply to Alec Warner from comment #7)
> (In reply to Jorge Manuel B. S. Vicetto from comment #6)
> > This is fixed now.
> 
> Just pasting what Robin wrote IRC as to the root cause.
> 
> In 2012 we set perl_ldap to set ShadowExpire to Jan 2020. For developers
> onboarded after 2012, this would set their accounts to all expire around
> this time. This is why only a subset of developers were affected.
> 
> Note that in the past shadowexpire was a required LDAP attribute (but is no
> longer) and so it had to be set to something; hence setting it to a date
> 'far in the future' like 2020 ;) We still use shadowexpire for temporary
> accounts (like GSOC students) but not for developer accounts.
A part was missed here:

The FIRST version of perl_ldap that infra has in version control, at which point it was already a well-baked script, but not version-tracked, dating to 2006, already used shadowExpire, and this caused an outage in 2012 because that was the hardcoded default value. At that point the hardcoded value was bumped to 2020/02/01, which triggered this bug.

It's not a required attribute anymore, and default value will be removed in perl_ldap.