MOTD is shown in landscape-common's postinst's stdout when update-motd is installed

Bug #1855544 reported by Balint Reczey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
landscape-client (Ubuntu)
New
Undecided
Unassigned

Bug Description

This can confuse debconf. It should either be printed to stderr, or not printed at all.

root@ff-py:~# apt install --reinstall landscape-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libhogweed4 libisl21 libnettle6
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 17 not upgraded.
Need to get 86.7 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 landscape-common amd64 19.12-0ubuntu1 [86.7 kB]
Fetched 86.7 kB in 0s (0 B/s)
The system does not support apt-btrfs-snapshot
Preconfiguring packages ...
(Reading database ... 83404 files and directories currently installed.)
Preparing to unpack .../landscape-common_19.12-0ubuntu1_amd64.deb ...
Welcome to Ubuntu Focal Fossa (development branch) (GNU/Linux 5.0.0-37-generic x86_64)

 * Documentation: https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support: https://ubuntu.com/advantage

 * Overheard at KubeCon: "microk8s.status just blew my mind".

     https://microk8s.io/docs/commands#microk8s.status

17 updates can be installed immediately.
0 of these updates are security updates.
To see these additional updates run: apt list --upgradable

Unpacking landscape-common (19.12-0ubuntu1) over (19.12-0ubuntu1) ...
Setting up landscape-common (19.12-0ubuntu1) ...
Welcome to Ubuntu Focal Fossa (development branch) (GNU/Linux 5.0.0-37-generic x86_64)

 * Documentation: https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support: https://ubuntu.com/advantage

  System information as of Sat Dec 7 10:32:47 UTC 2019

  System load: 0.93
  Usage of /home: unknown
  Memory usage: 0%
  Swap usage: 21%
  Temperature: 66.0 C
  Processes: 35
  Users logged in: 0
  IPv4 address for eth0: 10.84.73.147
  IPv6 address for eth0: fd42:38c4:1a06:3a76:216:3eff:fe04:731c

 * Overheard at KubeCon: "microk8s.status just blew my mind".

     https://microk8s.io/docs/commands#microk8s.status

17 updates can be installed immediately.
0 of these updates are security updates.
To see these additional updates run: apt list --upgradable

Processing triggers for man-db (2.9.0-1) ...
root@ff-py:~#

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.