A new snapd core with the 2.29 snapd is now in the beta channel. Please test and give us feedback! Once it passes QA we will push it to the candidate channel.
While Device cgroup is applied to devmode and classic snaps is not technically a regression in 2.29 (it is a regression in 2.27 -> 2.28+), IMO it should be fixed in 2.29 since 2.28+ udev handles exacerbates the problem with devmode snaps. Thankfully, the solution is simple (see the other thread).
snap 2.29
snapd 2.29
series 16
ubuntu 16.04
kernel 4.10.0-38-generic
If I try to install or revert LibreOffice –classic:
error: cannot perform the following tasks:
Make current revision for snap “libreoffice” unavailable (cannot write “/snap/libreoffice/31/meta/gui/base.desktop”: invalid exec command: “libreoffice5.4 --base”)
Make snap “libreoffice” (37) available to the system (cannot write “/snap/libreoffice/37/meta/gui/base.desktop”: invalid exec command: “libreoffice5.4 –base”)
Make snap “libreoffice” (38) available to the system (cannot write “/snap/libreoffice/38/meta/gui/base.desktop”: invalid exec command: “libreoffice5.4 –base”)
On core 2.28.5 is ok.
And:
10:38:43.770680 main.go:130: cannot change mount namespace of snap “libreoffice” according to change mount (/var/lib/snapd/hostfs/usr/local/share/fonts /usr/local/share/fonts none bind,xx): permission denied.
After i remove LO and reinstall (–candidate –classic) and now i can install but if I try to refresh to stable:
error: cannot perform the following tasks:
Make snap “libreoffice” (21) available to the system (cannot write “/snap/libreoffice/21/meta/gui/base.desktop”: invalid exec command: “libreoffice5.3 –base”)
2.29.3 was released to stable today. Thanks everybody who helped making this release possible! A proper forum announcement for 2.29 (as a new forum topic) will follow shortly.
Yes, rings a bell, a new feature we are using in 2.29.3. Once we know what is going on we need to find out why it was not caught in tests, we have a “run snaps inside lxd” testing that should have caught this (if it is a general lxd releated issue).