Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-111374

v2v conversion fails after updating selinux-policy to 42.1.7-1 

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • No
    • Impediment
    • Critical
    • rhel-security-selinux
    • None
    • True
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      Description of problem:
      v2v conversion fails after updating selinux-policy to 42.1.7-1 

      Version-Release number of selected component (if applicable):
      virt-v2v-2.8.1-8.el10.x86_64
      libguestfs-1.56.1-3.el10.x86_64
      guestfs-tools-1.54.0-3.el10.x86_64
      selinux-policy-42.1.7-1.el10.noarch

      How reproducible:
      100%

      Steps:
      1.  Convert a guest from  VMware by v2v

      1. virt-v2v -ic vpx://non-admin%40vsphere.local@10.73.212.129/data/10.73.212.36/?no_verify=1  -it vddk -io vddk-libdir=/home/vddk9.0.0  -io vddk-thumbprint=0D:86:09:22:3A:D5:2D:2E:54:E6:08:EC:C5:F0:25:7F:44:C2:87:E7 -ip /home/passwd esx8.0-ubuntu18.04-without-boot-partition
        [   0.0] Setting up the source: -i libvirt -ic vpx://non-admin%40vsphere.local@10.73.212.129/data/10.73.212.36/?no_verify=1 -it vddk esx8.0-ubuntu18.04-without-boot-partition
        [   1.8] Opening the source
        virt-v2v: error: libguestfs error: could not create appliance through 
        libvirt. Original error from libvirt: unable create new SELinux label based 
        on label 'system_u:system_r:svirt_t:s0:c269,c954' and file 
        '/usr/bin/passt': Invalid argument [code=38 int1=22]

      If reporting bugs, run virt-v2v with debugging enabled and include the 
      complete output:

        virt-v2v -v -x [...]

       

      Actual result:
      As above description

      Expect result:
      Fix the bug

      Additional info
      Can't reproduce the bug with selinux-policy-42.1.6-1.el10.noarch

              rhn-support-zpytela Zdenek Pytela
              mxie@redhat.com Ming Xie
              Zdenek Pytela Zdenek Pytela
              Milos Malik Milos Malik
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated: