UC20 system fails to seed when model contains snaps requiring experimental.user-daemons or dbus-activation

Bug #1906622 reported by James Henstridge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Fix Released
High
Samuele Pedroni

Bug Description

I encountered this using the image included in the artifact of this build:

https://github.com/canonical/ubuntu-core-desktop/actions/runs/393663991

In short, we have:

1. a gadget snap that turns on experimental.user-daemons and experimental.dbus-activation via defaults.
2. an ubuntu-desktop-session snap that includes a dbus activatable session daemon (requiring both).
3. a model definition requiring both of these snaps.

When booting the image, it does not seed correctly with snapd logging the following warning:

    seeding failed with: experimental feature disabled - test it by setting 'experimental.user-daemons' to true. This indicates an error in your distribution, please see https://forum.snapcraft.io/t/16341 for more information.

No snaps are mounted under /snap at this point. @mvo grabbed this snapd state file from a boot of the image, showing a bunch of tasks with no changes registered:

https://paste.ubuntu.com/p/yRr5hCqyXF/

Changed in snapd:
importance: Undecided → High
status: New → Triaged
Changed in snapd:
assignee: nobody → Samuele Pedroni (pedronis)
Revision history for this message
Samuele Pedroni (pedronis) wrote :

I'm actively working to fix this

Changed in snapd:
status: Triaged → In Progress
Revision history for this message
Samuele Pedroni (pedronis) wrote :

will be in 2.50

Changed in snapd:
status: In Progress → Fix Committed
Changed in snapd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.