I’m following this guide: Guide: Rsync from multiple qubes to one over qrexec
It worked flawlessly in QubesOS 4.1 but for some strange reason not anymore with 4.2 (with the fedora-38-xfce template).
When I execute the rsync command in the VM to which I want to sync, I’m getting this error:
$ rsync -a --delete --stats --port=1873 localhost::syncdata /home/user/backup/qubes/backuptest
@ERROR: chroot failed
rsync error: error starting client-server protocol (code 5) at main.c(1859) [Receiver=3.2.7]
On the source VM, where rsyncd is running, I’m seeing this error:
Feb 04 20:36:22 backuptest rsyncd[1413]: rsync allowed access on module syncdata from localhost (127.0.0.1)
Feb 04 20:36:22 backuptest rsyncd[1413]: rsync: [Receiver] chroot("/home/user") failed: Permission denied (13)
I’ve started rsyncd as root but it didn’t make a difference.
It seem that the qrexec mechanism itself is working correctly and the sync request reaches across to the source VM but somehow over there in that VM, rsyncd thinks it doesn’t have enough permissions.
I’m getting the impression that something was changed in the new templates of 4.2 which might have broken this mechanism.
Any suggestions/ideas on how to troubleshoot or even fix this are highly appreciated! Thanks!