Skip to content

systemd-dissect --mount does not mount verity partitions #34807

Closed

Description

@septatrix

systemd version the issue has been seen with

255

Used distribution

Fedora 40

Linux kernel version used

6.11.3-200.fc40

CPU architectures issue was seen on

x86_64

Component

systemd-dissect

Expected behaviour you didn't see

Running systemd-dissect with the --mount flag on an image with a usr and usr-verity partition should also set up dm-verity

Unexpected behaviour you saw

The verify partition was not mounted

Steps to reproduce the problem

Additional program output to the terminal or log subsystem illustrating the issue

# systemd-dissect -M image-copy test
# lsblk
NAME      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0       7:0    0    55M  0 loop
├─loop0p1 259:0    0    16M  0 part /home/nekko/systemd-issue/test/efi
├─loop0p2 259:1    0    19M  0 part /home/nekko/systemd-issue/test/usr
└─loop0p3 259:2    0    19M  0 part
sda         8:0    0 388.4M  1 disk
sdb         8:16   0     4G  0 disk [SWAP]
sdc         8:32   0     1T  0 disk /mnt/wslg/distro
                                    /

Activity

  1. added
    bug 🐛
    on Oct 17, 2024
  2. septatrix commented on Oct 17, 2024

    @septatrix
    ContributorAuthor

    This is also very likely the culprit of #32029 as sd-repart depends on the verify partition to be mounted

  3. added this to the v258 milestone on Mar 6, 2025
  4. poettering commented on May 19, 2025

    @poettering
    Member

    Should be fixed by e34c898

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛dissect

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions