| Summary: | (1f7746d) /usr/libexec/bsdinstall/script: 3: Bad file descriptor | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Andrew Cagney <andrew.cagney> | ||||||
| Component: | conf | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | CC: | asiciliano, grahamperrin, john.grafton, manu, re | ||||||
| Priority: | --- | Keywords: | install | ||||||
| Version: | 13.1-RELEASE | Flags: | grahamperrin:
maintainer-feedback?
(re) |
||||||
| Hardware: | amd64 | ||||||||
| OS: | Any | ||||||||
| URL: | https://cgit.freebsd.org/src/commit/?h=main&id=1f7746d81f53447ac15cc99395bb714d4dd0a4da | ||||||||
| See Also: |
https://reviews.freebsd.org/D35113#795883 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267644 |
||||||||
| Attachments: |
|
||||||||
|
Description
Andrew Cagney
2022-10-03 19:52:46 UTC
Can you provide more information about what's going into /etc/installerconfig? Created attachment 237486 [details]
loader.conf (probably not interesting)
Created attachment 237487 [details]
base.conf
processed base.conf ready for adding to the CDROM
i.e., /etc/installerconfig ends up with the contents of base.conf This bug was fixed in CURRENT with this commit: commit 1f7746d81f53447ac15cc99395bb714d4dd0a4da Author: Corvin Köhne <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. The commit referenced in the last comment should probably be merged into releng/13.1 since scripted installs fail at the complete message. It's already in stable/13. <https://cgit.freebsd.org/src/log/?h=releng/13.1> In the review, manu@ (FreeBSD Core Team) wrote: > … This breaks scripted install for 13.1 … stable/13: <https://github.com/freebsd/freebsd-src/commit/45eb93a964e669dabb1d7f59dadac23c4238f878> > (cherry picked from commit 1f7746d) bump since scripted installs are still broken on releng/13.1. The patch was MFC'd into stable/13 awhile ago and should be pulled into a release. (In reply to John Grafton from comment #8) We don't regenerate release image so you will have to wait for 13.2 to have the fix. Should the fix for this be mentioned in release notes for 13.2? libreswan's switched to 13.2 for testing; thanks! |