Public bug reported:

=== Begin SRU Template ===
[Impact]
The key change is that the user agent string as of Bionic now
contains the contents of systemd-detect-virt and /etc/cloud/build.info.
In aggregate, this gives us important usage data to detect improvements
and regressions in Ubuntu boot times.

[Test Case]
Launch a privileged container with:

1. lxc launch ubuntu-daily:xenial -c security.privileged=true x1-priv
2. lxc exec x1-priv -- apt update && apt -y install pollen

Run a local pollen server and have the pollinate (client) connect with
that via:

3. lxc exec x1-priv -- pollinate -r --insecure -s https://localhost

Then check in /var/log/syslog for the client user-agent string. On
systems without the updated pollinate client, the USER_AGENT value does
not include virt:

root@x1-priv:~# grep pollen /var/log/syslog | grep -c virt
0
root@x1-priv:~#

After upgrading to the newer client, virt is now present in the pollen
entries:

root@x1-priv:~# grep pollen /var/log/syslog | grep -c virt
2
root@x1-priv:~#

[Regression Potential]
The script runs with 'set -e', that means that the 'pollinate' script
will exit failure if either of the commands or files above fail. These
scenarios seem unlikely, especially in Ubuntu environments.

=== End SRU Template ===

** Affects: pollinate (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1761240

Title:
  SRU pollinate 4.31

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pollinate/+bug/1761240/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to