Installing package s390-tools-zkey reports cryptsetup: ERROR: Couldn't resolve device

Bug #1874138 reported by John George
6
This bug affects 1 person
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=ff81d97b-e273-4ec3-8e82-a2c0aa4e7e20

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://us.ports.ubuntu.com/ubuntu-ports focal/main s390x Packages
        100 /var/lib/dpkg/status

$ 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://us.ports.ubuntu.com/ubuntu-ports focal/main s390x s390-tools-zkey s390x 2.12.0-0ubuntu3 [98.6 kB]
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-tools-zkey_2.12.0-0ubuntu3_s390x.deb ...
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.img-5.4.0-26-generic
cryptsetup: ERROR: Couldn't resolve device
    UUID=ff81d97b-e273-4ec3-8e82-a2c0aa4e7e20
W: initramfs-tools configuration sets RESUME=UUID=ff81d97b-e273-4ec3-8e82-a2c0a
a4e7e20
W: but no matching swap device is available.
Using config file '/etc/zipl.conf'
Run /lib/s390-tools/zipl_helper.device-mapper /boot
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: s390x
John George (jog)
tags: added: s390x
Revision history for this message
Frank Heimes (fheimes) wrote :
Download full text (3.5 KiB)

I wasn't able to re-create this on my LPAR (also using zFCP storage, installed with subiquity):

$ apt-cache policy s390-tools-zkey
s390-tools-zkey:
  Installed: (none)
  Candidate: 2.12.0-0ubuntu3
  Version table:
     2.12.0-0ubuntu3 500
        500 http://ports.ubuntu.com/ubuntu-ports focal/main s390x Packages
        500 http://us.ports.ubuntu.com/ubuntu-ports focal/main s390x Packages
$ 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://ports.ubuntu.com/ubuntu-ports focal/main s390x s390-tools-zkey s390x 2.12.0-0ubuntu3 [98.6 kB]
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-tools-zkey_2.12.0-0ubuntu3_s390x.deb ...
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.img-5.4.0-29-generic
Using config file '/etc/zipl.conf'
Run /lib/s390-tools/zipl_helper.device-mapper /boot
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://ports.ubuntu.com/ubuntu-ports focal/main s390x s390-tools-zkey s390x 2.12.0-0ubuntu3 [98.6 kB]
Fetched 98.6 kB in 0s (376 kB/s)
(Reading database ... 144213 files and directories currently installed.)
Preparing to unpack .../s390-tools-zkey_2.12.0-0ubuntu3_s390x.deb ...
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.img-5.4.0-29-generic
Using config file '/etc/zipl.conf'
Run /lib/s390-tools/zipl_helper.device-mapper /boot
Building bootmap in '/boot'
Adding IPL section 'ubuntu' (default)
Preparing boot device: dm-0.
Done.
$

$ apt-cache policy cryptsetup
cryptsetup:
  Installed: 2:2.2.2-3ubuntu2
  Candidate: 2:2.2.2-3ubuntu2
  Version table:
 *** 2:2.2.2-3ubuntu2 500
        500 http://ports.ubuntu.com/ubuntu-ports focal/main s390x Packages
        500 http://us.ports.ub...

Read more...

Changed in s390-tools (Ubuntu):
status: New → Incomplete
Revision history for this message
Frank Heimes (fheimes) wrote :

I tried this again on two additional systems (and LPAR and a z/VM guest) and it worked in both cases, so I assume that is was a race situation.
I will re-try again with the RC that will come out soon and will decide based on the test of that.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for s390-tools (Ubuntu) because there has been no activity for 60 days.]

Changed in s390-tools (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.