[krbdev.mit.edu #3218] kdb5_util load requires that the dumpfile be writable.
Ken Raeburn via RT
rt-comment at krbdev.mit.edu
Fri Oct 21 19:41:22 EDT 2005
On Oct 21, 2005, at 18:46, Alexandra Ellwood via RT wrote:
> The code responsible for this bug is in krb5/src/kadmin/dbutil/
> dump.c in load_db(). I believe
> the dumpfile is only being opened read/write so it can be locked.
> If the file is read-only you
> shouldn't need to lock it so this should not be a fatal error.
You would want to stop another process from modifying the file while
you're in the process of reading it. On a CD, it wouldn't be an
issue, but an NFS volume mounted read-only, or a file that's had
"chmod 600" run on it during the load process, would be another matter.
But I think we can get a shared lock with read-only access, so that
should be okay.
More information about the krb5-bugs
mailing list