Coda File System

pdbtool Assertion failure?

From: Coda <coda_at_cedar.abhost.net>
Date: Thu, 19 Aug 1999 15:35:45 -0700 (PDT)
Here I go again, asking more questions...

After adding and deleting a bunch of users and groups via pdbtool (testing
scripts and such)  I seem to have broken it.

now, if I try to add a new user or group I get the following:

  pdbtool> nui testu 570
  Assertion failed: uid >= 0 && gid <= 0, file "pdbdb.c", line 181
  VENUS IS EXITTING! Bye!

  pdbtool> ng testg 500
  Assertion failed: uid >= 0 && gid <= 0, file "pdbdb.c", line 181
  VENUS IS EXITTING! Bye!


Below I've included a pdbtool> list in case it helps illuminate something.

I seee that USER jrs belongs to group -255 (one that has been deleted).
I've tried:

  pdbtool> rg -255 500
  Assertion failed: r.id != 0, file "pdb.c", line 84
  VENUS IS EXITTING! Bye!

  pdbtool> d 500
  Assertion failed: p.id != 0, file "pdb.c", line 252
  VENUS IS EXITTING! Bye!


What do I need to do to be able to use pdbtool again?


pdbtool> list
USER nobody
  *  id: 99
  *  belongs to no groups
  *  cps: [ 99 ]
  *  owns no groups
USER jrs
  *  id: 500
  *  belongs to groups: [ -255 -204 -1 ]
  *  cps: [ -204 -1 500 ]
  *  owns groups: [ -204 -1 ]
USER bert
  *  id: 501
  *  belongs to no groups
  *  cps: [ 501 ]
  *  owns no groups
USER jen
  *  id: 503
  *  belongs to no groups
  *  cps: [ 503 ]
  *  owns no groups
USER Anonymous
  *  id: 776
  *  belongs to no groups
  *  cps: [ 776 ]
  *  owns no groups
USER System
  *  id: 777
  *  belongs to groups: [ -101 ]
  *  cps: [ -101 777 ]
  *  owns groups: [ -101 ]
GROUP System:Administrators OWNED BY jrs
  *  id: -204
  *  owner id: 500
  *  belongs to no groups
  *  cps: [ -204 ]
  *  has members: [ 500 ]
GROUP System:AnyUser OWNED BY System
  *  id: -101
  *  owner id: 777
  *  belongs to no groups
  *  cps: [ -101 ]
  *  has members: [ 777 ]
GROUP Users OWNED BY jrs
  *  id: -1
  *  owner id: 500
  *  belongs to no groups
  *  cps: [ -1 ]
  *  has members: [ 500 ]
pdbtool> nui test 570
Assertion failed: uid >= 0 && gid <= 0, file "pdbdb.c", line 181
VENUS IS EXITTING! Bye!


-- Jonathan
Received on 1999-08-19 18:30:56