From nobody Fri Oct 21 18:29:30 2022 X-Original-To: bugs@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 4MvCfz4r4cz4gQwP for ; Fri, 21 Oct 2022 18:29:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MvCfz1V3Lz3H5v for ; Fri, 21 Oct 2022 18:29:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MvCfz0MfpzJBB for ; Fri, 21 Oct 2022 18:29:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29LITUTa074659 for ; Fri, 21 Oct 2022 18:29:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29LITUL0074658 for bugs@FreeBSD.org; Fri, 21 Oct 2022 18:29:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266802] /usr/libexec/bsdinstall/script: 3: Bad file descriptor Date: Fri, 21 Oct 2022 18:29:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: install X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: john.grafton@runbox.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666376971; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UekFB4Gh9wEFNbK/ZqqRraO4SpcuXx0fI5m4oyKZ5iM=; b=lLrQNzRgOyc8xfhmvxwsIqlAqG9z1/vQ9AVEE93tP1fFpz5alRmLniiNnQXfK0wdKgxwkt x1BzhLPMWDkK263w7ArZaCFI0B5whceM62+Vz+6lK2CxgdTRiiAncuSd8+SGmRumjAJHea BG1uk9KdbhNm/emmG8i/KJHwXuJ0EIWCL6IyaZLTYpDvZ89anKz4ThIFbPYAzTognhktBq ofTPj8IWaQakA9xOMuSa6cAvwE9rwUGmtiKJwJ7Fmm0PCrJcx8Vm6ONFrXJyxYZcwFilcw qd5KyCH2dMpwLUbZMWKrZuZy/MoiMzFZhtQo1hGELKNI8jL/sdV9t2fwHcd51w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666376971; a=rsa-sha256; cv=none; b=Wjbc7hr5w0Ixe3tWMOV56PjroiMeSOyT6dIR4xDSWm1Gtcq514zb0pUg7/NN7X26u34z26 1IeyneiJuoo0RZGmY2YPiDsRZ8n3LwH7T8LLEA51HjlJf/BF9eSQAtLySVZslmL6vHoaIe znqSjUQqE/igbX8Xid5h4Avpaw6uVnnunk2/XCD3x1djLmpgw2NOiNmL5soyPdgTZq1rU0 gJ7FsyMK/gx+fimZiS9Bvr2kjx2EwehkfPm972SqG0JZrrpYdvvWpmBSESuxuXE/k46Sv5 xKbIVy3t6cl06KyAeCmCjt2S+zTGkrBlP+OXo9tDKNdLH7oGTEwlNL8GTl37Bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266802 --- Comment #5 from John Grafton --- This bug was fixed in CURRENT with this commit: commit 1f7746d81f53447ac15cc99395bb714d4dd0a4da Author: Corvin K=C3=B6hne Date: Tue May 3 16:00:09 2022 +0200 bsdinstall: stop messing with file descriptors Throughout the bsdinstall script fd 3 is used by f_dprintf (set through $TERMINAL_STDOUT_PASSTHRU). By closing file descriptor 3 here, the final f_dprintf "Installation Completed ... does not work anymore. By putting the code into a subshell, file descriptors can be edited without interference with the calling script. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D35113 Sponsored by: Beckhoff Automation GmbH & Co. KG MFC after: 3 days It doesn't appear to have landed in 13.1-RELEASE yet. --=20 You are receiving this mail because: You are the assignee for the bug.=