NetBSD Problem Report #59354

From www@netbsd.org  Fri Apr 25 22:38:30 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 8168D1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 25 Apr 2025 22:38:30 +0000 (UTC)
Message-Id: <20250425223829.67B571A923C@mollari.NetBSD.org>
Date: Fri, 25 Apr 2025 22:38:29 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: librumphijack/t_tcpip leaves clutter at /out
X-Send-Pr-Version: www-1.0

>Number:         59354
>Category:       misc
>Synopsis:       librumphijack/t_tcpip leaves clutter at /out
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 25 22:40:00 +0000 2025
>Closed-Date:    Sat Oct 10 17:08:01 +0000 2026
>Last-Modified:  Sat Oct 10 17:08:01 +0000 2026
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
The RumpBSshD Foundout
>Environment:
>Description:
     95         env LD_PRELOAD=/usr/lib/librumphijack.so \
     96 	    /usr/sbin/sshd -d -e -E out -f ./sshd_config &

https://nxr.netbsd.org/xref/src/tests/lib/librumphijack/t_tcpip.sh?r=1.25#95

The output file `-E out' is taken relative to /, not to the working directory, so it creates a file /out rather than a file in the test's temporary directory.
>How-To-Repeat:
cd /usr/tests/lib/librumphijack
atf-run t_tcpip | atf-report
>Fix:
-E "$(pwd)/out"

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->needs-pullups
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Fri, 25 Apr 2025 22:52:04 +0000
State-Changed-Why:
fixed in HEAD, needs pullup-9 and pullup-10


From: "Taylor R Campbell" <riastradh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59354 CVS commit: src/tests/lib/librumphijack
Date: Fri, 25 Apr 2025 22:51:29 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Fri Apr 25 22:51:29 UTC 2025

 Modified Files:
 	src/tests/lib/librumphijack: t_tcpip.sh

 Log Message:
 librumphijack/t_tcpip: Fix clutter at /out.

 PR misc/59354: librumphijack/t_tcpip leaves clutter at /out


 To generate a diff of this commit:
 cvs rdiff -u -r1.25 -r1.26 src/tests/lib/librumphijack/t_tcpip.sh

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: needs-pullups->pending-pullups
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Thu, 08 Oct 2026 20:56:06 +0000
State-Changed-Why:
fixed in HEAD before netbsd-11 branch
pullup-10 #1353


From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/59354 CVS commit: [netbsd-10] src/tests/lib/librumphijack
Date: Fri, 9 Oct 2026 14:49:20 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Fri Oct  9 14:49:20 UTC 2026

 Modified Files:
 	src/tests/lib/librumphijack [netbsd-10]: t_tcpip.sh

 Log Message:
 Pull up following revision(s) (requested by riastradh in ticket #1353):

 	tests/lib/librumphijack/t_tcpip.sh: revision 1.23
 	tests/lib/librumphijack/t_tcpip.sh: revision 1.25
 	tests/lib/librumphijack/t_tcpip.sh: revision 1.26

 tests/lib/librumphijack: Avoid trying to run rpcbind as non-root.

 Can probably make this work through rumphijack, but there's no sense
 in even trying the test if we can't, so let's reduce the unprivileged
 false alarms.

 t_tcpip: Mark ssh test xfail.

 PR bin/59278: tests/lib/librumphijack/t_tcpip:ssh failing since
 openssh 10.0 update

 librumphijack/t_tcpip: Fix clutter at /out.
 PR misc/59354: librumphijack/t_tcpip leaves clutter at /out


 To generate a diff of this commit:
 cvs rdiff -u -r1.21 -r1.21.2.1 src/tests/lib/librumphijack/t_tcpip.sh

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Sat, 10 Oct 2026 17:08:01 +0000
State-Changed-Why:
fixed and pullups complete


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.