]> git.michaelhowe.org Git - packages/o/openafs.git/commit
ptserver: Don't check for noauth before rebuilding
authorSimon Wilkinson <sxw@your-file-system.com>
Mon, 10 Oct 2011 21:09:40 +0000 (22:09 +0100)
committerDerrick Brashear <shadow@dementix.org>
Wed, 26 Oct 2011 22:41:52 +0000 (15:41 -0700)
commit9472bcb33ddbab25d7925c74a164376dc34a9661
treeb715a31027aae942e094a242ad56ded912db1c7a
parent121e5ca39367b44cab6a80aaece4559625aa428c
ptserver: Don't check for noauth before rebuilding

The ptserver database building scripts would check to see if the server
was running from a bosserver with the noauth flag set before performing
a database rebuild.

This means that you can't start ptserver normally, and then configure
the database using pts -localauth, which is the preferred method for
configuring new cells.

Remove the check for noauth. This is slightly risky, as it means that a
corrupt database could be completely erased upon restart. However, we
already check that the dbheader (65k) is entirely blank - which will
protect us against any single page corruption errors.

Reviewed-on: http://gerrit.openafs.org/5653
Tested-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit 7a4498850814ea524f55de0b84d6b0ae0b4834bb)

Change-Id: I95acbc980537d08a5a06541a75ec5af1ca5bbdd1
Reviewed-on: http://gerrit.openafs.org/5702
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
src/ptserver/ptutils.c