[Pkg-mailman-hackers] Bug#891703: Bug#891703: DB user isn't read from setting_local (mailman3-suite.py in /etc)

Eric Côté ericcotelnu at gmail.com
Sat Mar 3 11:38:08 UTC 2018



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:jonas at freesources.org>
Sent: March 3, 2018 05:51
To: markus at runout.at<mailto:markus at runout.at>; 891703 at bugs.debian.org<mailto:891703 at bugs.debian.org>; ericcotelnu+DebianBTS at gmail.com<mailto:ericcotelnu+DebianBTS at 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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-mailman-hackers/attachments/20180303/f4c79700/attachment.html>


More information about the Pkg-mailman-hackers mailing list