[request-tracker-maintainers] Fix for bug #985141

Andrew Ruthven andrew at etc.gen.nz
Sat Apr 10 12:24:43 BST 2021


Hey,

I've looked into #985141, the issue is that we run configure setting
the database type to pgsql, so RT uses 'postgres' as the default DBA
account.

I've pushed a fix to both request-tracker4 and 5 repos to include logic
in the generated 51-dbconfig-common.pm to specify a DBA user based on
the database engine used. pgsql or mysql, I didn't bother with SQLite
on the basis that it is unlikely to be used.

Now, this is only generated if dbconfig is being used. If it isn't,
then we can't apply this logic since we don't know the database engine
in use, or in which config file the user might set it.

Do we care about the non-dbconfig circumstance?

Cheers,
Andrew

-- 
Andrew Ruthven, Wellington, New Zealand
andrew at etc.gen.nz         |
Catalyst Cloud:           | This space intentionally left blank
 https://catalystcloud.nz |





More information about the pkg-request-tracker-maintainers mailing list