Coda File System

Re: assert message

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Mon, 9 Oct 2000 15:26:41 -0400
On Mon, Oct 09, 2000 at 02:10:54PM -0500, Dan Gohman wrote:
> Hello codalist,
> 
> I was playing around with pdbtool with a test database. I
> was removing a user and a group owned by that user, and I
> deleted the user first, and then when I tried deleting the
> group, pdb exited with this message:
> 
> Assertion failed: p.id != 0, file "pdb.c", line 334
> VENUS IS EXITING! Bye!
> 
> This message was innacurate, because pdbtool had died and
> venus was still running.

The joy of code-reuse. I've made the coda_assert messages more
`application-neutral' now.

> venus was still running. Looking at the source, pdbtool
> wants to remove the group from the owner's list, but this
> is not possible as the owner no longer exists.

Ouch, if the owner is removed, who should become the owner the groups?
Or should the removal of a group-owner be denied until he has no groups
left. But there also is no way of changing the group owner to someone
else.

The pdbtool is missing a lot of useful functionality. Maybe this is one
area where Coda might profit from IBM opensourcing AFS. We might be able
to use their `pts' tool for our user/group administration.

Jan
Received on 2000-10-09 15:28:08