Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Encrypt Two LVM or Drives #281

Open
Reproduce2446 opened this issue Feb 17, 2024 · 0 comments
Open

Unable to Encrypt Two LVM or Drives #281

Reproduce2446 opened this issue Feb 17, 2024 · 0 comments

Comments

@Reproduce2446
Copy link

Reproduce2446 commented Feb 17, 2024

Distribution (run cat /etc/os-release):

22.04 LTS

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

N/a

Issue/Bug Description:

Using the installer for PopOS! I am unable to encrypt more than one drive and or more than 1 LVM at a time. I have two SSD's on my machine, and wanted to encrypt one drive for home, and one drive for root. However after trying for a while I realized this was not going to work. So instead I attempted to create and encrypt one LVM on one drive and one LVM on the other. I was able to encrypt but and decrepyt within the launcher. However once moving on from Partition and choosing drives it would throw an error and could not install.

Steps to reproduce (if you know):

A guide that I followed was here. Except I created and encrypted a second Volume Group.

Expected behavior:

Unable to install.

Other Notes:

Error Log from /tmp

[INFO distinst:crates/disks/src/config/disks.rs:596] probed "/dev/sda"
[INFO distinst:crates/disks/src/config/disk.rs:164] obtaining disk information from /dev/sda
[INFO distinst:crates/disks/src/serial.rs:14] obtaining serial model from /dev/sda
[INFO distinst:crates/disk-ops/src/parted.rs:31] opening disk at /dev/sda
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sda1
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sda2
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sda3
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sda4
[INFO distinst:crates/disks/src/config/disks.rs:596] probed "/dev/sdb"
[INFO distinst:crates/disks/src/config/disk.rs:164] obtaining disk information from /dev/sdb
[INFO distinst:crates/disks/src/serial.rs:14] obtaining serial model from /dev/sdb
[INFO distinst:crates/disk-ops/src/parted.rs:31] opening disk at /dev/sdb
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sdb1
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sdb2
[INFO distinst:crates/disks/src/config/disks.rs:596] probed "/dev/sdc"
[INFO distinst:crates/disks/src/config/disk.rs:164] obtaining disk information from /dev/sdc
[INFO distinst:crates/disks/src/serial.rs:14] obtaining serial model from /dev/sdc
[INFO distinst:crates/disk-ops/src/parted.rs:31] opening disk at /dev/sdc
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sdc2
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sdc3
[INFO distinst:crates/disks/src/config/disks.rs:596] probed "/dev/zram0"
[INFO distinst:crates/external/src/lvm.rs:209] obtaining list of physical volumes
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sda"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sdb"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sdc"
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda1" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda2" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda3" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda4" has mount_opt None
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sda1"
[INFO distinst:crates/os-detect/src/lib.rs:52] detecting OS from device: "/dev/sda1"
[INFO distinst:crates/os-detect/src/lib.rs:68] detecting OS from "/tmp/distinst.OsdYRMcj8Rep"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.OsdYRMcj8Rep/EFI"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.OsdYRMcj8Rep/loader"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.OsdYRMcj8Rep/e5c46c86a3ac6110d0f9634665cd7d29"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sda2"
[INFO distinst:crates/os-detect/src/lib.rs:52] detecting OS from device: "/dev/sda2"
[INFO distinst:crates/os-detect/src/lib.rs:68] detecting OS from "/tmp/distinst.OsNcaWduEtUz"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.OsNcaWduEtUz/.disk"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.OsNcaWduEtUz/dists"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.OsNcaWduEtUz/pool"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.OsNcaWduEtUz/casper-D0C3-D97A"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.OsNcaWduEtUz/recovery.conf"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sda3"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sda4"
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda1" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda2" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda3" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda4" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda1" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda2" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda3" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda4" has mount_opt None
[INFO distinst:src/auto/options/mod.rs:176] found erase option on "/dev/sda": 234441648 sectors
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdb1" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdb2" has mount_opt None
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sdb1"
[INFO distinst:crates/os-detect/src/lib.rs:52] detecting OS from device: "/dev/sdb1"
[INFO distinst:crates/os-detect/src/lib.rs:68] detecting OS from "/tmp/distinst.H0xYdt7zlGT3"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.H0xYdt7zlGT3/simon"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.H0xYdt7zlGT3/lost+found"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sdb2"
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdb1" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdb2" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdb1" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdb2" has mount_opt None
[INFO distinst:src/auto/options/mod.rs:176] found erase option on "/dev/sdb": 1953525168 sectors
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdc1" has mount_opt Some(MountInfo { source: "/dev/sdc1", dest: "/cdrom", fstype: "iso9660", options: ["ro", "noatime", "nojoliet", "check=s", "map=n", "blocksize=2048", "iocharset=utf8"], dump: 0, pass: 0 })
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdc2" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdc3" has mount_opt Some(MountInfo { source: "/dev/sdc3", dest: "/var/log", fstype: "ext4", options: ["rw", "relatime"], dump: 0, pass: 0 })
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sdc2"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sdc3"
[INFO distinst:crates/os-detect/src/lib.rs:52] detecting OS from device: "/dev/sdc3"
[INFO distinst:crates/os-detect/src/lib.rs:68] detecting OS from "/tmp/distinst.xr3CZ7FVJstO"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.xr3CZ7FVJstO/install-logs-2024-02-14.1"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.xr3CZ7FVJstO/lost+found"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.xr3CZ7FVJstO/install-logs-2024-02-14.2"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.xr3CZ7FVJstO/install-logs-2024-02-15.0"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.xr3CZ7FVJstO/install-logs-2024-02-14.6"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.xr3CZ7FVJstO/install-logs-2024-02-17.0"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.xr3CZ7FVJstO/install-logs-2024-02-14.4"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.xr3CZ7FVJstO/install-logs-2024-02-14.5"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.xr3CZ7FVJstO/install-logs-2024-02-14.0"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.xr3CZ7FVJstO/install-logs-2024-02-14.10"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.xr3CZ7FVJstO/install-logs-2024-02-14.3"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.xr3CZ7FVJstO/install-logs-2024-02-14.7"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.xr3CZ7FVJstO/install-logs-2024-02-14.11"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.xr3CZ7FVJstO/install-logs-2024-02-14.9"
[INFO distinst:crates/os-detect/src/lib.rs:71] Found "/tmp/distinst.xr3CZ7FVJstO/install-logs-2024-02-14.8"
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdc1" has mount_opt Some(MountInfo { source: "/dev/sdc1", dest: "/cdrom", fstype: "iso9660", options: ["ro", "noatime", "nojoliet", "check=s", "map=n", "blocksize=2048", "iocharset=utf8"], dump: 0, pass: 0 })
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdc2" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdc3" has mount_opt Some(MountInfo { source: "/dev/sdc3", dest: "/var/log", fstype: "ext4", options: ["rw", "relatime"], dump: 0, pass: 0 })
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdc1" has mount_opt Some(MountInfo { source: "/dev/sdc1", dest: "/cdrom", fstype: "iso9660", options: ["ro", "noatime", "nojoliet", "check=s", "map=n", "blocksize=2048", "iocharset=utf8"], dump: 0, pass: 0 })
[INFO distinst:src/auto/options/mod.rs:171] install options: skipping options on "/dev/sdc"
[INFO distinst:crates/disks/src/config/disks.rs:596] probed "/dev/sda"
[INFO distinst:crates/disks/src/config/disk.rs:164] obtaining disk information from /dev/sda
[INFO distinst:crates/disks/src/serial.rs:14] obtaining serial model from /dev/sda
[INFO distinst:crates/disk-ops/src/parted.rs:31] opening disk at /dev/sda
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sda1
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sda2
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sda3
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sda4
[INFO distinst:crates/disks/src/config/disks.rs:596] probed "/dev/sdb"
[INFO distinst:crates/disks/src/config/disk.rs:164] obtaining disk information from /dev/sdb
[INFO distinst:crates/disks/src/serial.rs:14] obtaining serial model from /dev/sdb
[INFO distinst:crates/disk-ops/src/parted.rs:31] opening disk at /dev/sdb
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sdb1
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sdb2
[INFO distinst:crates/disks/src/config/disks.rs:596] probed "/dev/sdc"
[INFO distinst:crates/disks/src/config/disk.rs:164] obtaining disk information from /dev/sdc
[INFO distinst:crates/disks/src/serial.rs:14] obtaining serial model from /dev/sdc
[INFO distinst:crates/disk-ops/src/parted.rs:31] opening disk at /dev/sdc
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sdc2
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sdc3
[INFO distinst:crates/disks/src/config/disks.rs:596] probed "/dev/zram0"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sda"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sdb"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sdc"
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda1" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda2" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda3" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda4" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda1" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda2" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda3" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sda4" has mount_opt None
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sda"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sda1"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sda2"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sda3"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sda4"
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdb1" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdb2" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdb1" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdb2" has mount_opt None
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sdb"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sdb1"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sdb2"
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdc1" has mount_opt Some(MountInfo { source: "/dev/sdc1", dest: "/cdrom", fstype: "iso9660", options: ["ro", "noatime", "nojoliet", "check=s", "map=n", "blocksize=2048", "iocharset=utf8"], dump: 0, pass: 0 })
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdc2" has mount_opt None
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdc3" has mount_opt Some(MountInfo { source: "/dev/sdc3", dest: "/var/log", fstype: "ext4", options: ["rw", "relatime"], dump: 0, pass: 0 })
[INFO distinst:crates/disks/src/config/disk_trait.rs:60] child_dev "/dev/sdc1" has mount_opt Some(MountInfo { source: "/dev/sdc1", dest: "/cdrom", fstype: "iso9660", options: ["ro", "noatime", "nojoliet", "check=s", "map=n", "blocksize=2048", "iocharset=utf8"], dump: 0, pass: 0 })
[INFO distinst:crates/disks/src/config/disks.rs:596] probed "/dev/sda"
[INFO distinst:crates/disks/src/config/disk.rs:164] obtaining disk information from /dev/sda
[INFO distinst:crates/disks/src/serial.rs:14] obtaining serial model from /dev/sda
[INFO distinst:crates/disk-ops/src/parted.rs:31] opening disk at /dev/sda
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sda1
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sda2
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sda3
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sda4
[INFO distinst:crates/disks/src/config/disks.rs:596] probed "/dev/sdb"
[INFO distinst:crates/disks/src/config/disk.rs:164] obtaining disk information from /dev/sdb
[INFO distinst:crates/disks/src/serial.rs:14] obtaining serial model from /dev/sdb
[INFO distinst:crates/disk-ops/src/parted.rs:31] opening disk at /dev/sdb
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sdb1
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sdb2
[INFO distinst:crates/disks/src/config/disks.rs:596] probed "/dev/sdc"
[INFO distinst:crates/disks/src/config/disk.rs:164] obtaining disk information from /dev/sdc
[INFO distinst:crates/disks/src/serial.rs:14] obtaining serial model from /dev/sdc
[INFO distinst:crates/disk-ops/src/parted.rs:31] opening disk at /dev/sdc
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sdc2
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sdc3
[INFO distinst:crates/disks/src/config/disks.rs:596] probed "/dev/zram0"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sda"
[ERROR distinst:ffi/src/lib.rs:49] libdistinst: pointer in FFI is null
[INFO distinst:crates/disks/src/config/disks.rs:465] decrypting partition at "/dev/sdb2"
[INFO distinst:crates/external/src/lvm.rs:51] searching for device maps to deactivate
[INFO distinst:crates/disks/src/external.rs:117] cryptsetup is opening /dev/sdb2 with pv cryptdata and LvmEncryption { physical_volume: cryptdata, password: hidden, keydata: None }
[INFO distinst:crates/external/src/lib.rs:34] executing cryptsetup with ["open", "/dev/sdb2", "cryptdata"]
[INFO distinst:crates/disks/src/config/disks.rs:480] which belongs to PV "/dev/mapper/cryptdata"
[INFO distinst:crates/external/src/lvm.rs:209] obtaining list of physical volumes
[INFO distinst:crates/disks/src/config/disks.rs:499] settings luks_parent to "/dev/sdb2"
[INFO distinst:crates/disks/src/config/lvm/mod.rs:183] adding partitions to LVM device
[INFO distinst:crates/external/src/lvm.rs:248] activating 'volumegroup02'
[INFO distinst:crates/external/src/lib.rs:34] executing vgchange with ["-ffyay", "volumegroup02"]
[INFO distinst:crates/external/src/lvm.rs:159] obtaining logical volumes on volumegroup02
[INFO distinst:ffi/src/lvm.rs:77] getting logical device
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/volumegroup02"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/dm-1"
[ERROR distinst:ffi/src/lib.rs:49] libdistinst: pointer in FFI is null
[INFO distinst:crates/disks/src/config/disks.rs:465] decrypting partition at "/dev/sda3"
[INFO distinst:crates/external/src/lvm.rs:51] searching for device maps to deactivate
[INFO distinst:crates/disks/src/external.rs:117] cryptsetup is opening /dev/sda3 with pv cryptdata0 and LvmEncryption { physical_volume: cryptdata0, password: hidden, keydata: None }
[INFO distinst:crates/external/src/lib.rs:34] executing cryptsetup with ["open", "/dev/sda3", "cryptdata0"]
[INFO distinst:crates/disks/src/config/disks.rs:480] which belongs to PV "/dev/mapper/cryptdata0"
[INFO distinst:crates/external/src/lvm.rs:209] obtaining list of physical volumes
[INFO distinst:crates/disks/src/config/disks.rs:499] settings luks_parent to "/dev/sda3"
[INFO distinst:crates/disks/src/config/lvm/mod.rs:183] adding partitions to LVM device
[INFO distinst:crates/external/src/lvm.rs:248] activating 'volgroup01'
[INFO distinst:crates/external/src/lib.rs:34] executing vgchange with ["-ffyay", "volgroup01"]
[INFO distinst:crates/external/src/lvm.rs:159] obtaining logical volumes on volgroup01
[INFO distinst:ffi/src/lvm.rs:77] getting logical device
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/volgroup01"
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/dm-3"
[INFO distinst:crates/disk-ops/src/parted.rs:8] getting device at /dev/sda
[INFO distinst:crates/disks/src/config/disk.rs:164] obtaining disk information from /dev/sda
[INFO distinst:crates/disks/src/serial.rs:14] obtaining serial model from /dev/sda
[INFO distinst:crates/disk-ops/src/parted.rs:31] opening disk at /dev/sda
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sda1
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sda2
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sda3
[INFO distinst:crates/disks/src/config/partitions/mod.rs:119] obtaining partition information from /dev/sda4
[DEBUG distinst:crates/disk-types/src/sector.rs:17] get block size for "/sys/class/block/sda"
[ERROR distinst:ffi/src/lib.rs:49] libdistinst: pointer in FFI is null
[INFO distinst:crates/disks/src/config/disks.rs:465] decrypting partition at "/dev/sdb2"
[ERROR distinst:ffi/src/disk.rs:677] decryption error: LUKS partition at '"/dev/sdb2"' was not found
[ERROR distinst:ffi/src/lib.rs:49] libdistinst: pointer in FFI is null
[INFO distinst:crates/disks/src/config/disks.rs:465] decrypting partition at "/dev/sda3"
[INFO distinst:crates/external/src/lvm.rs:51] searching for device maps to deactivate
[INFO distinst:crates/external/src/lvm.rs:209] obtaining list of physical volumes
[INFO distinst:crates/external/src/lvm.rs:159] obtaining logical volumes on volgroup01
[INFO distinst:crates/external/src/lvm.rs:266] deactivating 'volgroup01'
[INFO distinst:crates/external/src/lib.rs:34] executing vgchange with ["-ffyan", "volgroup01"]
[INFO distinst:crates/external/src/lib.rs:34] executing cryptsetup with ["close", "/dev/mapper/cryptdata0"]
[INFO distinst:crates/disks/src/external.rs:117] cryptsetup is opening /dev/sda3 with pv cryptdata0 and LvmEncryption { physical_volume: cryptdata0, password: hidden, keydata: None }
[INFO distinst:crates/external/src/lib.rs:34] executing cryptsetup with ["open", "/dev/sda3", "cryptdata0"]
[INFO distinst:crates/disks/src/config/disks.rs:480] which belongs to PV "/dev/mapper/cryptdata0"
[INFO distinst:crates/external/src/lvm.rs:209] obtaining list of physical volumes
[INFO distinst:crates/disks/src/config/disks.rs:499] settings luks_parent to "/dev/sda3"
[INFO distinst:crates/disks/src/config/lvm/mod.rs:183] adding partitions to LVM device
[INFO distinst:crates/external/src/lvm.rs:248] activating 'volgroup01'
[INFO distinst:crates/external/src/lib.rs:34] executing vgchange with ["-ffyay", "volgroup01"]
[INFO distinst:crates/external/src/lvm.rs:159] obtaining logical volumes on volgroup01
[INFO distinst:ffi/src/lvm.rs:55] getting logical device named 'volumegroup02'
@leviport leviport transferred this issue from pop-os/pop Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant