[Bug 1853912] Re: /etc/pollinate/add-user-agent should be populated (in the server live env) to allow better identification of live clients
Launchpad Bug Tracker
1853912 at bugs.launchpad.net
Tue Jan 28 11:12:59 UTC 2020
This bug was fixed in the package casper - 1.394.2
---------------
casper (1.394.2) bionic; urgency=medium
* Add +x bit to scripts/casper-bottom/57pollinate.
casper (1.394.1) bionic; urgency=medium
[ Michael Hudson-Doyle ]
* Configure pollinate, if installed, in the live session to include image
serial in the user agent. (LP: #1853912)
-- Michael Hudson-Doyle <michael.hudson at ubuntu.com> Thu, 23 Jan 2020
10:05:42 +1300
** Changed in: casper (Ubuntu Bionic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/1853912
Title:
/etc/pollinate/add-user-agent should be populated (in the server live
env) to allow better identification of live clients
Status in casper package in Ubuntu:
Fix Released
Status in casper source package in Bionic:
Fix Released
Status in casper source package in Focal:
Fix Released
Bug description:
[Impact]
Pollinate provides various bits of information in the user agent to
allow gathering of statistics about Ubuntu clients. Unfortunately,
the 'subiquity' tag is only added (via curtin->cloud-init) to the user
agent tag in the *target* system; the live environment, which also
runs pollinate for entropy gathering, does not have any such tag.
This makes it impossible to distinguish booted live server images from
other "generic" clients in the data.
It would be valuable to have a tag identifying the live server image
for statistical and debugging purposes.
I would suggest using 'live/<serial>' as a tag, where <serial> is the
image build serial from /mnt/.disk/info.
This probably needs to be done by casper reading the file and
synthesizing the content on the live overlay.
[Test Case]
* Boot subiquity live session
* Run $ pollinate --print-user-agent
* Check that it contains ISO .disk/info information
[Regression Potential]
* User-agent configuration support is in place in bionic and used by
other images (i.e. cloud). This completes configuring pollinate in
subiquity images, in a similar way as is done on other images.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1853912/+subscriptions
More information about the foundations-bugs
mailing list