Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rsync error after vagrant up #123

Open
StLeoX opened this issue Sep 10, 2024 · 2 comments
Open

Rsync error after vagrant up #123

StLeoX opened this issue Sep 10, 2024 · 2 comments

Comments

@StLeoX
Copy link

StLeoX commented Sep 10, 2024

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
Copy link
Author

StLeoX commented Sep 10, 2024

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

@StLeoX
Copy link
Author

StLeoX commented Sep 10, 2024

Maybe we can tell Vagrant to skip those symlinks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant