Tâche #25160
Scénario #24651: Traitement express MEN (38-40)
Réactiver le service lxc-net en 2.7
Description
À la suite de #24920, le service netplan-apply
supprime le bridge et l’interface du conteneur: il faut redémarrer lxc-net et lxc après netplan-apply.
Related issues
Associated revisions
The netplan-apply service delete the lxc-net bridge
We need to restart the “lxc-net” service after “netplan-apply” and
“lxc” after “lxc-net” or the container will loose it's interface.
- dicos/27_eolead_container.xml: add “lxc-net” and “lxc” as services.
- posttemplate/04-samba-ad: only configure the samba daemon, there is
no need to restart now.
- posttemplate/05-eolead: only configure the container.
- postservice/05-eolead-inject-password: move this script to
postservice
Ref: #25160
The addc container is restarted as a Creole service
The container is available only at postservice time.
- postservice/05-eolead-join-and-sync-ldap: move at postservice.
Ref: #25160
The addc container is restarted as a Creole service
The container is available only at postservice time.
- eolead/postservice/05-eolead-gpo: move at postservice.
Ref: #25160
Install EOLE-AD postservice
Ref: #25160
Network: “lxc-net” is not properly ordered with “network-online.target”
To be ordered after a service or target, a unit must declare the
“After/Before” and the “Requires/Wants”.
The “lxc-net.service” provided by Ubuntu only declares the “After”.
- systemd/lxc-net.service.d/override.conf (Wants): we need
“network-online.target”
- scribe-ad.mk (systemd/lxc-net.service.d_DATA_DIR): install the
override configuration file.
Ref: #25160
Network: install the “lxc-net” configuration override file
- debian/horus-ad.install: for “Horus”.
- debian/scribe-ad.install: for “Scribe”.
Ref: #25160
Network: Reload systemd configuration
The installation of the “lxc-net.service” override file requires to
reload the systemd configuration.
- debian/horus-ad.postinst: reload the daemon.
- debian/scribe-ad.postinst: ditoo.
Ref: #25160
Network: create new links for “lxc-net.service” at installation
- debian/horus-ad.postinst: update links of “lxc-net.service”.
- debian/scribe-ad.postinst: ditoo.
Ref: #25160
Inject password after joining the AD domain
Ref: #25160
Register EOLE GPO after joining the AD domain
Ref: #25160
History
#1 Updated by Daniel Dehennin over 4 years ago
- Related to Tâche #24920: Les VLAN ne sont pas supprimés au reconfigure added
#2 Updated by Daniel Dehennin over 4 years ago
- Status changed from Nouveau to En cours
- Assigned To set to Daniel Dehennin
#3 Updated by Daniel Dehennin over 4 years ago
- Description updated (diff)
#4 Updated by Daniel Dehennin over 4 years ago
- % Done changed from 0 to 100
- Estimated time set to 2.00 h
- Remaining (hours) set to 0.5
#5 Updated by Scrum Master over 4 years ago
- Status changed from En cours to Résolu
#6 Updated by Daniel Dehennin over 4 years ago
- Status changed from Résolu to En cours
#7 Updated by Scrum Master over 4 years ago
- Status changed from En cours to Résolu
#8 Updated by Scrum Master over 4 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.5 to 0.0
#9 Updated by Daniel Dehennin over 4 years ago
- Related to Bac à idée #25249: Le démarrage du service lxc-net doit être corrigé SC-T10-004 - gen_conteneurs et reconfigure (2.7.0-b1) added