So one thing that I think is going on here is that the udev noise is
caused by trying to _undo_ the "Setup snap "snapd" (12886) security
profiles" task. In the state.json of the image, that task is done:

    "7": {
      "id": "7",
      "kind": "setup-profiles",
      "summary": "Setup snap \"snapd\" (12886) security profiles",
      "status": 4,
      ...
    },

(4 is DoneStatus in overlord/state/change.go in snapd). So that's a red
herring, or at least, not the underlying problem. The underlying problem
is that "Run install hook of "lxd" snap if present" is failing (this
task is not done in the state.json of either the 20210903 or 20210904 --
in fact those two state.json file differ only in timestamps and cookies
afaict). So the next question: why is the install hook failing? snap
changes 1 only has this to say about this task:

Run install hook of "lxd" snap if present

2021-09-24T01:53:16Z ERROR run hook "install": 
-----
cmd_run.go:410: DEBUG: SELinux not enabled
tracking.go:44: DEBUG: creating transient scope snap.lxd.hook.install
tracking.go:305: DEBUG: created transient scope as object: 
/org/freedesktop/systemd1/job/339
-----

which is not very helpful. This output isn't present for the working
image but maybe output for successful tasks isn't saved? I don't know
how this works.

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

Title:
  snapd.seeded.service never finishes on non-amd64

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1944004/+subscriptions


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

Reply via email to