Public bug reported:

As discovered in regression bug 1936833:

 1) "cloud-id" can sometimes crash; perhaps it should return something
more sensible if a cloud-id is not available

 2) ubuntu-advantage-tools.postinst might crash if cloud-id crashes;
perhaps it should be generally resilient against cloud-id crashing,
instead of trying to predict if it will work or not (additionally the
current prediction method seems to be based on an internal
implementation detail that might change)

I wonder if one or both of these things can be improved. For example,
define the failure behaviour of cloud-id when it cannot function, and
have the postinst test for that, and further, adjust the postinst to be
robust against _any_ failure of cloud-id.

** Affects: ubuntu-advantage-tools (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/1938207

Title:
  ubuntu-advantage-tools.postinst and cloud-id are not robust against
  failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1938207/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to