Bug 262352

Summary: security/openssh-portable: 8.9.p1_1,1 - sftp fails with (fatal: unable to make the process untraceable)
Product: Ports & Packages Reporter: Simeon Simeonov <sgs>
Component: Individual Port(s)Assignee: Bryan Drewery <bdrewery>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (bdrewery)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Simeon Simeonov 2022-03-05 07:52:48 UTC
This seems to a reintroduction of bug 259174.

The problem seems to be linked to:
security.bsd.see_other_uids=0
security.bsd.see_other_gids=0

The log shows:
sftp-server[83292]: fatal: unable to make the process untraceable: No such process
Comment 1 Bryan Drewery freebsd_committer freebsd_triage 2022-03-07 23:03:47 UTC
Sorry about that. I've restored the fix just now.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-03-07 23:04:08 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a12058fae3bb09a1aba41d24383b6f1d93f2b330

commit a12058fae3bb09a1aba41d24383b6f1d93f2b330
Author:     Bryan Drewery <bdrewery@FreeBSD.org>
AuthorDate: 2022-03-07 22:49:28 +0000
Commit:     Bryan Drewery <bdrewery@FreeBSD.org>
CommitDate: 2022-03-07 23:02:47 +0000

    security/openssh-portable: Again fix procctl(2) usage

    The 8.9p1 update was supposed to have a fix for incorrect
    use of procctl(2) but was left out for some reason. A wrong
    assumption missed keeping it in ae66cffc19f357cbd5.

    PR:          262352

 security/openssh-portable/Makefile                  |  2 +-
 .../files/patch-platform-tracing.c (new)            | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)