Project

General

Profile

Anomalie #8535

Le service ipsec est toujours présent dans les rc*

Added by Fabrice Barconnière almost 6 years ago. Updated over 5 years ago.

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

100%

Spent time:
Distribution:
Toutes

Associated revisions

Revision c40d0615 (diff)
Added by Fabrice Barconnière almost 6 years ago

Suppression du service ipsec de rc*.d quel que soit le module ref #8535
@30m

Revision 6865347e (diff)
Added by Fabrice Barconnière almost 6 years ago

posttemplate/00-rvp : correction du test du lien "S*ipsec" ref #8535
@10m

Revision a973844c (diff)
Added by Joël Cuissinat almost 6 years ago

Correction associé à la configuration du RVP

Fixes #8535 @20m

Revision 91ab66b0 (diff)
Added by Joël Cuissinat almost 6 years ago

Correction associé à la configuration du RVP (2.3)

Fixes #8535 @20m

History

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

  • Due date set to 07/04/2014
  • Status changed from Nouveau to A étudier
  • Target version set to Eole 2.4.0.1
  • Distribution changed from EOLE 2.3 to EOLE 2.4

ipsec est toujours présent à partir de rc2.d alors qu'il devrait être supprimé en postinst du paquet.
Une réinstallation du paquet le supprime bien. Cela provient peut-être de l'installation de l'iso.

ls /etc/rc*.d/
/etc/rc0.d/:
K18freeradius    K20ead-web    K20gunicorn       K20z_stats    K85bind9         S35networking
K19bastion       K20eoleflask  K20nginx          K21rng-tools  README           S40umountfs
K20creoled       K20eole-sso   K20ntp            K30squid3     S20sendsigs      S60umountroot
K20dansguardian  K20exim4      K20openbsd-inetd  K80qoseole    S30urandom       S90halt
K20ead-server    K20gpm        K20vnstat         K84ipsec      S31umountnfs.sh

/etc/rc1.d/:
K18freeradius    K20ead-server  K20exim4     K20ntp            K21rng-tools  README        S90single
K19bastion       K20ead-web     K20gpm       K20openbsd-inetd  K30squid3     S30killprocs
K20creoled       K20eoleflask   K20gunicorn  K20vnstat         K84ipsec      S70dns-clean
K20dansguardian  K20eole-sso    K20nginx     K20z_stats        K85bind9      S70pppd-dns

/etc/rc2.d/:
README        S20dansguardian  S20exim4     S20openbsd-inetd  S50rsync      S99grub-common
S15bind9      S20ead-server    S20gpm       S20vnstat         S70dns-clean  S99ondemand
S16ipsec      S20ead-web       S20gunicorn  S20z_stats        S70pppd-dns   S99rc.local
S19rng-tools  S20eoleflask     S20nginx     S22freeradius     S75sudo
S20creoled    S20eole-sso      S20ntp       S30squid3         S90bastion

/etc/rc3.d/:
README        S20dansguardian  S20exim4     S20openbsd-inetd  S50rsync      S99grub-common
S15bind9      S20ead-server    S20gpm       S20vnstat         S70dns-clean  S99ondemand
S16ipsec      S20ead-web       S20gunicorn  S20z_stats        S70pppd-dns   S99rc.local
S19rng-tools  S20eoleflask     S20nginx     S22freeradius     S75sudo
S20creoled    S20eole-sso      S20ntp       S30squid3         S90bastion

/etc/rc4.d/:
README        S20dansguardian  S20exim4     S20openbsd-inetd  S50rsync      S99grub-common
S15bind9      S20ead-server    S20gpm       S20vnstat         S70dns-clean  S99ondemand
S16ipsec      S20ead-web       S20gunicorn  S20z_stats        S70pppd-dns   S99rc.local
S19rng-tools  S20eoleflask     S20nginx     S22freeradius     S75sudo
S20creoled    S20eole-sso      S20ntp       S30squid3         S90bastion

/etc/rc5.d/:
README        S20dansguardian  S20exim4     S20openbsd-inetd  S50rsync      S90bastion
S15bind9      S20ead-server    S20gpm       S20vnstat         S70dns-clean  S99grub-common
S16ipsec      S20ead-web       S20gunicorn  S20z_stats        S70pppd-dns   S99ondemand
S19rng-tools  S20eoleflask     S20nginx     S22freeradius     S75sudo       S99rc.local
S20creoled    S20eole-sso      S20ntp       S30squid3         S80qoseole

/etc/rc6.d/:
K18freeradius    K20ead-web    K20gunicorn       K20z_stats    K85bind9         S35networking
K19bastion       K20eoleflask  K20nginx          K21rng-tools  README           S40umountfs
K20creoled       K20eole-sso   K20ntp            K30squid3     S20sendsigs      S60umountroot
K20dansguardian  K20exim4      K20openbsd-inetd  K80qoseole    S30urandom       S90reboot
K20ead-server    K20gpm        K20vnstat         K84ipsec      S31umountnfs.sh

/etc/rcS.d/:
README  S14setkey  S37apparmor  S55urandom  S70x11-common

#2 Updated by Fabrice Barconnière almost 6 years ago

Dans posttemplate/00-rvp :

if [ "${type_amon}" != "" ]
then
    install_rvp=$(CreoleGet install_rvp)
    if [ -L /etc/rc3.d/S20ipsec ]
    then
            update-rc.d -f ipsec remove >/dev/null
    fi

Il faut faire le remove quel que soit le module et le test sur le lien n'est plus correct (S16ipsec). Il fonctionnait en 2.3.

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

  • Status changed from A étudier to Accepté
  • Assigned To set to Fabrice Barconnière
  • Distribution changed from EOLE 2.4 to Toutes

Le problème peut se poser en 2.3 aussi. Donc corriger en 2.3 et merger en 2.4.

#4 Updated by Fabrice Barconnière almost 6 years ago

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

Fait pour 2.3 et 2.4

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

  • Status changed from Résolu to Réouvert
  • % Done changed from 100 to 80

Le déplacement du test sur la variable install_rvp entraîne que la configuration du RVP est systématiquement proposée à l'instance d'un module Amon :

root@amon:~# CreoleGet install_rvp
non
root@amon:~# /usr/share/eole/posttemplate/00-rvp instance

Voulez-vous (re)configurer le Réseau Virtuel Privé maintenant ?
[non] :

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

  • Status changed from Réouvert to Résolu
  • % Done changed from 80 to 100

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

  • Status changed from Résolu to Réouvert
  • % Done changed from 100 to 80

Mince l'erreur vient de 2.3 en fait !

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

  • Status changed from Réouvert to Résolu
  • % Done changed from 80 to 100

#9 Updated by Emmanuel GARETTE over 5 years ago

  • Status changed from Résolu to Fermé
root@amon:~# ls /etc/rc*.d/*ipsec*
ls: impossible d'accéder à /etc/rc*.d/*ipsec*: Aucun fichier ou dossier de ce type

Also available in: Atom PDF