From nobody Thu Sep 05 16:36:05 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X04k6533Tz5WMCM for ; Thu, 05 Sep 2024 16:36:14 +0000 (UTC) (envelope-from marquis@roble.com) Received: from mx5.roble.com (mx5.roble.com [209.237.23.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx5.roble.com", Issuer "mx5.roble.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X04k54bjLz4vb9 for ; Thu, 5 Sep 2024 16:36:13 +0000 (UTC) (envelope-from marquis@roble.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=roble.com header.s=rs060402 header.b=JRiYWxWO; dmarc=pass (policy=none) header.from=roble.com; spf=pass (mx1.freebsd.org: domain of marquis@roble.com designates 209.237.23.5 as permitted sender) smtp.mailfrom=marquis@roble.com Received: from roble.com (roble.com [209.237.23.50]) by mx5.roble.com (Postfix) with ESMTP id 5D0AB39C41E for ; Thu, 05 Sep 2024 09:36:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=roble.com; s=rs060402; t=1725554165; bh=n+YYjbPL+p/YuPAgyFhrR44tfBWL69zzkOkioHC08XE=; h=Date:From:To:Subject; b=JRiYWxWO9CmAGiiYGidHGy8RfXRKkp+Qi70PvH3p1zfmVVSVBQcFhUx9b897uQFWn xFeLOSHiCT+qHwzKQwQ5sEgYkpBLF/plBhXvofsYGf62C2+MEoLcnJqe+dFIhn5n4K L0Ip3iBpg/Uj4BzakRPc3oM/dKlbTxZ3eF8V9KiU= Date: Thu, 5 Sep 2024 09:36:05 -0700 (PDT) From: Roger Marquis To: freebsd-ports@freebsd.org Subject: openssh-portable-9.8 vs inetd Message-ID: <53s17573-03n7-750p-869n-9q83r2o8po97@mx.roble.com> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.16 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[roble.com,none]; NEURAL_HAM_SHORT(-0.26)[-0.262]; R_SPF_ALLOW(-0.20)[+ip4:209.237.23.0/24]; R_DKIM_ALLOW(-0.20)[roble.com:s=rs060402]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:17403, ipnet:209.237.0.0/18, country:US]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[roble.com:+] X-Rspamd-Queue-Id: 4X04k54bjLz4vb9 Heads-up regarding openssh-portable 9.8 which doesn't work when called from inetd.conf. Is there perhaps a better patch for sshd.c than simply commenting the path test? @@ -1349,9 +1341,8 @@ break; } } - /** if (!test_flag && !do_dump_cfg && !path_absolute(av[0])) + if (!test_flag && !do_dump_cfg && !path_absolute(av[0])) fatal("sshd requires execution with an absolute path"); - **/ closefrom(STDERR_FILENO + 1); Roger