Created attachment 246350 [details] Git patch for sysutils/jdupes Apply a fix for the jdupes hash database feature to avoid potential database loss, resulting from disk-full situations and other write failures. Obtained from: https://www.jdupes.com/2023/11/10/news-fix-for-v1-27-3-libjodycode-4-work/
Important to merge to 2023Q4?
I'd lean towards yes. The maintainer evidently found it important enough to backport, and directly ask maintainers to apply it, having experienced the issue themselves. Losing the database is more an annoyance than anything - you can always just regenerate it, but that is likely to be an expensive operation given what the tool/feature is for.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=efcf734590eaaf1dee0bac5fc758680925501d15 commit efcf734590eaaf1dee0bac5fc758680925501d15 Author: Thomas Hurst <tom@hur.st> AuthorDate: 2023-11-17 07:30:06 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2023-11-17 18:28:15 +0000 sysutils/jdupes: Update to 1.27.3_1 ChangeLog: https://www.jdupes.com/2023/11/10/news-fix-for-v1-27-3-libjodycode-4-work/ Apply a fix for the jdupes hash database feature to avoid potential database loss, resulting from disk-full situations and other write failures. PR: 275128 Reported by: tom@hur.st (maintainer) MFH: 2023Q4 (bugfix) sysutils/jdupes/Makefile | 1 + sysutils/jdupes/files/patch-hashdb.c (new) | 114 +++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+)
Committed and merged to 2023Q4. Thanks!
A commit in branch 2023Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=91b52f2c0fd09ef333fe1a2ac1f0ce5f27d9b741 commit 91b52f2c0fd09ef333fe1a2ac1f0ce5f27d9b741 Author: Thomas Hurst <tom@hur.st> AuthorDate: 2023-11-17 07:30:06 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2023-11-17 18:29:23 +0000 sysutils/jdupes: Update to 1.27.3_1 ChangeLog: https://www.jdupes.com/2023/11/10/news-fix-for-v1-27-3-libjodycode-4-work/ Apply a fix for the jdupes hash database feature to avoid potential database loss, resulting from disk-full situations and other write failures. PR: 275128 Reported by: tom@hur.st (maintainer) MFH: 2023Q4 (bugfix) (cherry picked from commit efcf734590eaaf1dee0bac5fc758680925501d15) sysutils/jdupes/Makefile | 1 + sysutils/jdupes/files/patch-hashdb.c (new) | 114 +++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+)