Tested in mantic using landscape-client and landscape-common versions 23.08-0ubuntu1.2, as ubuntu user in a fresh container: - lxc launch ubuntu:mantic
ubuntu@powerful-lion:~$ sudo rm -f /var/lib/landscape-sysinfo.cache # just to be sure
ubuntu@powerful-lion:~$ run-parts /etc/update-motd.d/
Welcome to Ubuntu 23.10 (GNU/Linux 6.5.0-27-generic x86_64)
Tested in mantic using landscape-client and landscape-common versions 23.08-0ubuntu1.2, as ubuntu user in a fresh container: - lxc launch ubuntu:mantic
ubuntu@ powerful- lion:~$ sudo rm -f /var/lib/ landscape- sysinfo. cache # just to be sure powerful- lion:~$ run-parts /etc/update-motd.d/
ubuntu@
Welcome to Ubuntu 23.10 (GNU/Linux 6.5.0-27-generic x86_64)
* Documentation: https:/ /help.ubuntu. com /landscape. canonical. com /ubuntu. com/pro
* Management: https:/
* Support: https:/
System information disabled due to load higher than 1.0
25 updates can be applied immediately.
19 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable
--------
Ran show-motd autopkgtest with the following diff (as mentioned by Andreas previously to reproduce the bug)
--- a/debian/ tests/show- motd tests/show- motd
+++ b/debian/
@@ -2,6 +2,9 @@
unset MOTD_SHOWN
+echo "Sleeping 60s" d/update- motd.sh' 2> stdout || RET=$?
+sleep 60
+echo "Continuing"
RET=0
bash -i -c '. /etc/profile.
egrep -v '(bash: cannot set terminal process group|no job control in this shell)' stdout >&2 || true
On mantic with -proposed enabled and landscape- common= 23.08-0ubuntu1. 2. Tests passed:
autopkgtest [15:51:54]: @@@@@@@ @@@@@@@ @@@@@@ summary
show-motd PASS
update-motd PASS