This bug was fixed in the package zfs-linux - 0.8.3-1ubuntu12.12
---
zfs-linux (0.8.3-1ubuntu12.12) focal; urgency=medium
* Fix dependency loop preventing swap partitions from being mounted
correctly (LP: #1875577)
- d/p/4900-Fix-a-dependency-loop.patch
- d/p/4901-Fix-an
Validated with ZFS from focal-proposed, according to test case from description:
ubuntu@z-rotomvm34:~$ dpkg -l | grep zfsutils
ii zfsutils-linux 0.8.3-1ubuntu12.12
amd64command-line tools to manage OpenZFS filesystems
ubuntu@z-rotomvm34:~$ zfs list
Hello John, or anyone else affected,
Accepted zfs-linux into focal-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/zfs-
linux/0.8.3-1ubuntu12.12 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
htt
** Description changed:
[Impact]
Encrypted swap partitions may not load correctly with ZFS root, due to
ordering cycle on zfs-mount.service.
[Test Plan]
1. Install Ubuntu 20.04 using ZFS-on-root
2. Add encrypted partition to /etc/crypttab:
-swap/dev/nvme0n1p1 /dev/urandom
** Description changed:
+ [Impact]
+ Encrypted swap partitions may not load correctly with ZFS root, due to
ordering cycle on zfs-mount.service.
+
+ [Test Plan]
+ 1. Install Ubuntu 20.04 using ZFS-on-root
+ 2. Add encrypted partition to /etc/crypttab:
+swap/dev/nvme0n1p1 /dev/urandom
** Changed in: zfs-linux (Ubuntu Focal)
Importance: Undecided => Medium
** Changed in: zfs-linux (Ubuntu Focal)
Assignee: (unassigned) => Heitor Alves de Siqueira (halves)
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: zfs-linux (Ubuntu Focal)
Status: New => Confirmed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/
@halves could you take a look at this?
** Also affects: zfs-linux (Ubuntu Focal)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1875577
Tit
Any updates? I am having this issue and I don't even have a root on zfs.
Also it success eventually, but the log contains report of the cycle following
the "Job cryptsetup.target/start deleted to break ordering cycle" and then it
continue booting and loads it later on during the boot.
--
You re
The patch doesn’t fix all instances of the bug (see upstream report
linked above). I think we should clarify that before backporting it.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1
Could you please backport this to focal, too?
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1875577
Title:
Encrypted swap won't load on 20.04 with zfs root
Status in zfs-linux pack
This bug was fixed in the package zfs-linux - 0.8.4-1ubuntu5
---
zfs-linux (0.8.4-1ubuntu5) groovy; urgency=medium
[ Jean-Baptiste Lallement ]
[ Didier Roche ]
* debian/patches/4000-zsys-support.patch:
- Readd ZSys support erroneously dropped during previous debian merge.
Looks like the merge request is currently blocked. Can somebody ping me
when it's merged and I'll try and get this into Ubuntu 20.10 and SRU'd
into 20.04
** Changed in: zfs-linux (Ubuntu)
Importance: Undecided => Low
** Changed in: zfs-linux (Ubuntu)
Assignee: (unassigned) => Colin Ian Ki
Thanks! :)
On Sun, May 31, 2020 at 10:00 AM Richard Laager <1875...@bugs.launchpad.net>
wrote:
> I have submitted this upstream:
> https://github.com/openzfs/zfs/pull/10388
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bug
I have submitted this upstream:
https://github.com/openzfs/zfs/pull/10388
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1875577
Title:
Encrypted swap won't load on 20.04 with zfs ro
>Can you share a bit more details about how you have yours setup?
Sure!
Partitions:
root@eu1 ~ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:00 9.1T 0 disk
├─sda1 8:10 9.1T 0 part
└─sda9 8:90 8M 0 part
sdb 8:16
Can you share a bit more details about how you have yours setup? What
does your partition table look like, what does the MD config look like,
what do you have in /etc/fstab for swap, etc.? I'm running into weird
issues with this configuration, separate from this bug.
@didrocks: I'll try to get thi
While we are waiting for upstream to include the patch, is this bug
report and attached patch something that would be suitable for me to
share on zfs forums so other keen Ubuntu zfs-on-root users can have a
workaround, or would that constitute rushing out a fix without
review/testing?
--
You rec
Great to hear John! Thanks for confirming and thanks to Richard for the
patch.
I’m happy to SRU it to focal once it’s proposed upstream. (Keep me
posted Richard, you can drop a link here and I will monitor)
--
You received this bug notification because you are a member of Kernel
Packages, which
I changed the path names in the patch file and it applied. I rebooted
and it worked! :-)
May 5 23:06:33 eu1 kernel: [6.480412] Adding 135128956k swap on
/dev/mapper/md1swap. Priority:-2 extents:1 across:135128956k SSFS
I have all my ZFS filesystems mounted and I have mdraid1 swap. Thanks
fo
On an installed packaged system, the files are in different directories
(and don’t have the .in extension as they have been built with the
prefix replacement). Their names and locations are:
/lib/systemd/system/zfs-mount.service
/lib/systemd/system-generators/zfs-mount-generator
--
You received
Hi Richard and Dider, thanks - I have set up encrypted swap on mdraid1
instead. It works but is subject to the same cycle issue - sometimes
swap doesn't load, sometimes the boot zfs pool won't mount.
I went to apply the patch, but my system doesn't seem to have the two files
that are referenced,
...actually going over my notes again, I actually did install grub-
related zfs packages separately from debootstrap:
apt install --yes zfsutils-linux
apt install --yes zfs-initramfs
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-lin
Your patch makes sense Richard and I think it will be a good upstream
candidates. In all approaches you proposed, this is my prefered one
because this is the most flexible IMHO.
Tell me when you get a chance to test it and maybe John, you can confirm
this fixes it for you?
--
You received this b
I didn't get a chance to test the patch. I'm running into unrelated
issues.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1875577
Title:
Encrypted swap won't load on 20.04 with zfs
The attachment "2150-fix-systemd-dependency-loops.patch" seems to be a
patch. If it isn't, please remove the "patch" flag from the attachment,
remove the "patch" tag, and if you are a member of the ~ubuntu-
reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad us
This is a tricky one because all of the dependencies make sense in
isolation. Even if we remove the dependency added by that upstream
OpenZFS commit, given that modern systems use zfs-mount-generator,
systemd-random-seed.service is going to Require= and After= var-
lib.mount because of its Requires
John Gray: Everything else aside, you should mirror your swap instead of
striping it (which I think is what you're doing). With your current
setup, if a disk dies, your system will crash.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs
This isn't a systemd bug, it's a bug in zfs's zfs-mount.service, adding in this
upstream commit:
https://github.com/openzfs/zfs/commit/8ae8b2a1445bcccee1bb8ee7d4886f30050f6f53
That orders zfs-mount.service *before* systemd-random-seed.service, while
systemd's generator for cryptsetup orders *aft
** Package changed: systemd (Ubuntu) => zfs-linux (Ubuntu)
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1875577
Title:
Encrypted swap won't load on 20.04 with zfs root
Status in z
30 matches
Mail list logo