PowerShell / PowerShell/PowerShell-Native

Enter-PSSession Crash on OSX 10.12 after exiting connected host

Open
#20 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
68
Forks
46
Avg merge
3d 4h
Merged PRs (30d)
1

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the crash with the supplied Enter-PSSession command on macOS 10.12 and inspect the libpsl-native.dylib loader error. Compare the reported macOS compatibility requirement with the stated environment. Done means exiting the connected host returns cleanly to the local pwsh session without aborting.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, powershell
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.