Transferring larger files to a qube with NFS or CIFS/SMB mounted share crashes the qube #9670
Labels
affects-4.2
This issue affects Qubes OS 4.2.
C: networking
C: storage
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
R: self-closed
Voluntarily closed by the person who opened it before another resolution occurred.
T: bug
Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
How to file a helpful issue
Qubes OS release
Qubes Release 4.2.3 (R4.2) -- tested with kernel-default and kernel-latest
Brief summary
Any transfer to
or froma qube with an NFS mount from a local NFSv3/NFSv4 server crashes/stalls the qube. After some time you'll have to kill the instance. No matter what template (tried it with Debian-12, Fedora-40 and Fedora-41) -- so SELinux is not the culprit.Tried it with different server shares on different machines (Debian server with kernel NFS, OmniOS server with kernel NFS, TrueNAS Core/FreeBSD with NFS daemon).
On the command line after mounting the share within a qube everything works fine ... creating dirs, listing, touching files, deleting, renaming/moving, editing ... no matter the mount is NFSv3 or NFSv4. The same mounts work with "bare metal" linux clients (tried Debian and Arch) and MacOS. Even with larger files (500MB and above). But as soon as a qube tries to write to
or read larger data fromthe share, the qube dies. The resources are fine (4GB/8GB/16GB -- you name it -- 40GB, 80GB, 120GB local space ... doesn't make any difference).No suspicious status messages in dom0:
/var/log/qubes/qrexec.$QUBENAME.log
, or within the qube viadmesg
orjournalctl -x
... the server shows just open sessions. Everything is fine on server side. (With any of the tested servers.)Steps to reproduce
In a qube(-template) install
nfs-utils
(Fedora-40/41) ornfs-common
(Debian) deps included andmount
the share. I did it viarc.local
, but it's the same from the command line:sudo vi /rw/config/rc.local
->mkdir /home/user/test
echo '' >> /etc/fstab
echo '$SOMELOCALIP:/srv/SOMESHARE /home/user/test nfs rw,_netdev 0 0' >> /etc/fstab
mount /home/user/backup
Expected behavior
Should work like it did last time mid December. I dare to guess: Some updates to qubes core packages must have b0rked it, since it used to work with any template and now it doesn't ... again with any template I tried.
Actual behavior
The qube stalls/dies. No qubes backup via network :-(
The text was updated successfully, but these errors were encountered: