I reach the upper virFileGetXAttrQuiet
Thread 3.1 "libvirtd" hit Breakpoint 10, virFileGetXAttrQuiet (path=path@entry=0x7f8c50041390 "/var/lib/uvtool/libvirt/images/testguest-ds.qcow", name=name@entry=0x7f8c1803dc40 "trusted.libvirt.security.ref_dac", value=value@entry=0x7f8c29b605e0) at ../../../src/util/virfile.c:4418
And it is the implementation of
4412 #else /* !HAVE_LIBATTR */ 4413 4414 int 4415 virFileGetXAttrQuiet(const char *path G_GNUC_UNUSED, 4416 const char *name G_GNUC_UNUSED, 4417 char **value G_GNUC_UNUSED) 4418 { 4419 errno = ENOSYS; 4420 return -1; 4421 }
which is our ENOSYS.
There are two issues with that. #1 - why do we have !HAVE_LIBATTR #2 - I think never having set any XATTR the driver shouldn't bail out unable to remove them
I reach the upper virFileGetXAttr Quiet
Thread 3.1 "libvirtd" hit Breakpoint 10, virFileGetXAttr Quiet (path=path@ entry=0x7f8c500 41390 "/var/lib/ uvtool/ libvirt/ images/ testguest- ds.qcow" , name@entry= 0x7f8c1803dc40 "trusted. libvirt. security. ref_dac" , value=value@ entry=0x7f8c29b 605e0) at ../../. ./src/util/ virfile. c:4418
name=
And it is the implementation of
4412 #else /* !HAVE_LIBATTR */ Quiet(const char *path G_GNUC_UNUSED,
4413
4414 int
4415 virFileGetXAttr
4416 const char *name G_GNUC_UNUSED,
4417 char **value G_GNUC_UNUSED)
4418 {
4419 errno = ENOSYS;
4420 return -1;
4421 }
which is our ENOSYS.
There are two issues with that.
#1 - why do we have !HAVE_LIBATTR
#2 - I think never having set any XATTR the driver shouldn't bail out unable to remove them