[OpenAFS] RE: PTS oddity
Company Inbox
CCRE@ccre.com
Wed, 24 Aug 2005 13:21:48 -0600
PS:
$rxdebug localhost 7004
Trying 127.0.0.1 (port 7004):
Free packets: 532, packet reclaims: 0, calls: 13035, used FDs: 12
not waiting for packets.
0 calls waiting for a thread
13 threads are idle
Done.
$ rxdebug localhost 7004 -v
Trying 127.0.0.1 (port 7004):
AFS version: OpenAFS 1.4.0-rc1 built 2005-08-22
$ rxdebug localhost 7003 -v
Trying 127.0.0.1 (port 7003):
AFS version: OpenAFS 1.4.0-rc1 built 2005-08-22
$ rxdebug localhost 7002 -v
Trying 127.0.0.1 (port 7002):
AFS version: OpenAFS 1.4.0-rc1 built 2005-08-22
$
-----Original Message-----
From: Company Inbox [mailto:CCRE@ccre.com] On Behalf Of
CCRE@ccre.com
Sent: Wednesday, August 24, 2005 1:01 PM
To: 'openafs-info@openafs.org'
Subject: PTS oddity
pts creategroup doesn't handle surprises very well
In the output below I pts setmax to -20000 and then create
groups until I reach a group that already exists at -20010
pts cg chokes with "pts: Couldn't allocate an id for this
entry ; unable to create group kim:foo11 with id 0 owned by 'kim'"
It would be a lot more graceful if "next available" were
used instead of "groupmax -1"
Kim
=================================
Kim (Dexter) Kimball
CCRE, Inc.
kim<dott>kimball<att>jpl.nasa.gov
dhk<att>ccre.com
jplis-fil-krb03$ pts setmax -g -20000
jplis-fil-krb03$ pts cg kim:foo -o kim
group kim:foo has id -20001
jplis-fil-krb03$ pts cg kim:foo2 -o kim
group kim:foo2 has id -20002
jplis-fil-krb03$ pts cg kim:foo3 -o kim
group kim:foo3 has id -20003
jplis-fil-krb03$ pts cg kim:foo4 -o kim
group kim:foo4 has id -20004
jplis-fil-krb03$ pts cg kim:foo5 -o kim
group kim:foo5 has id -20005
jplis-fil-krb03$ pts cg kim:foo7 -o kim
group kim:foo7 has id -20006
jplis-fil-krb03$ pts exa -20010
Name: gp.mixed_20010, id: -20010, owner: usperson_10,
creator: itecadmin,
membership: 9, flags: S-M--, group quota: 0.
jplis-fil-krb03$ pts exa -20007
pts: User or group doesn't exist ; unable to find entry
for (id: -20007)
jplis-fil-krb03$ pts exa -20008
pts: User or group doesn't exist ; unable to find entry
for (id: -20008)
jplis-fil-krb03$ pts exa -20009
pts: User or group doesn't exist ; unable to find entry
for (id: -20009)
jplis-fil-krb03$
jplis-fil-krb03$ pts cg kim:foo8 -o kim
group kim:foo8 has id -20007
jplis-fil-krb03$ pts cg kim:foo9 -o kim
group kim:foo9 has id -20008
jplis-fil-krb03$ pts cg kim:foo10 -o kim
group kim:foo10 has id -20009
jplis-fil-krb03$ pts cg kim:foo11 -o kim
pts: Couldn't allocate an id for this entry ; unable to
create group kim:foo11 with id 0 owned by 'kim'