Would be interesting to have snapd functional and documented independent from wickrme as snapd is getting increasingly popular. Related: Snap Store / snaps / snapd / snapcraft.io - a new software source?
These instructions are sound. bind-dirs is functional for the “simple” use case. (Manually leaving any files in folder /snap or /arbitrary-folder-name.)
Problem might be snap itself uses mount
. Also bind-dirs
is based on mount
.
mount | grep snap
This mount is by bind-dirs.
/dev/xvdb on /snap type ext4 (rw,relatime,discard)
This mount is by snapd
:
/var/lib/snapd/snaps/core18_1754.snap on /snap/core18/1754 type squashfs (ro,nodev,relatime,x-gdu.hide)
Also /var/lib/snapd
would need added to bind-dirs configuration.
I’ve tested that but now running into another issue.
internal error, please report: running “wickrme” failed: cannot find installed snap “wickrme” at revision 352: missing file /snap/wickrme/352/meta/snap.yaml
It’s probably because snapd did not set up its mount because something Qubes TempalteBasedVMs / bind-dirs is doing is interfering. Didn’t investigate further due to lack of time. Could be reported as a Qubes bug to Qubes.