Project

General

Profile

Tâche #16937

Distribution EOLE - Scénario #16688: Traquer les occurence de /etc/init.d dans les projets 2.6

eole-common: remplacer les références /etc/init.d par la commande service

Added by Daniel Dehennin about 5 years ago. Updated about 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
08/31/2016
Due date:
% Done:

100%

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

Description

eole-common/bastion/bastion.container:# config: /etc/init.d/bastion
eole-common/diagnose/05-common:    for file in $(ls $cpath/etc/init.d/*.dpkg-dist 2>/dev/null); do
eole-common/posttemplate/00-eole-common:INITRVP_AMON='/etc/init.d/rvp'

Related issues

Related to Distribution EOLE - Scénario #16542: Faire fonctionner bastion dans les conteneurs avec systemd Terminé (Sprint) 06/17/2016 09/23/2016

Associated revisions

Revision edf68ca3 (diff)
Added by Daniel Dehennin about 5 years ago

Remplacement des références à /etc/init.d/

  • posttemplate/00-eole-common (INITRVP_AMON): Utilisation du script
    « /usr/share/eole/sbin/rvp ».

Ref: #16937

History

#1 Updated by Daniel Dehennin about 5 years ago

  • Assigned To set to Daniel Dehennin

#2 Updated by Daniel Dehennin about 5 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Daniel Dehennin about 5 years ago

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

Le service bastion des conteneurs sera géré par #16542.

#4 Updated by Daniel Dehennin about 5 years ago

  • Status changed from En cours to Résolu

#5 Updated by Fabrice Barconnière about 5 years ago

  • Remaining (hours) changed from 0.25 to 0.0

OK, rvp bien relancé pendant le posttemplate.
/var/log/rsyslog/local/charon/charon.info.log :

2016-09-05T09:24:03.610726+02:00 amon.etb1.lan charon: 00[DMN] signal of type SIGINT received. Shutting down
......
......
2016-09-05T09:25:47.206257+02:00 amon.etb1.lan charon: 00[DMN] Starting IKE charon daemon (strongSwan 5.3.5, Linux 4.4.0-36-generic, x86_64)
......
------> VPN relancé pour ipset
......
2016-09-05T09:26:25.083077+02:00 amon.etb1.lan charon: 00[DMN] signal of type SIGINT received. Shutting down
......
......
2016-09-05T09:26:31.463702+02:00 amon.etb1.lan charon: 00[DMN] Starting IKE charon daemon (strongSwan 5.3.5, Linux 4.4.0-36-generic, x86_64)

#6 Updated by Fabrice Barconnière about 5 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF