Bug #13718
plugins lost after reload
0%
Description
After reloading authentic the FranceConnect plugin doesn't appear anymore; it's back after a proper restart. (noted in #13676)
Demandes liées
Historique
Mis à jour par Benjamin Dauvergne il y a plus de 7 ans
It looks like a problem with the setting loader from hobo, as the A2_FC_ENABLE
setting is coming from there.
Mis à jour par Frédéric Péters il y a environ 7 ans
When it occurs, AUTH_FRONTENDS doesn't contain authentic2_auth_fc:
- authentic2.auth_frontends.LoginPasswordBackend - authentic2_auth_oidc.auth_frontends.OIDCFrontend - authentic2_auth_saml.auth_frontends.SAMLFrontend - authentic2.auth2_auth.auth2_ssl.frontends.SSLFrontend
Mis à jour par Benjamin Dauvergne il y a environ 7 ans
authentic2-auth-fc was last upgraded on 2016-12-15 and 2017-01-05 on the montpellier production server. It is my hypothesis that it could break the call pkg_resources.iter_entry_points('authentic2.plugin') used to retrieve the list of authentic2 plugins when a reload is done after that.
PS: I just tried apt install --reinstall python-authentic2-auth-fc
followed by servier authentic2-multitenant reload
, it did nothing :/
Mis à jour par Benjamin Dauvergne il y a presque 6 ans
- Lié à Development #22865: Ne plus utiliser pkg_resources pour charger les applications incluses dans authentic ajouté
Mis à jour par Frédéric Péters il y a 10 mois
- Statut changé de Nouveau à Fermé
- Planning mis à Non
Ça ne doit plus arriver après la suppression de l'utilisation de pkg_resources (#22865).