Project

General

Profile

Anomalie #6600

Problème testpatch.py

Added by Karim Ayari almost 10 years ago. Updated over 9 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
Due date:
03/21/2014
% Done:

100%

Estimated time:
1.00 h
Spent time:
Distribution:
EOLE 2.3

Description

depuis la mise à jour en RC et après reconfigure, notre patch spcl.options.patch est toujours valable alors que
le template n'existe plus. par contre j'ai bien un fichier /var/lib/creole/spcl.options.patch.rej

j'ai testé le script testpatch.py à la main http://cadol.es/paste/1995/


Related issues

Related to creole - Anomalie #6303: Patch et copie des templates non déclaré dans un template Fermé 10/21/2013 10/25/2013
Related to creole - Evolution #7675: Suppression des anciens templates de /var/lib/creole [2.4] Fermé 03/21/2014

Associated revisions

Revision f283e290 (diff)
Added by Joël Cuissinat over 9 years ago

Purge de /var/lib/creole avant de le remplir

Fixes #6600 @40m

History

#1 Updated by Fabrice Barconnière almost 10 years ago

  • Project changed from Amon to zephir-client
  • Status changed from Nouveau to Accepté
  • Target version set to Mises à jour 2.3.11

Mis pour la 2.3.11 si possible, sinon on repousse.

#2 Updated by Karim Ayari almost 10 years ago

en supprimant le fichier /var/lib/creole/spcl.options le testpatch fonctionne.

il faut prévoir la suppression du fichier templatisé en cas de présence du patch?

#3 Updated by Fabrice Barconnière almost 10 years ago

  • Target version changed from Mises à jour 2.3.11 to Mises à jour 2.3.12

#4 Updated by Laurent Flori over 9 years ago

  • Status changed from Accepté to En attente d'informations
  • Target version changed from Mises à jour 2.3.12 to Mises à jour 2.3.13

Pas de patch dans la demande, plus de trace dans le pastebin.

#5 Updated by Karim Ayari over 9 years ago

arff oui, mais le problème est facile à reproduire. suffit de créer un patch sur un fichier templatisé, l'appliquer et supprimer le template dans distrib/, reconfigurer et faire un testpatch

#6 Updated by Fabrice Barconnière over 9 years ago

  • Due date set to 03/21/2014
  • Estimated time set to 1.00 h

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

  • Assigned To set to Joël Cuissinat

Option n°1 : vider /var/lib/creole/ en début de reconfigure
Option n°2 : tester la présence de /usr/share/creole/distrib/<templatename>

#8 Updated by Joël Cuissinat over 9 years ago

<jojo2024> ça pourrait être bien de faire le ménage dans /var/lib/creole en début de reconfigure ?
<gnunux> oui tu peux normalement sans soucis

#9 Updated by Joël Cuissinat over 9 years ago

  • Project changed from zephir-client to creole

#10 Updated by Joël Cuissinat over 9 years ago

  • Status changed from En attente d'informations to Résolu
  • % Done changed from 0 to 100

#11 Updated by Joël Cuissinat over 9 years ago

  • Status changed from Résolu to Fermé

Déclaration d'un "<file name='/etc/test'>" + ajout dans distrib + création du patch + reconfigure + diagnose :

*** Patches
.                     patches => Ok

Suppression de la balise et du fichier dans distrib + reconfigure + diagnose :

*** Patches
.                     patches => Erreur
fichiers : test.patch

Also available in: Atom PDF