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