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

Cygwin rsync path translation fails after upgrade to Vagrant 1.8.1. #6989

Closed
rct opened this issue Feb 5, 2016 · 2 comments
Closed

Cygwin rsync path translation fails after upgrade to Vagrant 1.8.1. #6989

rct opened this issue Feb 5, 2016 · 2 comments

Comments

@rct
Copy link

rct commented Feb 5, 2016

After upgrading from Vagrant 1.7.4 to 1.8.1, rsync under Cygwin (Cygwin Terminal: bash + MinTTY) fails due to using Windows paths instead of Cygwin paths. The cygwin environment was being properly detected in 1.7.4

==> default: Rsyncing folder: /cygdrive/c/Users/rct/Downloads/cdk/components/rhel/rhel-ose/ => /vagrant
There was an error when attempting to rsync a synced folder.
Please inspect the error message below for more info.

Host path: /cygdrive/c/Users/rct/Downloads/cdk/components/rhel/rhel-ose/
Guest path: /vagrant
Command: rsync --verbose --archive --delete -z --copy-links --chmod=ugo=rwX --no-perms --no-owner --no-group --rsync-path sudo rsync -e ssh -p 2222 -o ControlMaster=auto -o ControlPath=C:/cygwin/tmp/ssh.954 -o ControlPersist=10m -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o UserKnownHostsFile=/dev/null -i 'C:/Users/rct/Downloads/cdk/components/rhel/rhel-ose/.vagrant/machines/default/virtualbox/private_key' --exclude .vagrant/ /cygdrive/c/Users/rct/Downloads/cdk/components/rhel/rhel-ose/ [email protected]:/vagrant
Error: cygwin warning:
  MS-DOS style path detected: C:/Users/rct/Downloads/cdk/components/rhel/rhel-ose/.vagrant/machines/default/virtualbox/private_key
  Preferred POSIX equivalent is: /cygdrive/c/Users/rct/Downloads/cdk/components/rhel/rhel-ose/.vagrant/machines/default/virtualbox/private_key
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Warning: Permanently added '[127.0.0.1]:2222' (ECDSA) to the list of known hosts.
mm_receive_fd: no message header
process_mux_new_session: failed to receive fd 0 from slave
mux_client_request_session: read from master failed: Connection reset by peer
Failed to connect to new control master
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.0]
@sethvargo
Copy link
Contributor

Dupe of #6702. Let's track that issue please. Thanks! 😄

@rct
Copy link
Author

rct commented Feb 5, 2016

Ok, but at first glance that doesn't look like the same bug about not properly detecting the cygwin environment.

@ghost ghost locked and limited conversation to collaborators Apr 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants