Setting up encrypted swap causes ordering cycle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zfs-linux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
root@home:~# cat /etc/crypttab
# <target name> <source device> <key file> <options>
cswap /dev/disk/
root@home:~# update-initramfs -u
update-initramfs: Generating /boot/initrd.
cryptsetup: WARNING: Resume target cswap uses a key file
After reboot:
root@home:~# systemctl status systemd-
● systemd-
Loaded: loaded (/lib/systemd/
Active: inactive (dead)
Docs: man:systemd-
May 16 18:29:16 home systemd[1]: <email address hidden>: Found dependency on cryptsetup.
May 16 18:29:16 home systemd[1]: <email address hidden>: Found dependency on <email address hidden>/start
May 16 18:29:16 home systemd[1]: <email address hidden>: Job systemd-
May 16 18:29:16 home systemd[1]: <email address hidden>: Found ordering cycle on systemd-
May 16 18:29:16 home systemd[1]: <email address hidden>: Found dependency on zfs-mount.
May 16 18:29:16 home systemd[1]: <email address hidden>: Found dependency on zfs-import.
May 16 18:29:16 home systemd[1]: <email address hidden>: Found dependency on zfs-import-
May 16 18:29:16 home systemd[1]: <email address hidden>: Found dependency on cryptsetup.
May 16 18:29:16 home systemd[1]: <email address hidden>: Found dependency on <email address hidden>/start
May 16 18:29:16 home systemd[1]: <email address hidden>: Job systemd-
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: systemd 245.4-4ubuntu3.6
ProcVersionSign
Uname: Linux 5.4.0-73-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckM
CasperMD5CheckR
Date: Sun May 16 18:40:45 2021
InstallationDate: Installed on 2021-01-21 (115 days ago)
InstallationMedia: Ubuntu-Server 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Lsusb:
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=
|__ Port 6: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
MachineType: System manufacturer System Product Name
ProcEnviron:
SHELL=/bin/bash
LANG=C.UTF-8
TERM=screen.
PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/14/2018
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 3801
dmi.board.
dmi.board.name: Z170-E
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.
dmi.sys.vendor: System manufacturer
This looks an awful lot like bug 1875577 and from reading the latest comments it seems like that was never fixed in focal.
Colin did you ever get focal updated with the fix for bug 1875577?