Project

General

Profile

Tâche #18899

Scénario #18693: Traitement express MEN (4-6)

Apache écoute toujours sur les ports 80 et 443 lorsqu’il est désactivé et que sympa est actif

Added by Daniel Dehennin over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
01/27/2017
Due date:
% Done:

100%

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

Description

Pour reproduire le problème :

  • démarrer un scribe etb1
  • désactiver apache
    CreoleSet activer_apache non
    
  • Reconfigurer
    reconfigure
    
  • Vérifier la présence d’apache sur les ports 80 et 443
    netstat -lpn | grep apache
    

Le problème vient du template eole-web:source:/tmp/ports.conf@db1ff99 qui n’est pas conditionné sur l’activation d’apache

Associated revisions

Revision 05e66cd5 (diff)
Added by Laurent Flori over 6 years ago

Le template ports.conf est conditionné à l'activation d'apache

ref: #18899 @20min

Revision 27a5c134 (diff)
Added by Laurent Flori over 6 years ago

Désactivation du template apache si activer_apache est non

ref: #18899 @30min

Si apache est désactivé, le template de configuration de sympa ne devrait pas être actif

Revision 719a9435 (diff)
Added by Laurent Flori over 6 years ago

Réactivation du vhost sympa pour apache2 meme si activer_apache est non

ref: #18899 @10min

Revision d948b699 (diff)
Added by Laurent Flori over 6 years ago

Correction typo dans le template ports.conf

ref: #18899 @10min

La variabel s'appelle activer_apache et non activer_appache

Revision ccd4ae08 (diff)
Added by Laurent Flori over 6 years ago

Suppression de l'attribut filelist pour le fichier ports.conf d'apache2

ref: #18899 @30min

On supprime l'attribut filelist pour le fichier ports.conf
pour que celui ci soit régénéré à chaque fois

History

#1 Updated by Laurent Flori over 6 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Laurent Flori over 6 years ago

  • Assigned To set to Laurent Flori

#3 Updated by Laurent Flori over 6 years ago

  • Remaining (hours) changed from 2.0 to 0.5

#4 Updated by Laurent Flori over 6 years ago

  • Status changed from En cours to Résolu

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

  • % Done changed from 0 to 100

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

  • Project changed from Distribution EOLE to Services

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

Ajout du test squash (Eolebase + eole-web) : WEB-004 - Gestion des accès réseau pour Apache

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

  • Status changed from Résolu to En cours

La correction n'est pas suffisante car le fichier cible n'est pas mis à jour du fait de la filelist : https://dev-eole.ac-dijon.fr/projects/eole-web/repository/revisions/master/entry/dicos/20_web.xml#L25

#9 Updated by Laurent Flori over 6 years ago

  • Project changed from Services to Distribution EOLE
  • Status changed from En cours to Résolu

#10 Updated by Daniel Dehennin over 6 years ago

  • Remaining (hours) changed from 0.5 to 0.0

#11 Updated by Daniel Dehennin over 6 years ago

root@scribe:~# CreoleGet activer_apache
non

root@scribe:~# CreoleGet activer_sympa
oui

root@scribe:~# netstat -lpn | grep apache
tcp        0      0 10.1.3.5:8787           0.0.0.0:*               LISTEN      4123/apache2    
tcp        0      0 10.1.3.5:8888           0.0.0.0:*               LISTEN      4123/apache2    

#12 Updated by Daniel Dehennin over 6 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF