Hi (sorry for top posting)

I’m using Postgres, not SQLite. It uses the defaults set in settings.py . How I 
can tell is that the user trying to log in to postgres is what is set in 
settings.py, and *not* settings_local.py/mailman3-suite.py . I set different 
things (user, db, pswd) there. If it’s fixed, yay, and TY !

From: Jonas Meurer<mailto:jo...@freesources.org>
Sent: March 3, 2018 05:51
To: mar...@runout.at<mailto:mar...@runout.at>; 
891...@bugs.debian.org<mailto:891...@bugs.debian.org>; 
ericcotelnu+debian...@gmail.com<mailto:ericcotelnu+debian...@gmail.com>
Subject: Re: [Pkg-mailman-hackers] Bug#891703: DB user isn't read from 
setting_local (mailman3-suite.py in /etc)

Hi Markus, hi Eric,

I'm pretty sure that the bug you discovered is not that the DB settings
are read from wrong file (settings.py instead of settings_local.py).

Instead it's that the permssions for the SQLite database file were
wrong. The initial django-admin commands in the postinst maintainer
script were run by root, which is wrong.

I fixed this now in the mailman3-suite packaging Git repo and the fix
will be part of the next mailman3-suite upload.

Am 02.03.2018 um 01:07 schrieb Markus Gschwendt:
> as a sidenote:
> there are 2 .db files in that directory:

That's now fixed as well :)

Cheers,
jonas

[SNIP]

Reply via email to