topgrade fails to initiate remote connection to FreeBSD host/tcsh
/sh
shell
#996
Labels
C-bug
Something isn't working
tcsh
/sh
shell
#996
Erroneous Behavior
I added a FreeBSD host to the
remote_topgrades
option on my Mac, and it fails to connect with the following error:Expected Behavior
I'd expect the remote connection to work, like it does when I connect to Linux hosts.
Steps to reproduce
Add a FreeBSD 14.2-RELEASE host to
remote_topgrades
. Attempt to runtopgrade
.Possible Cause (Optional)
FreeBSD doesn't use
bash
ordash
as the default shell. Instead, the shell at/bin/sh
is a different Bourne-like shell. So, it works a little differently. In this case, if the first argument begins with-
, then it runs the shell as though it's a login shell (in other words,-l
isn't necessary if you're using-c
).Problem persists without calling from topgrade
Running
/bin/sh -lc topgrade
locally on the FreeBSD host still exhibits the issue.Did you run topgrade through
Remote Execution
If yes, does the issue still occur when you run topgrade directly in your
remote host
Running
/bin/sh -lc topgrade
locally on the FreeBSD host still exhibits the issue.Additional Details
Operation System/Version
FreeBSD 14.2-RELEASE - Remote system
macOS 15.1.1 - Local system
Installation
Installed from Homebrew for local copy and installed from FreeBSD packages for remote copy.
Topgrade version (
topgrade -V
)Local - topgrade 16.0.2
Remote - topgrade 16.0.1
Verbose Output (
topgrade -v
)The text was updated successfully, but these errors were encountered: