Project

General

Profile

Tâche #14608

Scénario #14532: Finaliser les scripts Upgrade-Auto/Maj-Release vers 2.5.1

Diagnose signale que le script d'init winbind n'est pas à jour après Upgrade-Auto sur Amon

Added by Joël Cuissinat over 7 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
01/12/2016
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Remaining (hours):
0.0

Description

Après avoir effectué toutes les étapes pour migrer mon Amon 2.4.2 en 2.5.1, le diagnose signale :

*** Scripts d'init pas à jour
-  winbind
*** Logrotate (fichiers pris en charge par rsyslog)

NB : le pb de saut de ligne sera fixé sur 2.5.2

Cette erreur est remontée car un fichier /etc/init.d/winbind.dpkg-dist est présent.
Le script de migration n'écrase pas les scripts d'init modifiés, hors, il y avait un "sed" dans le script pretemplate/00-proxy de la 2.4.2 :

jojo@jojo-MS-B09611:~/git/eole-proxy$ rgrep init.d/winbind *
pretemplate/00-proxy:sed -i 's/chgrp winbindd_priv/chgrp proxy/g' "$container_path_proxy/etc/init.d/winbind" 

Associated revisions

Revision 8109b102 (diff)
Added by Joël Cuissinat over 7 years ago

Correction cosmétique sur diagnose "Scripts d'init"

  • diagnose/05-common : correction du test d'ajout du saut de ligne

Ref: #14608 @10m

Revision d31a0fd4 (diff)
Added by Joël Cuissinat over 7 years ago

Upgrade : utilisation du script d'init du paquet winbind

  • upgrade/post_upgrade/01-amon : remplacement du script modifié par eole-proxy

Ref #14608 @1h

History

#1 Updated by Joël Cuissinat over 7 years ago

  • Parent task set to #14532

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

  • Status changed from Nouveau to En cours

#3 Updated by Joël Cuissinat over 7 years ago

  • Description updated (diff)
  • Assigned To set to Joël Cuissinat

#4 Updated by Joël Cuissinat over 7 years ago

  • Remaining (hours) changed from 2.0 to 0.25

#5 Updated by Joël Cuissinat over 7 years ago

  • % Done changed from 0 to 100

#6 Updated by Scrum Master over 7 years ago

  • Status changed from En cours to Résolu

#7 Updated by Emmanuel GARETTE over 7 years ago

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

Avant upgrade :

root@amonecole:~# ls -alh /opt/lxc/*/rootfs/etc/init.d/*winbind*
-rwxr-xr-x 1 root root 1,4K janv. 18 17:06 /opt/lxc/internet/rootfs/etc/init.d/winbind
-rwxr-xr-x 1 root root 1,4K juin   8  2012 /opt/lxc/partage/rootfs/etc/init.d/winbind

Pendant l'Upgrade :

root@amonecole:~# ls -alh /opt/lxc/*/rootfs/etc/init.d/*winbind*
-rwxr-xr-x 1 root root 1,4K janv. 18 17:06 /opt/lxc/internet/rootfs/etc/init.d/winbind
-rwxr-xr-x 1 root root 1,4K juin   8  2012 /opt/lxc/partage/rootfs/etc/init.d/winbind
-rwxr-xr-x 1 root root 1,7K avril  1  2014 /opt/lxc/partage/rootfs/etc/init.d/winbind.dpkg-new

Après l'Upgrade :

root@amonecole:~# ls -alh /opt/lxc/*/rootfs/etc/init.d/*winbind*
-rwxr-xr-x 1 root root 1,7K avril  1  2014 /opt/lxc/internet/rootfs/etc/init.d/winbind
-rwxr-xr-x 1 root root 1,7K avril  1  2014 /opt/lxc/partage/rootfs/etc/init.d/winbind

Pour moi c'est OK.

Also available in: Atom PDF