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

Enable ZFS for libvirt package

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • rhel-10.1, rhel-9.7
    • libvirt
    • None
    • None
    • None
    • rhel-virt-core-libvirt-1
    • Patch
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      In the SPEC file, a silly option prevents the 'libvirt-daemon-driver-storage-zfs' from being built. I had adjusted this once and it builds great under RHEL-9/10.

      And it only installs if the necessary ZFS packages have been installed beforehand. Since it's only a small change, I would be happy if it were adopted.

       

      I know that ZFS is not officially supported, but this would make life much easier for administrators who have to use ZFS.

      Here is the small patch:

       --- libvirt.spec	2026-01-28 04:49:20.000000000 +0100
      +++ SPECS/libvirt.spec	2026-01-31 22:33:32.203441944 +0100
      @@ -79,7 +79,7 @@
       %if 0%{?fedora}
           %define with_storage_zfs      0%{!?_without_storage_zfs:1}
       %else
      -    %define with_storage_zfs      0
      +    %define with_storage_zfs 1
       %endif
       
       %define with_storage_iscsi_direct 0%{!?_without_storage_iscsi_direct:1}

      Thanks

              virt-maint virt-maint
              bugzilla_terrortux Frank Büttner
              virt-maint virt-maint
              virt-bugs virt-bugs
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: