samba-bugs at samba.org
2023-Mar-13 19:38 UTC
[Bug 15335] New: Environment variables in remote host's path do not resolve properly
https://bugzilla.samba.org/show_bug.cgi?id=15335 Bug ID: 15335 Summary: Environment variables in remote host's path do not resolve properly Product: rsync Version: 3.2.0 Hardware: x86 OS: Linux Status: NEW Severity: major Priority: P5 Component: core Assignee: wayne at opencoder.net Reporter: ryan.larson at infinitetactics.com QA Contact: rsync-qa at samba.org Target Milestone: --- We've had an rsync command that has worked for quite a while (1+ years), but suddenly started getting errors after we upgraded rsync from version 3.2.3 to 3.2.7. I'm not sure exactly which minor release broke our expectation of how environment variables are used in remote host paths, but there certainly seems to be some major change. See the example command below in which we were protecting the remote environment variable with single quotes to ensure it resolved on the remote host and not locally. I was able to reliable reproduce this issue with 3.2.7 and show that the command worked with 3.2.3. Example Command: rsync -rl /home/user/test_dir 'user at hostname:$PROJECTS_HOME/INFINITE' 3.2.7 -> rsync: mkdir "/p/home/rlarson/$PROJECTS_HOME/INFINITE" failed: No such file or directory 3.2.3 -> successful rsync A few notes: 1. The env var and path does exist on remote system 2. "/p/home/rlarson" is my $HOME dir on remote system 3. Both source and dest OS are Linux Anything else I can add to help troubleshoot this issue please let me know. -- You are receiving this mail because: You are the QA Contact for the bug.
samba-bugs at samba.org
2023-Mar-15 16:04 UTC
[Bug 15335] Environment variables in remote host's path do not resolve properly
https://bugzilla.samba.org/show_bug.cgi?id=15335 Wayne Davison <wayne at opencoder.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #1 from Wayne Davison <wayne at opencoder.net> --- Read about it in the NEWS file, including how you can get the old behavior: https://download.samba.org/pub/rsync/NEWS#3.2.4 -- You are receiving this mail because: You are the QA Contact for the bug.