-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.5
-
libvirt-10.4.0-1.el9
-
Yes
-
None
-
Regression
-
rhel-sst-virtualization
-
ssg_virtualization
-
20
-
2
-
Dev ack
-
False
-
-
None
-
None
-
Pass
-
RegressionOnly
-
-
x86_64
-
10.4.0
-
None
What were you trying to do that didn't work?
Save to root_squash NFS file(664) failed with "Unknown error 255".
Worked well in automation jobs before libvirt-10.3.0-1.
Please provide the package NVR for which bug is seen:
libvirt-10.3.0-1.el9.x86_64
qemu-kvm-9.0.0-1.el9.x86_64
How reproducible:
100%
Steps to reproduce
1. Preparation: (1)setup NFS server, and a file to save to. # cat /etc/exports /test/squash *(rw,async,root_squash) # systemctl restart nfs-server # touch /test/squash/save # chown 107:107 /test/squash/save # chmod 664 /test/squash/save (2)# mount $NFS_ip:/test/squash /mnt # ls -l /mnt/save -rw-rw-r--. 1 qemu qemu 0 May 17 03:00 /mnt/save (3)# vi /etc/libvirt/qemu.conf dynamic_ownership = 0 # systemctl restart virtqemud (4)change disk image owner to be qemu:qemu 2. start vm # virsh start avocado-vt-vm1 Domain 'avocado-vt-vm1' started 3. try to save to nfs target file # virsh save avocado-vt-vm1 /mnt/save error: Failed to save domain 'avocado-vt-vm1' to /mnt/save error: Error from child process creating '/mnt/save': Unknown error 255 4. check file permission again: # ls -l /mnt/save -rw-rw----. 1 qemu qemu 0 May 17 03:53 /mnt/save
Expected results
Actual results
Additional info:
1. Not reproduced if simply downgrade libvirt to v10.0.0-7.el9.x86_64.
2. Can succeed if chmod 666(or 777, 006) instead, and original file permission does not change.
- is blocked by
-
RHEL-29642 Rebase libvirt in RHEL-9.5.0
- Closed
- links to
-
RHSA-2024:130953 libvirt bug fix and enhancement update