Tâche #30543
Scénario #30411: Traitement express MEN (28-35)
Les instances ScribeAD et HorusAD 2.7 sont en rouge à cause du fichier /etc/default/motd-news
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Start date:
08/31/2020
Due date:
% Done:
100%
Remaining (hours):
0.0
Description
- Scribe 2.7.1 : https://dev-eole.ac-dijon.fr/jenkins/job/2.7.1/job/test-instance-acascribe-2.7.1-amd64/
- Scribe 2.7.2 : https://dev-eole.ac-dijon.fr/jenkins/job/2.7.2/job/test-instance-acascribe-2.7.2-amd64/
run-parts: executing /usr/share/eole/posttemplate/05-eolead instance cp: impossible d'évaluer '/etc/default/motd-news': Aucun fichier ou dossier de ce type
root@scribe:~# cat /usr/share/eole/posttemplate/05-eolead #!/bin/bash . /usr/lib/eole/eolead.sh [ -d "$CONTAINER_ROOTFS" ] || exit 0 #Take care of motd in addc container cp -f /etc/update-motd.d/{00-header,10-help-text} $CONTAINER_ROOTFS/etc/update-motd.d/ cp -f /etc/default/motd-news $CONTAINER_ROOTFS/etc/default/motd-news rm -rf $CONTAINER_ROOTFS/etc/cron.daily/ubuntu-advantage-tools > $CONTAINER_ROOTFS/var/cache/motd-news rm -rf $CONTAINER_ROOTFS/var/cache/ubuntu-advantage-tools/* #End motd configuration exit 0
Related issues
Associated revisions
Prevent "motd-news" file copy error
Ref: #30543
History
#1 Updated by Joël Cuissinat about 3 years ago
- Status changed from Nouveau to En cours
#2 Updated by Joël Cuissinat about 3 years ago
- Assigned To set to Joël Cuissinat
#3 Updated by Joël Cuissinat about 3 years ago
- Related to Tâche #24252: Informations Ubuntu au login 2.7.0 added
#4 Updated by Joël Cuissinat about 3 years ago
En tout cas, actuellement, sur les Daily 2.7 :
- il n'y a pas d'infos Ubuntu à la connexion
- le fichier
/etc/default/motd-news
est absent
Après instance, on voit que ce fichier est présent dans le conteneur et qu'il était fourni par base-files :
root@scribe:~# lxc-attach -n addc -- dpkg -S /etc/default/motd-news base-files: /etc/default/motd-news
Sur le maître, on a le paquet "bionic-proposed" : 10.1ubuntu2.10
Dans le conteneur, on a le paquet "bionic-updates" : 10.1ubuntu2.9
Move the /etc/default/motd-news conffile to the motd-news-config package
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1888575
#5 Updated by Joël Cuissinat about 3 years ago
- Status changed from En cours to Résolu
- % Done changed from 0 to 100
#6 Updated by Joël Cuissinat about 3 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) set to 0.0
tests OK