Snaps are constantly demounting after app qube starts

I’m also experiencing this. Anyone else? (I have followed these instructions)

I also had that issue. I solved it with bind dirs:

$ cat /rw/config/qubes-bind-dirs.d/50_user.conf
binds+=( '/snap' )
binds+=( '/var/cache/snapd' )
binds+=( '/var/lib/snapd' )

then reboot the vm, install the snap package as user, and launch the package at least once before shutting down the vm.

Any other method doesn’t work for me.

2 Likes

awesome. thanks

2 Likes

Hello so i did this with these exact steps:

sudo mkdir -p /rw/config/qubes-bind-dirs.d

/rw/config/qubes-bind-dirs.d/50_user.conf

cd /rw/config/qubes-bind-dirs.d/50_user.conf
binds+=( ‘/snap’ )
binds+=( ‘/var/cache/snapd’ )
binds+=( ‘/var/lib/snapd’ )

when i did cat… it would say is a directory.

Please let me know if i did something wrong.

Thank you.

then i restarted vm downloaded my snaps but after shutting down and restarting all snaps were gone. they would all be there but would be broken, now they are all gone

Sorry, only just got to this.

Because you did not create a file. I used cat to simply show the content of the file, which you can create whichever way you prefer. For example (in your snap AppVM):

$ sudo mkdir -p /rw/config/qubes-bind-dirs.d
$ cat << EOF | sudo tee /rw/config/qubes-bind-dirs.d/50_user.conf
binds+=( '/snap' )
binds+=( '/var/cache/snapd' )
binds+=( '/var/lib/snapd' )
EOF
$ sudo reboot
2 Likes