Projet

Général

Profil

Tâche #34018

Déplacer le répertoire pki lors des mises à jour depuis le paquet Ubuntu

Ajouté par Daniel Dehennin il y a environ 2 ans. Mis à jour il y a presque 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
05/04/2022
Echéance:
% réalisé:

100%

Restant à faire (heures):
0.0

Demandes liées

Lié à Distribution EOLE - Tâche #34082: Corriger l'erreur /var/lib/dpkg/info/eole-workstation-manager-salt.postinst: 43: [[: not found Fermé 19/04/2022
Copié vers Distribution EOLE - Scénario #34106: EOLE 2.9 : Fournir un nouveau paquet salt et vérifier l'emplacement de la pki utilisée par eole-workstation Nouveau 01/10/2022 01/01/2024

Révisions associées

Révision 70ce904d (diff)
Ajouté par Daniel Dehennin il y a environ 2 ans

feat(debian/postinst): move salt pki directory when required

The salt pki directory must be moved when upgrading from Ubuntu
package.

Ref: #34017

Révision 155807ef (diff)
Ajouté par Daniel Dehennin il y a environ 2 ans

feat(debian/postinst): move salt pki directory when required

The salt pki directory must be moved when upgrading from Ubuntu
package.

Ref: #34018

Révision 8e1e95a7 (diff)
Ajouté par Daniel Dehennin il y a environ 2 ans

feat(debian/postinst): move salt pki directory when required

The salt pki directory must be moved when upgrading from Ubuntu
package.

Cherry-pick for 2.8.0 from 70ce904

Ref: #34018

Révision 71add802 (diff)
Ajouté par Daniel Dehennin il y a environ 2 ans

feat(debian/postinst): move salt pki directory when required

The salt pki directory must be moved when upgrading from Ubuntu
package.

Cherry-pick for 2.8.1 from 70ce904

Ref: #34018

Révision 41f75de9 (diff)
Ajouté par Daniel Dehennin il y a environ 2 ans

feat(debian/postinst): move salt pki directory when required

The salt pki directory must be moved when upgrading from Ubuntu
package.

Cherry-pick for 2.9.0 from 70ce904

Ref: #34018

Révision 7044217a (diff)
Ajouté par Daniel Dehennin il y a environ 2 ans

feat(debian/postinst): move salt pki directory when required

The salt pki directory must be moved when upgrading from Ubuntu
package.

Cherry-pick for 2.8.1 from 155807e

Ref: #34018

Révision 29b5b32a (diff)
Ajouté par Daniel Dehennin il y a environ 2 ans

feat(debian/postinst): move salt pki directory when required

The salt pki directory must be moved when upgrading from Ubuntu
package.

Cherry-pick for 2.8.1 from 155807e

Ref: #34018

Révision c7a12538 (diff)
Ajouté par Daniel Dehennin il y a environ 2 ans

feat(debian/postinst): move salt pki directory when required

The salt pki directory must be moved when upgrading from Ubuntu
package.

Cherry-pick for 2.9.0 from 155807e

Ref: #34018

Révision 592fda2c (diff)
Ajouté par Joël Cuissinat il y a presque 2 ans

Update salt pki path for Bareos backup

Ref: #34105
Ref: #34018

Historique

#1 Mis à jour par Daniel Dehennin il y a environ 2 ans

  • Statut changé de Nouveau à En cours
  • Assigné à mis à Daniel Dehennin

#2 Mis à jour par Daniel Dehennin il y a environ 2 ans

  • Statut changé de En cours à Résolu
  • % réalisé changé de 0 à 100

#3 Mis à jour par Joël Cuissinat il y a presque 2 ans

  • aca.eolebase-2.7.2 ("fi")
  • Maj-Auto ("stable") → salt-master 2017.7.4+dfsg1-1ubuntu18.04.2
  • instance
    root@eolebase:~# ls /etc/salt/pki /var/lib/salt/pki 
    ls: impossible d'accéder à '/etc/salt/pki': Aucun fichier ou dossier de ce type
    /var/lib/salt/pki:
    master
    
  • touch /var/lib/salt/pki/old
  • Maj-Auto -C -S test-eole.ac-dijon.fr → salt-master 3004.1+ds-1
    root@eolebase:~# ls /etc/salt/pki /var/lib/salt/pki 
    /etc/salt/pki:
    master old
    
    /var/lib/salt/pki:
    master
    

Le "move" a bien été réalisé mais un dossier vide /var/lib/salt/pki/master

#4 Mis à jour par Joël Cuissinat il y a presque 2 ans

C'est le service salt-master-ead3 qui crée cette arborescence :

root@eolebase:~# systemctl stop salt-master-ead3.service 
root@eolebase:~# rm -rf /var/lib/salt/pki 
root@eolebase:~# ls /var/lib/salt/pki 
ls: impossible d'accéder à '/var/lib/salt/pki': Aucun fichier ou dossier de ce type
root@eolebase:~# systemctl start salt-master-ead3.service 
root@eolebase:~# ls /var/lib/salt/pki 
master

#5 Mis à jour par Joël Cuissinat il y a presque 2 ans

  • Copié vers Scénario #34106: EOLE 2.9 : Fournir un nouveau paquet salt et vérifier l'emplacement de la pki utilisée par eole-workstation ajouté

#6 Mis à jour par Joël Cuissinat il y a presque 2 ans

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) mis à 0.0

Du coup, c'est fonctionnel mais ce n'était pas nécessaire dans le cadre de EWT ;)

#7 Mis à jour par Joël Cuissinat il y a presque 2 ans

  • Lié à Tâche #34082: Corriger l'erreur /var/lib/dpkg/info/eole-workstation-manager-salt.postinst: 43: [[: not found ajouté

Formats disponibles : Atom PDF