handle empty cloud-id result
Bug #1841597 reported by
Andreas Hasenack
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
base-files (Ubuntu) |
Fix Released
|
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".
Related branches
~ahasenack/ubuntu/+source/base-files:eoan-base-file-handle-empty-cloud-id-1841597
Merged
into
ubuntu/+source/base-files:ubuntu/devel
at
revision f1d54c80e8841754b37eb7b17caf5d93157166e1
- Christian Ehrhardt (community): Approve
- Canonical Server: Pending requested
-
Diff: 56 lines (+19/-5)2 files modifieddebian/changelog (+7/-0)
motd/50-motd-news (+12/-5)
To post a comment you must log in.
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