Date: Fri, 21 Oct 2022 18:29:30 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266802] /usr/libexec/bsdinstall/script: 3: Bad file descriptor Message-ID: <bug-266802-227-sYBj8ktH75@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-266802-227@https.bugs.freebsd.org/bugzilla/> References: <bug-266802-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266802 --- Comment #5 from John Grafton <john.grafton@runbox.com> --- This bug was fixed in CURRENT with this commit: commit 1f7746d81f53447ac15cc99395bb714d4dd0a4da Author: Corvin K=C3=B6hne <CorvinK@beckhoff.com> 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266802-227-sYBj8ktH75>