snapd should depend (!=recommend) on fuse3 for snaps in containers

Bug #2046379 reported by Simon Déziel
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

https://github.com/snapcore/snapd/pull/11600 added a Depends on fuse3 to make `snap install` possible inside LXD containers. This was modified by https://github.com/snapcore/snapd/pull/11648 to have fuse3 as a Recommends only.

With minimal images, Recommends are no longer installed by default meaning that you cannot install any snap without first installing fuse3:

```
$ lxc launch ubuntu-minimal-daily:24.04 c1
$ lxc exec c1 -- systemctl is-system-running --wait --quiet
$ lxc exec c1 -- snap install lxd
error: system does not fully support snapd: The "fuse" filesystem is required on this system but
       not available. Please try to install the fuse package.

$ lxc exec c1 -- apt-cache show snapd | grep Recommends
Recommends: gnupg, fuse3 (>= 3.10.5-1) | fuse
```

Related branches

Revision history for this message
Simon Déziel (sdeziel) wrote :
Revision history for this message
Simon Déziel (sdeziel) wrote :

Marking as fix released as it was included in snapd 2.62, thanks!

Changed in snapd (Ubuntu):
status: New → 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.