Project

General

Profile

Anomalie #7777

diagnose, erreur quand parefeu désactivé

Added by Klaas TJEBBES over 9 years ago. Updated over 9 years ago.

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

100%

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

Description

root - Creole error 1: trying to access to an option named: ssh_eth0 with properties ['disabled']
root - Creole error 1: trying to access to an option named: admin_eth0 with properties ['disabled']
Sur l'interface réseau eth0
/usr/share/eole/diagnose/04-network: line 94: [: =: unary operator expected
. SSH => Désactivé
/usr/share/eole/diagnose/04-network: line 99: [: =: unary operator expected
. EAD Web => Désactivé


Related issues

Related to zephir-client - Bac à idée #4080: état des règles Amon Fermé 09/17/2012

Associated revisions

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

diagnose/04-network : prise en compte du firewall

Fixes: #7777 @40m

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

diagnose.sh : ajout d'un test pour le firewall

Ref #7777 @15m

History

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

  • Due date set to 04/04/2014
  • Status changed from Nouveau to Accepté
  • Assigned To set to Joël Cuissinat
  • Target version set to Eole 2.4-RC3
  • Estimated time set to 1.00 h

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

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

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

J'ai ajouté un test diagnose qui réagit de la façon suivante :
  • activer_firewall=non : orange
  • activer_firewall=oui et règles en place : vert
  • activer_firewall=oui sans les règles (ie : ouvre.firewall) : rouge

#4 Updated by Emmanuel GARETTE over 9 years ago

OK :

root@scribe:~# CreoleGet activer_firewall
oui
root@scribe:~# /usr/share/eole/diagnose/04-network
[...]
.                    Pare-feu => Ok
[...]
root@scribe:~# CreoleSet activer_firewall non
root@scribe:~# /usr/share/eole/diagnose/04-network
[...]
.                    Pare-feu => Désactivé
[...]
root@scribe:~# CreoleSet --default activer_firewall
root@scribe:~# ouvre.firewall 
root@scribe:~# /usr/share/eole/diagnose/04-network
.                    Pare-feu => Erreur

Sur Amon :

root@amon:~# /usr/share/eole/diagnose/04-network
[...]
.                    Pare-feu => Ok
[...]
root@amon:~# ouvre.firewall 
root@amon:~# /usr/share/eole/diagnose/04-network
[...]
.                    Pare-feu => Erreur
[...]

#5 Updated by Emmanuel GARETTE over 9 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF