[MacPorts] #59497: openssh @8.1p1: sshd only works in debug mode

MacPorts noreply at macports.org
Sun Nov 3 15:06:54 UTC 2019


#59497: openssh @8.1p1: sshd only works in debug mode
-------------------------+----------------------
  Reporter:  davidfavor  |      Owner:  (none)
      Type:  defect      |     Status:  reopened
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:
      Port:  openssh     |
-------------------------+----------------------

Comment (by Ionic):

 Yep, weird indeed.

 I cleared the (OpenSSL) error stack before calling `RAND_seed()` and
 checked it afterwards - the seeding operation seems to really also fail. I
 don't understand why `RAND_status()` would return `1` in this case, but
 aside from that, something seems to be really messed up.

 I can only guess at this point, but my best guess would be that this is
 related to sandboxing or privilege dropping.

 It really doesn't happen in debug mode - the OpenSSL error stack remains
 empty.

 I'll test disabling the sandbox and privilege separation tomorrow (if
 that's even possible).

-- 
Ticket URL: <https://trac.macports.org/ticket/59497#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list