linux-modules for -kvm does not include dm-crypt

Bug #1982776 reported by Scott Moser
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux-kvm (Ubuntu)
Triaged
Undecided
Unassigned
Focal
Confirmed
Undecided
Unassigned
Jammy
Confirmed
Undecided
Unassigned

Bug Description

I was playing with an lxc virtual machine today and attempted some use of luks. a cryptseutp open fails with strange error message:

$ printf %s foobar | cryptsetup open --type=luks --key-file=- /dev/atom0/smtest_enc smtest
device-mapper: reload ioctl on failed: Invalid argument
$ echo $?
1

The reason is that the '-kvm' variant does not include dm-crypt.ko kernel module.

That by itself doens't seem like all that crazy of a thing, but if you notice the following 4 all do have dm-crypt, -kvm seems like it should not be an outlier.

linux-modules-5.15.0-1013-aws: /lib/modules/5.15.0-1013-aws/kernel/drivers/md/dm-crypt.ko
linux-modules-5.15.0-1013-azure: /lib/modules/5.15.0-1013-azure/kernel/drivers/md/dm-crypt.ko
linux-modules-5.15.0-1013-gcp: /lib/modules/5.15.0-1013-gcp/kernel/drivers/md/dm-crypt.ko
linux-modules-5.15.0-1013-oracle: /lib/modules/5.15.0-1013-oracle/kernel/drivers/md/dm-crypt.ko

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-modules-5.15.0-1010-kvm 5.15.0-1010.11
ProcVersionSignature: Ubuntu 5.15.0-1010.11-kvm 5.15.35
Uname: Linux 5.15.0-1010-kvm x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Mon Jul 25 16:01:09 2022
ProcEnviron:
 TERM=screen.xterm-256color
 PATH=(custom, no user)
 LANG=C.UTF-8
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Scott Moser (smoser) wrote :
Changed in linux-kvm (Ubuntu):
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-kvm (Ubuntu Focal):
status: New → Confirmed
Changed in linux-kvm (Ubuntu Jammy):
status: New → Confirmed
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.