https://bugs.contribs.org/show_bug.cgi?id=9720

--- Comment #3 from John Crisp <[email protected]> ---
(In reply to John Crisp from comment #2)
> OK, I get the problem now, but not the solution :-)
> 
> So if you don't run initialize-default-databases the password does not get
> created, and then neither does the DB.
> 
> Is there anything to stop a key being created from the spec file without the
> need for the initialize-default-databases ?
> 
> We could remove the line, and add the password creation to the spec file ?
> 


Just looking at this some more.

Perhaps I could add check for the DB in the runmysqlbackup script.

The script needs recoding anyway as it has hard coded chown/chmods even though
it is possible to save to a different directory.

I am thinking:

Install

post-upgrade to init the db keys

Check in runmysqlbackup to see if there is a db and if not then create it with
the new db keys

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to