Summary: | bsdinstall: following multiple 'restart's, distributions are installed several times | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Eirik Oeverby <ltning-freebsd> | ||||||
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||||
Status: | Open --- | ||||||||
Severity: | Affects Some People | CC: | asiciliano, emaste, grahamperrin, pierre, yom | ||||||
Priority: | --- | Keywords: | install | ||||||
Version: | CURRENT | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
URL: | https://anduin.net/~ltning/bsdinstall-oops.jpg | ||||||||
Attachments: |
|
Description
Eirik Oeverby
2022-10-12 09:59:01 UTC
Thank you for the screenshot, I am quite sure the "guilty" variable (not restarted) is 'DISTRIBUTIONS': https://cgit.freebsd.org/src/tree/usr.sbin/bsdinstall/distextract/distextract.c#n76 Actually, "not persisted restart" is a known problem. Other PRs describe similar situations. I fixed some problem in the past. However, we should implement a real "restart" feature to solve properly the problem. Created attachment 245717 [details] 0001-bsdinstall-reset-the-environment-when-restarting.patch The patch attached is also in review D42281. It seems this bug is also available since the alpha testing of FreeBSD 14.0, it is still visible on RC2. Created attachment 245769 [details]
distribution archives extraction FreeBSD 14.0-RC2
distribution archives extraction duplication in FreeBSD 14.0-RC2
(In reply to Guillaume Bibaut from comment #3) That is correct, the patch is still pending review and not merged to main yet; I am working on the necessary improvements before it can get there. |