Tâche #29725
Scénario #29652: Traitement express MEN (10-12)
Les Seth 2.6.1 ne s'instancient plus
100%
Description
https://dev-eole.ac-dijon.fr/jenkins/job/2.6.1/job/test-instance-acadc1-2.6.1-amd64/ (jobs 266 et 267)
Can not enable Systemd service cron ead-server ead-web samba-ad-dc exim4 eoleflask nginx bastion z_stats in root: Synchronizing state of cron.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable cron insserv: warning: current start runlevel(s) (empty) of script `cron' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (2 3 4 5) of script `cron' overrides LSB defaults (empty). Synchronizing state of samba-ad-dc.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable samba-ad-dc insserv: warning: current start runlevel(s) (empty) of script `samba-ad-dc' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `samba-ad-dc' overrides LSB defaults (0 1 6). exim4.service is not a native service, redirecting to systemd-sysv-install Executing /lib/systemd/systemd-sysv-install enable exim4 insserv: warning: current start runlevel(s) (empty) of script `exim4' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `exim4' overrides LSB defaults (0 1 6). Synchronizing state of nginx.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable nginx insserv: warning: current start runlevel(s) (empty) of script `nginx' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `nginx' overrides LSB defaults (0 1 6). Failed to execute operation: Unit file is masked
Visiblement c'est lié au nouveau paquet samba 4.7 qui installe le service samba-ad-dc
dans l'état masked
alors que le code 2.6.1 ne "démasque" pas les services avant de les désactiver.
Je propose de rétro-porter le code concerné de 2.6.2 vers 2.6.1.
Demandes liées
Révisions associées
Les services désactivés sont masqués.
Pour pallier les conflits de gestion des services des paquets avec la gestion
des services par EOLE, on masque les services désactivés. On les démasque
préalablement à leur activation.
Cherry-picked from python-pyeole:ccff54a2 for EOLE 2.6.1
Le masquage peut échouer pour les services surchargés par EOLE
Il n’est pas possible de masquer un service lorsqu’EOLE fourni un
fichier de service complet dans « /etc/systemd/system/ » afin
d’écraser celui de la distribution (comme #16904).
Dans ce cas il ne faut pas lever une exception.
Cherry-picked from python-pyeole:eb59b4cf for EOLE 2.6.1
Historique
#1 Mis à jour par Joël Cuissinat il y a environ 4 ans
- Lié à Scénario #29508: proposer un paquet samba 4.7 à jour de la sécurité (4.7.12 + patchs) ajouté
#2 Mis à jour par Joël Cuissinat il y a environ 4 ans
- Lié à Tâche #21225: Masquer les services en plus de les désactiver (et démasquer avant d’activer). ajouté
#3 Mis à jour par Joël Cuissinat il y a environ 4 ans
- Assigné à mis à Joël Cuissinat
- Tâche parente mis à #29652
#4 Mis à jour par Joël Cuissinat il y a environ 4 ans
- Statut changé de Nouveau à En cours
#5 Mis à jour par Joël Cuissinat il y a environ 4 ans
- Statut changé de En cours à Résolu
- % réalisé changé de 0 à 100
#6 Mis à jour par Daniel Dehennin il y a environ 4 ans
Ça fonctionne depuis le 9 mars.
#7 Mis à jour par Daniel Dehennin il y a environ 4 ans
- Statut changé de Résolu à Fermé
- Restant à faire (heures) mis à 0.0