[Bug 1922293] Re: Snaps appear broken on 21.04 Beta with ZFS

2021-04-22 Thread Paweł Stołowski
@Christopher as far as I understand the fix happened in ubiquity installer, so it will only take effect on fresh installation (which is fine given that this is during beta). See the comments under https://github.com/snapcore/snapd/pull/10113 -- You received this bug notification because you are a

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta with ZFS

2021-04-21 Thread Christopher
Just an update, I still see this in the beta after a reboot. Workaround still functions. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922293 Title: Snaps appear broken on 21.04 Beta with ZFS To m

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta with ZFS

2021-04-15 Thread Paweł Stołowski
@Luna what was the fix, can you link to the respective change? I'm still seeing the problem with up-to-date 21.04 (and there were no updates reported for zfs-linux; was it actually released)? The tentative fix for snapd hasn't been commited yet in snapd; if the problem was fixed elsewhere then we

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta with ZFS

2021-04-15 Thread Paweł Stołowski
** Changed in: snapd (Ubuntu) Status: Fix Released => In Progress ** Changed in: snapd (Ubuntu) Assignee: (unassigned) => Paweł Stołowski (stolowski) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.n

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta with ZFS

2021-04-14 Thread Luna Jernberg
This is fixed in todays build, so closing this bug ** Changed in: zfs-linux (Ubuntu) Status: Confirmed => Fix Released ** Changed in: snapd (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta with ZFS

2021-04-07 Thread Dimitri John Ledkov
somehow i was expecting the snap mount units to start after local- fs.target, and for zfs.target to complete by then. But it looks like that's not how things are ordered unfortunately. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. ht

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta with ZFS

2021-04-07 Thread Paweł Stołowski
@Colin After=.. only defines ordering but it's a loose coupling and has no effect is the service doesn't exist. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922293 Title: Snaps appear broken on 21

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta with ZFS

2021-04-07 Thread Colin Ian King
I'm still trying to figure out where/why/how this is a ZFS issue, but looking at the workaround I think it's a good way forward. The new line added "After=zfs-mount.service" - how does this affect things if ZFS is not installed? -- You received this bug notification because you are a member of U

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta with ZFS

2021-04-07 Thread Paweł Stołowski
A tentative workaround for snapd discussed above: https://github.com/snapcore/snapd/pull/10113 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922293 Title: Snaps appear broken on 21.04 Beta with ZFS

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta with ZFS

2021-04-06 Thread Luna Jernberg
Reinstalled my desktop today, with todays Beta and having the same issue :( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922293 Title: Snaps appear broken on 21.04 Beta with ZFS To manage notific

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta with ZFS

2021-04-06 Thread Christopher
> (as for Wayland issues, let's please not mix it in here, please open a separate bug report if needed, possibly adding ubuntu-desktop to it). @stolowski No worries. I'll open a new one for that. @mvo Let me know when a new release is cut and I can pop it on the box and test. -- You received th

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta with ZFS

2021-04-06 Thread Michael Vogt
[from-irc] mvo: hey! There are 2 things here: - the zfs generator is currently broken in the default setup due to OpenZFS 2.0 default layout. ubiquity in unapproved since this morning is fixing this (people using our default setup will not be impacted by the bug then) - then, for people using

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta with ZFS

2021-04-06 Thread Michael Vogt
This looks a lot like an issue with zfs-linux to me (and *maybe* systemd, not sure about this). The issue is that the snaps are on /var/lib/snapd/snaps and snapd writes mount units into /etc/systemd/system/ so that the snaps are mounted under /snap//. Looking at a zfs-linux system and the "mount"

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta with ZFS

2021-04-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: zfs-linux (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922293 Title:

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta with ZFS

2021-04-06 Thread Michael Vogt
** Also affects: zfs-linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922293 Title: Snaps appear broken on 21.04 Beta with ZFS To manage not

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta

2021-04-06 Thread Paweł Stołowski
Thanks for reporting, reproduced, the problem is indeed strictly ZFS- related and appears to be related to a number of zfs-related services and mount units that need to be ready before mount units for snaps can be executed during boot, otherwise snap blobs under /var/lib/snapd/snaps/* cannot be acc

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta

2021-04-05 Thread Christopher
@ubuntuqa Shiny. I'm running a few of the snaps, most don't seem to be working with Wayland (or running on an Xsession either). Is that a place to report the breakages? Just to be clear these are snaps that do seem to work on 20.04 just not 21.04 which seems to be an error with the later. -- You

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta

2021-04-05 Thread Ubuntu QA Website
This bug has been reported on the Ubuntu ISO testing tracker. A list of all reports related to this bug can be found here: http://iso.qa.ubuntu.com/qatracker/reports/bugs/1922293 ** Tags added: iso-testing -- You received this bug notification because you are a member of Ubuntu Bugs, which is s

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta

2021-04-05 Thread simon c
** Changed in: snapd (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922293 Title: Snaps appear broken on 21.04 Beta To manage notifications about thi

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta

2021-04-05 Thread simon c
I am also experiencing the broken snaps under the default ZFS testcase (21.04 April, 4th build). Interestingly, when using the same install media, I did not experience any issue with snaps when doing the LVM encrypted testcase. I can also confirm the workaround posted (#7) by Christopher worked i

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta

2021-04-05 Thread Christopher
Additionally, while the workaround let's me launch snaps, the super- majority still seem to be broken because of Wayland things. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922293 Title: Snaps ap

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta

2021-04-05 Thread Christopher
So I found a partial workaround. Looks like filesystems aren't getting mounted (hinted at with the broken in the snap list). I could confirm that by using this command: ``` systemctl status snap-*.mount ``` So remounting and things seem to "work": ``` systemctl restart snap-*.mount ``` I'm sti

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta

2021-04-03 Thread Christopher
@alphacluster I too am using ZFS (and would like to continue using it). And am willing to debug if needed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922293 Title: Snaps appear broken on 21.04 B

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta

2021-04-02 Thread Nicholas Omann
I had this same issue on my first attempt to install 21.04 where I couldn't install any snaps or open Ubuntu Software. I found that if i reinstalled and did not use ZFS this did not happen. So I think this is a bug just with the ZFS install version. -- You received this bug notification because y

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta

2021-04-02 Thread Christopher
An update, the newest snapd seems to have the same issue: ``` chalbersma@abdos:~$ apt-cache policy snapd snapd: Installed: 2.49.2+21.04ubuntu1 Candidate: 2.49.2+21.04ubuntu1 Version table: *** 2.49.2+21.04ubuntu1 500 500 http://us.archive.ubuntu.com/ubuntu hirsute/main amd64 Package

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta

2021-04-02 Thread Christopher
So, testing with the qownnotes snap atm. ``` chalbersma@abdos:~$ qownnotes cannot perform operation: mount --rbind /dev /tmp/snap.rootfs_Ft9tYq//dev: No such file or directory ``` journalctl entries from when it runs: ``` Apr 02 11:31:54 abdos systemd[2852]: Started snap.qownnotes.qownnotes.5c

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta

2021-04-02 Thread Paweł Stołowski
Could you please provide system log (from journalctl) and output of 'snap changes'? If there is any change with error status, the please also attach the output of 'snap change ' (ID is the id of the change in error). Thank you ** Changed in: snapd (Ubuntu) Status: New => Incomplete -- You

[Bug 1922293] Re: Snaps appear broken on 21.04 Beta

2021-04-01 Thread Christopher
Just an update. A classic'ly confined snap (like slack) does appear to keep working. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922293 Title: Snaps appear broken on 21.04 Beta To manage notific