Project

General

Profile

Tâche #34018

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

Added by Daniel Dehennin about 2 years ago. Updated almost 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
04/05/2022
Due date:
% Done:

100%

Remaining (hours):
0.0

Related issues

Related to Distribution EOLE - Tâche #34082: Corriger l'erreur /var/lib/dpkg/info/eole-workstation-manager-salt.postinst: 43: [[: not found Fermé 04/19/2022
Copied to 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 10/01/2022 01/01/2024

Associated revisions

Revision 70ce904d (diff)
Added by Daniel Dehennin about 2 years ago

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

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

Ref: #34017

Revision 155807ef (diff)
Added by Daniel Dehennin about 2 years ago

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

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

Ref: #34018

Revision 8e1e95a7 (diff)
Added by Daniel Dehennin about 2 years ago

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

Revision 71add802 (diff)
Added by Daniel Dehennin about 2 years ago

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

Revision 41f75de9 (diff)
Added by Daniel Dehennin about 2 years ago

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

Revision 7044217a (diff)
Added by Daniel Dehennin about 2 years ago

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

Revision 29b5b32a (diff)
Added by Daniel Dehennin about 2 years ago

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

Revision c7a12538 (diff)
Added by Daniel Dehennin about 2 years ago

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

Revision 592fda2c (diff)
Added by Joël Cuissinat almost 2 years ago

Update salt pki path for Bareos backup

Ref: #34105
Ref: #34018

History

#1 Updated by Daniel Dehennin about 2 years ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Daniel Dehennin

#2 Updated by Daniel Dehennin about 2 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

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

  • 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 Updated by Joël Cuissinat almost 2 years ago

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 Updated by Joël Cuissinat almost 2 years ago

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

#6 Updated by Joël Cuissinat almost 2 years ago

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

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

#7 Updated by Joël Cuissinat almost 2 years ago

  • Related to Tâche #34082: Corriger l'erreur /var/lib/dpkg/info/eole-workstation-manager-salt.postinst: 43: [[: not found added

Also available in: Atom PDF