24.04 - partitioning: cryptsetup: No such file or directory

Bug #2043585 reported by sudodus
74
This bug affects 6 people
Affects Status Importance Assigned to Milestone
subiquity
Fix Released
High
Olivier Gayot

Bug Description

Maybe similar to bug 2043301 in Lubuntu with the installer Calamares, that also affects LVM with encryption in Noble.

A standard installation in the same computer works.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: subiquity (unknown)
ProcVersionSignature: Ubuntu 6.5.0-9.9-generic 6.5.3
Uname: Linux 6.5.0-9-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.27.0-0ubuntu6
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.487
CloudArchitecture: x86_64
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSubPlatform: seed-dir (/var/lib/cloud/seed/nocloud)
CurtinAptConfig: /var/log/installer/subiquity-curtin-apt.conf
Date: Wed Nov 15 12:23:03 2023
DesktopInstallerRev: 1272
ExecutablePath: /snap/ubuntu-desktop-installer/1272/bin/subiquity/subiquity/cmd/server.py
InterpreterPath: /snap/ubuntu-desktop-installer/1272/usr/bin/python3.10
LiveMediaBuild: Ubuntu 24.04 "Noble Numbat" - Daily amd64 (20231115.1)
MachineType: TOSHIBA SATELLITE PRO C850-19W
ProcAttrCurrent: snap.hostname-desktop-installer.subiquity-server (complain)
ProcCmdline: /snap/hostname-desktop-installer/1272/usr/bin/python3.10 -m subiquity.cmd.server --use-os-prober --storage-version=2 --postinst-hooks-dir=/snap/hostname-desktop-installer/1272/etc/subiquity/postinst.d
ProcEnviron:
 LANG=C.UTF-8
 LD_LIBRARY_PATH=<set>
 PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz layerfs-path=minimal.standard.live.squashfs --- quiet splash
Python3Details: /usr/bin/python3.11, Python 3.11.6, python3-minimal, 3.11.4-5
PythonDetails: N/A
SnapChannel:

SnapRevision: 1272
SnapUpdated: False
SnapVersion: 0+git.417b2d8a
SourcePackage: subiquity
Title: install failed crashed with CalledProcessError
UdiLog: Error: [Errno 40] Too many levels of symbolic links: '/var/log/installer/ubuntu_desktop_installer.log'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/24/2012
dmi.bios.release: 6.10
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: 6.10
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: PLCSF8
dmi.board.vendor: Intel
dmi.board.version: Type2 - Board Version
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: OEM Chassis Manufacturer
dmi.chassis.version: OEM Chassis Version
dmi.ec.firmware.release: 6.0
dmi.modalias: dmi:bvnInsydeCorp.:bvr6.10:bd09/24/2012:br6.10:efr6.0:svnTOSHIBA:pnSATELLITEPROC850-19W:pvrPSCBXE-00C00VN5:rvnIntel:rnPLCSF8:rvrType2-BoardVersion:cvnOEMChassisManufacturer:ct10:cvrOEMChassisVersion:skuPSCBXE:
dmi.product.family: Type1Family
dmi.product.name: SATELLITE PRO C850-19W
dmi.product.sku: PSCBXE
dmi.product.version: PSCBXE-00C00VN5
dmi.sys.vendor: TOSHIBA

Revision history for this message
sudodus (nio-wiklund) wrote :
information type: Private → Public
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
https://iso.qa.ubuntu.com/qatracker/reports/bugs/2043585

tags: added: iso-testing
Olivier Gayot (ogayot)
summary: - install failed crashed with CalledProcessError
+ partitioning: cryptsetup: No such file or directory
Revision history for this message
Jane Atkinson (irihapeti) wrote : Re: partitioning: cryptsetup: No such file or directory

Also happening in QEMU/KVM VM.

Revision history for this message
Olivier Gayot (ogayot) wrote :

Hello,

Thank you all for the bug reports. I've marked a few private bugs as duplicates of this one ; and will use this one for tracking.

I'll look into this issue now.

Thanks,
Olivier

summary: - partitioning: cryptsetup: No such file or directory
+ 24.04 - partitioning: cryptsetup: No such file or directory
Changed in subiquity:
assignee: nobody → Olivier Gayot (ogayot)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Olivier Gayot (ogayot) wrote (last edit ):

I assume cryptsetup should be seeded in `ubuntu: daily-live` and it is not ATM.

$ seeded-in-ubuntu cryptsetup
cryptsetup (from cryptsetup) is seeded in:
  edubuntu: daily-live
  kubuntu: daily-live
  lubuntu: daily-live
  ubuntu-budgie: daily-legacy, daily-live
  ubuntu-mate: daily-live
  ubuntu-server: daily-live, daily-preinstalled
  ubuntu-unity: daily-live
  ubuntu: daily-preinstalled
  ubuntucinnamon: daily-live
  ubuntukylin: daily-live
  ubuntustudio: dvd
  xubuntu: daily-live, daily-minimal

Revision history for this message
Olivier Gayot (ogayot) wrote (last edit ):

This was probably broken when removing ubiquity from the seeds [1] since installing ubiquity-frontend-gtk pulls crypsetup

[1] https://git.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/+git/ubuntu/commit/?id=94b5b2d447fcacfc671e3afcd59b60d808c1dc64

Revision history for this message
Paolo Gentili (pgentili) wrote :

Similar situation with TPMFDE, logs attached but the Traceback is quite clear:
```
cannot encrypt "/dev/sda3": cannot format encrypted device: cannot format %!s(MISSING): cannot start cryptsetup: exec: "cryptsetup": executable file not found in $PATH
```

Olivier Gayot (ogayot)
Changed in subiquity:
status: In Progress → Fix Committed
Olivier Gayot (ogayot)
Changed in subiquity:
status: Fix Committed → Fix Released
Revision history for this message
Tomaz Strukelj (cofkomail) wrote :

Issue still present on Ubuntu Mate latest beta ISO, in the installer I selected "Use LVM with encryption".
ISO file : ubuntu-mate-24.04-beta-desktop-amd64.iso , 2024-04-10 22:53 .

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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