[OpenAFS] pts max user id is 2147483647

Benjamin Kaduk kaduk@MIT.EDU
Tue, 30 Sep 2014 12:35:22 -0400 (EDT)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---559023410-2392379-1412094922=:17516
Content-Type: TEXT/PLAIN; charset=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Tue, 30 Sep 2014, Dan Van Der Ster wrote:

> Hi all,
> Today when I attempt to create an IP user I get a DB inconsistent error:
>
> # pts createuser 188.184.140.136
> pts: database is inconsistent ; unable to create user 188.184.140.136
>
> Then I noticed that our max user id is currently 2^31-1:
>
> # pts listmax
> Max user id is 2147483647 and max group id is -111717.
>
> And excuse my ignorance but according to this thread:
>   https://www.mail-archive.com/openafs-info@openafs.org/msg37254.html
> =E2=80=9Cpts maxid is just a number that would be better called nextid"
>
> The workaround described for this issue would be to
>   pts setmax 1000000
>
> which would let pts createuser find some unused IDs for new IP users.
>
> Does this all sound reasonable?

Yes.

-Ben
---559023410-2392379-1412094922=:17516--