Installing package s390-tools-zkey reports cryptsetup: ERROR: Couldn't resolve device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
s390-tools (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Output from installing the s390-tools-zkey shows the following error:
cryptsetup: ERROR: Couldn't resolve device
UUID=
It's unclear if this ERROR has caused a problem, as the package completes it's installation with an exit code of zero.
$ lsb_release -rd
Description: Ubuntu 20.04 LTS
Release: 20.04
$ apt-cache policy s390-tools-zkey
s390-tools-zkey:
Installed: 2.12.0-0ubuntu3
Candidate: 2.12.0-0ubuntu3
Version table:
*** 2.12.0-0ubuntu3 500
500 http://
100 /var/lib/
$ sudo apt install s390-tools-zkey
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
s390-tools-zkey
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 98.6 kB of archives.
After this operation, 393 kB of additional disk space will be used.
Get:1 http://
Fetched 98.6 kB in 0s (4,759 kB/s)
Selecting previously unselected package s390-tools-zkey.
(Reading database ... 66524 files and directories currently installed.)
Preparing to unpack .../s390-
Unpacking s390-tools-zkey (2.12.0-0ubuntu3) ...
Setting up s390-tools-zkey (2.12.0-0ubuntu3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for initramfs-tools (0.136ubuntu6) ...
update-initramfs: Generating /boot/initrd.
cryptsetup: ERROR: Couldn't resolve device
UUID=
W: initramfs-tools configuration sets RESUME=
a4e7e20
W: but no matching swap device is available.
Using config file '/etc/zipl.conf'
Run /lib/s390-
Building bootmap in '/boot'
Building menu 'menu'
Adding #1: IPL section 'ubuntu' (default)
Adding #2: IPL section 'old'
Preparing boot device: dm-0.
Done.
ubuntu@s5lp8:~$ echo $?
0
tags: | added: s390x |
Changed in s390-tools (Ubuntu): | |
status: | New → Incomplete |
I wasn't able to re-create this on my LPAR (also using zFCP storage, installed with subiquity):
$ apt-cache policy s390-tools-zkey 12.0-0ubuntu3 500 ports.ubuntu. com/ubuntu- ports focal/main s390x Packages us.ports. ubuntu. com/ubuntu- ports focal/main s390x Packages ports.ubuntu. com/ubuntu- ports focal/main s390x s390-tools-zkey s390x 2.12.0-0ubuntu3 [98.6 kB] tools-zkey_ 2.12.0- 0ubuntu3_ s390x.deb ... img-5.4. 0-29-generic tools/zipl_ helper. device- mapper /boot ports.ubuntu. com/ubuntu- ports focal/main s390x s390-tools-zkey s390x 2.12.0-0ubuntu3 [98.6 kB] tools-zkey_ 2.12.0- 0ubuntu3_ s390x.deb ... img-5.4. 0-29-generic tools/zipl_ helper. device- mapper /boot
s390-tools-zkey:
Installed: (none)
Candidate: 2.12.0-0ubuntu3
Version table:
2.
500 http://
500 http://
$ sudo apt install s390-tools-zkey
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
s390-tools-zkey
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 98.6 kB of archives.
After this operation, 393 kB of additional disk space will be used.
Get:1 http://
Fetched 98.6 kB in 0s (372 kB/s)
Selecting previously unselected package s390-tools-zkey.
(Reading database ... 144203 files and directories currently installed.)
Preparing to unpack .../s390-
Unpacking s390-tools-zkey (2.12.0-0ubuntu3) ...
Setting up s390-tools-zkey (2.12.0-0ubuntu3) ...
Adding group `zkeyadm' (GID 119) ...
Done.
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for initramfs-tools (0.136ubuntu6) ...
update-initramfs: Generating /boot/initrd.
Using config file '/etc/zipl.conf'
Run /lib/s390-
Building bootmap in '/boot'
Adding IPL section 'ubuntu' (default)
Preparing boot device: dm-0.
Done.
$ sudo apt install s390-tools-zkey
Reading package lists... Done
Building dependency tree
Reading state information... Done
s390-tools-zkey is already the newest version (2.12.0-0ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
$ sudo apt install --reinstall s390-tools-zkey
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 98.6 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://
Fetched 98.6 kB in 0s (376 kB/s)
(Reading database ... 144213 files and directories currently installed.)
Preparing to unpack .../s390-
Unpacking s390-tools-zkey (2.12.0-0ubuntu3) over (2.12.0-0ubuntu3) ...
Setting up s390-tools-zkey (2.12.0-0ubuntu3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for initramfs-tools (0.136ubuntu6) ...
update-initramfs: Generating /boot/initrd.
Using config file '/etc/zipl.conf'
Run /lib/s390-
Building bootmap in '/boot'
Adding IPL section 'ubuntu' (default)
Preparing boot device: dm-0.
Done.
$
$ apt-cache policy cryptsetup ports.ubuntu. com/ubuntu- ports focal/main s390x Packages us.ports. ub...
cryptsetup:
Installed: 2:2.2.2-3ubuntu2
Candidate: 2:2.2.2-3ubuntu2
Version table:
*** 2:2.2.2-3ubuntu2 500
500 http://
500 http://