Project

General

Profile

Tâche #16672

Distribution EOLE - Scénario #16608: Les modules devrait toujours démarrer rapidement

Les services bastion et ferme-firewall sont appelés dans pre/post de tous les paquets issus de eole-common

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

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

100%

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

Description

Cela est susceptible de planter l'installation de certains conteneurs :

root@mail:~# apt-eole -o --container current --log-level info install eole-lxc-container-pkg eole-exim-pkg
   [ ... ]
Suppression de eole-ssmtp-pkg (2.6.0-66) ...
Failed to stop ferme-firewall.service: Unit ferme-firewall.service not loaded.
dpkg: erreur de traitement du paquet eole-ssmtp-pkg (--purge) :
 le sous-processus script pre-removal installé a retourné une erreur de sortie d'état 5
bastion.service is not a native service, redirecting to systemd-sysv-install
Executing /lib/systemd/systemd-sysv-install is-enabled bastion
bastion.service is a disabled or a static unit, not starting it.
Des erreurs ont été rencontrées pendant l'exécution :
 eole-ssmtp-pkg
E: Sub-process /usr/bin/dpkg returned an error code (1)
apt-eole - l'appel à apt-get (-c /etc/apt/apt-eole.conf install eole-exim-pkg) a retourné une erreur (code 100). Voir /var/log/apt/term.log

root@mail:/var/lib/dpkg/info# grep ferme-firewall.service *
eole-common-pkg.prerm:    deb-systemd-invoke stop ferme-firewall.service >/dev/null
eole-lxc-container-apps.prerm:    deb-systemd-invoke stop ferme-firewall.service >/dev/null
eole-lxc-container-pkg.prerm:    deb-systemd-invoke stop ferme-firewall.service >/dev/null
eole-resolvconf.prerm:    deb-systemd-invoke stop ferme-firewall.service >/dev/null
eole-ssmtp-pkg.prerm:    deb-systemd-invoke stop ferme-firewall.service >/dev/null
root@mail:/var/lib/dpkg/info# grep bastion.service *
eole-common-pkg.postinst:    deb-systemd-invoke start bastion.service >/dev/null || true
eole-common-pkg.prerm:    deb-systemd-invoke stop bastion.service >/dev/null
eole-lxc-container-pkg.postinst:    deb-systemd-invoke start bastion.service >/dev/null || true
eole-lxc-container-pkg.prerm:    deb-systemd-invoke stop bastion.service >/dev/null
eole-resolvconf.postinst:    deb-systemd-invoke start bastion.service >/dev/null || true
eole-resolvconf.prerm:    deb-systemd-invoke stop bastion.service >/dev/null
eole-ssmtp-pkg.postinst:    deb-systemd-invoke start bastion.service >/dev/null || true
eole-ssmtp-pkg.prerm:    deb-systemd-invoke stop bastion.service >/dev/null

Associated revisions

Revision 403fdaed (diff)
Added by Joël Cuissinat over 3 years ago

Les instructions bastion et ferme-firewall sont spécifiques à eole-server

Ref #16672 @1h

History

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

  • Tracker changed from Demande to Tâche
  • Start date deleted (06/30/2016)
  • Estimated time set to 2.00 h
  • Parent task set to #16608
  • Remaining (hours) set to 2.0

#2 Updated by Scrum Master over 3 years ago

  • Status changed from Nouveau to En cours
  • Start date set to 07/01/2016

#3 Updated by Scrum Master over 3 years ago

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

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

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 2.0 to 0.25

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

  • Status changed from En cours to Résolu

#6 Updated by Emmanuel GARETTE over 3 years ago

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

Ok, ne concerne plus que eole-server :

root@amon:/var/lib/dpkg/info# grep ferme-firewall.service *
eole-server.list:/lib/systemd/system/ferme-firewall.service
eole-server.md5sums:9b457fac067bd0ad6052bb6966d8b1a9  lib/systemd/system/ferme-firewall.service
eole-server.postinst:deb-systemd-helper unmask ferme-firewall.service >/dev/null || true
eole-server.postinst:if deb-systemd-helper --quiet was-enabled ferme-firewall.service; then
eole-server.postinst:    deb-systemd-helper enable ferme-firewall.service >/dev/null || true
eole-server.postinst:    deb-systemd-helper update-state ferme-firewall.service >/dev/null || true
eole-server.postinst:deb-systemd-helper unmask ferme-firewall.service >/dev/null || true
eole-server.postinst:if deb-systemd-helper --quiet was-enabled ferme-firewall.service; then
eole-server.postinst:    deb-systemd-helper enable ferme-firewall.service >/dev/null || true
eole-server.postinst:    deb-systemd-helper update-state ferme-firewall.service >/dev/null || true
eole-server.postrm:        deb-systemd-helper mask bastion.service ferme-firewall.service >/dev/null
eole-server.postrm:        deb-systemd-helper purge bastion.service ferme-firewall.service >/dev/null
eole-server.postrm:        deb-systemd-helper unmask bastion.service ferme-firewall.service >/dev/null
eole-server.postrm:        deb-systemd-helper mask ferme-firewall.service >/dev/null
eole-server.postrm:        deb-systemd-helper purge ferme-firewall.service >/dev/null
eole-server.postrm:        deb-systemd-helper unmask ferme-firewall.service >/dev/null
eole-server.prerm:    deb-systemd-invoke stop ferme-firewall.service >/dev/null
root@amon:/var/lib/dpkg/info# 

Also available in: Atom PDF