Commit c392c08d authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Temporary debugging hack. Save the exports file to /usr/testbed/log/exports

with a dated name. That way I can go back and look at the exports file
that was in use at the time it died, since it almost looks to me like
the exports file is messed up in some way that is not being caught by
mountd when it reads it.
parent ef5f403c
......@@ -296,6 +296,12 @@ close(MAP);
if (!$TESTMODE) {
$UID = 0;
# Temp Hack! Save a copy of the exports file for debugging.
my $backup = "$TB/log/exports/" . TBDateTimeFSSafe();
system("cp $exportstail $backup");
system("$SSH $PROG < $exportstail") == 0 or
fatal("Failed: $SSH $PROG < $exportstail: $?");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment