Public bug reported:

On 2.1-14-g2e17a0d6-0ubuntu1~22.04.3

`cloud-init status` reports `status: not-run` even though
`/usr/lib/systemd/system-generators/cloud-init-generator` has run as
generator and marked it as disabled.

The right status which is also what focal gives is `status: disabled`.

`cloud-init status` looks for `/run/cloud-init/disabled`. But this file
is never created by anything. Instead it should check for the non-
existence of `/run/cloud-init/enabled`.

I have sent a patch to upstream: https://github.com/canonical/cloud-
init/pull/1339

But this fix is needed for Ubuntu Core 22. So I hope the fix will be
applied soon to the jammy package.

** Affects: cloud-init (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/1965275

Title:
  status is "not run" instead of "disabled"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1965275/+subscriptions


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

Reply via email to