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 Failure for /vagrant on MacOS #13

Closed
WammKD opened this issue Jan 27, 2022 · 3 comments
Closed

Rsync Failure for /vagrant on MacOS #13

WammKD opened this issue Jan 27, 2022 · 3 comments

Comments

@WammKD
Copy link

WammKD commented Jan 27, 2022

I'm not sure if it's specific to Mac (I can't test on any other machine, I'm afraid, but I assume it's working for you) but I get this error when I try including the bit given in the README for setting up the /vagrant directory:

There was an error when attempting to rsync a synced folder.
Please inspect the error message below for more info.

Host path: /Users/wammkd/v/
Guest path: /vagrant
Command: "rsync" "--verbose" "--archive" "--delete" "-z" "--copy-links" "--no-owner" "--no-group" "--rsync-path" "sudo rsync" "-e" "ssh -p 2222 -o LogLevel=FATAL   -o ControlMaster=auto -o ControlPath=/var/folders/pd/d549c4910dbcnrft98pvcgrr0000gn/T/vagrant-rsync-20220126-48360-12rlrla -o ControlPersist=10m  -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i '/Users/wammkd/v/.vagrant/machines/default/virtualbox/private_key'" "--exclude" ".vagrant/" "--exclude" ".git/" "/Users/wammkd/v/" "vagrant@127.0.0.1:/vagrant"
Error: rsync: This rsync lacks old-style --compress due to its external zlib.  Try -zz.
rsync error: syntax or usage error (code 1) at main.c(1578) [server=3.1.3]
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54.120.1/rsync/io.c(453) [sender=2.6.9]
@palfrey
Copy link
Owner

palfrey commented Jan 27, 2022

This appears to be an upstream bug (hashicorp/vagrant#9221 among others). Not sure there's a fix that can be applied here!

@WammKD
Copy link
Author

WammKD commented Jan 27, 2022

Huh; well, damn. I'd been hoping I'd be able to shift our work VM over to Guix but 'can't really go anywhere with it without this feature. Oh, well.

Thanks a ton for figuring that out for me; and for creating this! It's really cool that Guix is available for Vagrant.

@WammKD WammKD closed this as completed Jan 27, 2022
@palfrey
Copy link
Owner

palfrey commented Jan 27, 2022

There's also a reference in #1 to a Guix config from elsewhere that appears to have solved the Guest Additions problem which would fix this. I haven't had the time to investigate, but patches welcomed!

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

2 participants