(found by Rixter)
The domain join tries to open the secrets database but fails if the private directory doesn't exist. It succeeds if the directory exists but the secrets database is missing.
Arguably the directory should always exist, but it would be nice if we could create it during a join rather than failing.
My 2ct: I'd rather see this in make install.
(In reply to comment #1)
> My 2ct: I'd rather see this in make install.
I agree; make install does create this directory at the moment.
In this particular case, ricky had blown away etc/ and private/. It seems like we could Just Do The Right thing in that case by creating the directory rather than failing. Not particularly important though.