9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] keyfs warnings
@ 2007-05-01 12:56 Christian Kellermann
  2007-05-01 13:13 ` erik quanstrom
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Kellermann @ 2007-05-01 12:56 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 1173 bytes --]

Dear list,

I have done some more reading through documentations after my last
post to this list about the strange loss if user login data on my
auth server.

I am now able to pin down the problem to keyfs. I have started over
by

- overwriting my nvram with bla
- truncating the /adm/keys file with echo '' > /adm/keys
- rebooting, filling in password and secstore phrase
- killing keyfs
- starting auth/keyfs on the server console
- creating new keys with auth/changeuser for bootes and another user
- rebooting

After that I am able to log in as bootes but not the other user (the
user is present on the fossil filesystem)

When I now kill/restart keyfs on the server keyfs prints the
following warnings:
% auth/keyfs
keyfs: warning: bad status in key file
keyfs: warning: bad status in key file
keyfs: warning: bad status in key file
4 keys read

1. Shouldn't there be only 2 keys as I have added 2 users?
2. When trying to auth/debug the user login still fails
3. lc /mnt/keys displays garbage

Any hints?

Yours,

Christian

-- 
You may use my gpg key for replies:
pub  1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)

[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-05-01 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-01 12:56 [9fans] keyfs warnings Christian Kellermann
2007-05-01 13:13 ` erik quanstrom
2007-05-01 15:17   ` Christian Kellermann
2007-05-01 15:19     ` C H Forsyth
2007-05-01 15:39       ` Christian Kellermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).