coroot-node-agent icon indicating copy to clipboard operation
coroot-node-agent copied to clipboard

Rsync error after `vagrant up`

Open StLeoX opened this issue 1 year ago • 2 comments

Version: coroot-node-agent-v1.21.4

Vagrant's error info:

Host path: /root/Source/obser/coroot-node-agent-v1.21.4/
Guest path: /tmp/src
Command: "rsync" "--verbose" "--archive" "--delete" "-z" "--copy-links" "--no-owner" "--no-group" "--rsync-path" "sudo rsync" "-e" "ssh -p 22 -o LogLevel=FATAL   -o ControlMaster=auto -o ControlPath=/tmp/vagrant-rsync-20240910-2986741-fuu8t5 -o ControlPersist=10m  -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i '/root/Source/obser/coroot-node-agent-v1.21.4/ebpftracer/.vagrant/machines/ubuntu2004/libvirt/private_key'" "--exclude" ".vagrant/" "/root/Source/obser/coroot-node-agent-v1.21.4/" "[email protected]:/tmp/src"
Error: symlink has no referent: "/root/Source/obser/coroot-node-agent-v1.21.4/proc/fixtures/123/fd/5"
symlink has no referent: "/root/Source/obser/coroot-node-agent-v1.21.4/proc/fixtures/123/fd/4"
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1333) [sender=3.2.3]

StLeoX avatar Sep 10 '24 07:09 StLeoX

I solved this by manually removing symlink: rm -r ./proc/fixtures/123/fd/.

StLeoX avatar Sep 10 '24 07:09 StLeoX

Maybe we can tell Vagrant to skip those symlinks

StLeoX avatar Sep 10 '24 07:09 StLeoX