Project

General

Profile

Tâche #26805

Scénario #26911: Traitement express MEN (08-09)

Rétroportage sur 2.6.2 nécessaire pour le changement de méthode d’authentification MySQL

Added by Benjamin Bohard about 2 years ago. Updated about 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
02/11/2019
Due date:
% Done:

100%

Spent time:
Remaining (hours):
0.0

Description

Le changement de plugin d’authentification n’a été effectué qu’en 2.7.0 mais dès le second reconfigure (après un premier changement fructueux), on tombe sur une erreur de syntaxe bash lors de l’exécution de /usr/share/eole/postservice/00-mysql-native-password:

usr/share/eole/postservice/00-mysql-native-password: ligne 6 : [: = : opérateur unaire attendu


Related issues

Related to Distribution EOLE - Tâche #24714: Mise en place du patch Fermé 08/27/2018

Associated revisions

Revision 402f13ee (diff)
Added by Laurent Flori about 2 years ago

Protect variable with quotes

ref: #24714

Cherry-picked from eole-mysql:e89a674b for EOLE 2.6.2

ref: #26805

History

#1 Updated by Benjamin Bohard about 2 years ago

#2 Updated by Joël Cuissinat about 2 years ago

  • Parent task set to #26618

#3 Updated by Joël Cuissinat about 2 years ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Joël Cuissinat
Je confirme :
  • aca.eolebase-2.6.2.1-instance-default
  • apt-eole install eole-mysql
  • reconfigure #1
    run-parts: executing /usr/share/eole/postservice/00-mysql-native-password reconfigure
    Modification du plugin d'authentification pour l'utilisateur root
    
  • reconfigure #2
    run-parts: executing /usr/share/eole/postservice/00-mysql-native-password reconfigure
    /usr/share/eole/postservice/00-mysql-native-password: ligne 6 : [: = : opérateur unaire attendu
    

#4 Updated by Joël Cuissinat about 2 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100
  • Parent task changed from #26618 to #26911

#5 Updated by Fabrice Barconnière about 2 years ago

  • reconfigure N°1
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                  Exécution des scripts postservice                                                                               
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    run-parts: executing /usr/share/eole/postservice/00-actions reconfigure
    run-parts: executing /usr/share/eole/postservice/00-eole-common reconfigure
    run-parts: executing /usr/share/eole/postservice/00-letsencrypt reconfigure
    run-parts: executing /usr/share/eole/postservice/00-mysql-native-password reconfigure
    run-parts: executing /usr/share/eole/postservice/99-check-console-setup reconfigure
    
  • reconfigure N°2
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                  Exécution des scripts postservice                                                                               
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    run-parts: executing /usr/share/eole/postservice/00-actions reconfigure
    run-parts: executing /usr/share/eole/postservice/00-eole-common reconfigure
    run-parts: executing /usr/share/eole/postservice/00-letsencrypt reconfigure
    run-parts: executing /usr/share/eole/postservice/00-mysql-native-password reconfigure
    run-parts: executing /usr/share/eole/postservice/99-check-console-setup reconfigure
    

#6 Updated by Fabrice Barconnière about 2 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

Also available in: Atom PDF