handle empty cloud-id result

Bug #1841597 reported by Andreas Hasenack on 2019-08-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
base-files (Ubuntu)
Undecided
Andreas Hasenack

Bug Description

When cloud-id outputs no cloud name to stdout, it should be replaced with "unknown", to avoid sending an incomplete string in the user-agent text. Instead of "cloud_id/", it would then be "cloud_id/unknown".

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package base-files - 10.2ubuntu6

---------------
base-files (10.2ubuntu6) eoan; urgency=medium

  * motd/50-motd-news: set cloud-id to unknown if the tool exited with a
    non-zero status, or printed an empty string (LP: #1841597)

 -- Andreas Hasenack <email address hidden> Tue, 27 Aug 2019 15:31:30 -0300

Changed in base-files (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers