Libvirt Core 198 Unable to backup

Hi,

I noted after updating to Core 198 and libvirt 11.7.0 addon that my libvirt backups have started to fail, getting this error:

[root@ipfire ~]# virsh backup-begin $VMName
error: internal error: Unable to parse RelaxNG schema '/usr/share/libvirt/schemas/domainbackup.rng': xmlRelaxNG: could not load /usr/share/libvirt/schemas/sysinfocommon.rng
Failed to load include /usr/share/libvirt/schemas/sysinfocommon.rng
Reference sysinfo-smbios-group-system has no matching definition
Reference sysinfo-smbios-group-chassis has no matching definition
Reference sysinfo-smbios-group-oemstrings has no matching definition
Reference sysinfo-smbios-group-baseboard has no matching definition
Reference sysinfo-smbios-group-bios has no matching definition
Reference sysinfo-fwcfg-entry has no matching definition

The first error shows a file missing ‘sysinfocommon.rng’. This file isnt present on my system, and I’ve not had a lot of luck locating this file on Google, or when it was added (or removed based on the libvirt version 11.7.0 number in 198).

Anyone able to do me a favour and see if libvirt on their 198 install has this file, or they get the same issue running backups?

Libvirt is otherwise working fine.

I found a copy of the file here, https://raw.githubusercontent.com/patchew-project/libvirt/refs/tags/patchew/b4c6e35c0ebdcd4e753f56db72d56c9174d30900.1752574532.git.phrdina%40redhat.com/src/conf/schemas/sysinfocommon.rng

This looks to have resolved my backup issue, however I guess the question remains, is there an issue with the update, or did something go wrong on my install?

So for CU198 libvirt was updated from 11.4.0 to 11.7.0 and sysinfo.rng and sysinfocommon.rng were two new files that were added.

I had commented those two files out in the rootfile as they weren’t provided in libvirt-11.4.0

I don’t use libvirt so have no testing ability. Unfortunately no IPFire user evaluated libvirt-11.7.0 during the testing phase.

Based on your input those two files should actually be uncommented.

I will submit a patch to uncomment those two entries in the rootfile so that they are actually available.

1 Like

Thanks :+1:

When this gets changed, how do I get those two files now that I already have an existing install? Will I be able to download them and upload them?

Presuming the patch gets into cu199, which seems reasonable, then when you do the update to it the files will be updated.

Patch has been submitted.

2 Likes