PowerShell / PowerShell/PowerShell-Native
Enter-PSSession Crash on OSX 10.12 after exiting connected host
未关闭
还没有人认领这个 Issue。
- 主要语言
- C++
- 星标
- 68
- 派生
- 46
- 平均合并
- 3 天 4 小时
- 30 天内合并 PR
- 1
描述
Steps to reproduce
Connect to Linux OMI Server 1.5.0 over basic auth.
Enter-PSSession -ComputerName $ENV:BOLT_HOST -Authentication Basic -UseSSL -Credential "root"
PowerShell credential request
Enter your credentials.
Password for user root: ********
[p4jz0jwh18iy4u0.delivery.puppetlabs.net]: PS /root> exit
Expected behavior
exit should cleanly return to the local pwsh session
Actual behavior
dyld: lazy symbol binding failed: Symbol not found: __os_log_error_impl
Referenced from: /usr/local/microsoft/powershell/6/libpsl-native.dylib (which was built for Mac OS X 10.13)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: __os_log_error_impl
Referenced from: /usr/local/microsoft/powershell/6/libpsl-native.dylib (which was built for Mac OS X 10.13)
Expected in: /usr/lib/libSystem.B.dylib
[3] 59560 abort pwsh
Environment data
Mac OSX 10.12
> $PSVersionTable
Name Value
---- -----
PSVersion 6.1.0
PSEdition Core
GitCommitId 6.1.0
OS Darwin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 21 20:07:39 PDT 2018; root:xnu-3789.73.14~1/RELEASE_X86_64
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在 macOS 10.12 上使用提供的 Enter-PSSession 命令重现崩溃,并检查 libpsl-native.dylib 的加载器错误。将报告的 macOS 兼容性要求与所述环境进行比较。当退出已连接的主机后能够正常返回本地 pwsh 会话且不会中止时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cpp, powershell
- 领域
- operating-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100