Created attachment 238592 [details] patch for www/apache24 Because htcacheclean has no dependencies set, it runs before the file system is ready, even though it makes changes to the file system. A dependency on FILESYSTEMS or at least mountcritlocal is required. The usage before this fixing was service htcacheclean onestart with htcacheclean_enable=NO. Unrelated, but there are several scripts in /etc/rc.d/* in the same state (e.g. bug 215368, bug 268157...).
Sorry, scripts under ${LOCALBASE}/etc/rc.d/ are always executed in "pass 2", so they could not be eligible for early_late_divider="FILESYSTEMS". However, explicitly listing it would still be effective in a LOCALBASE=/ or LOCALBASE="" environment :)
Maintainer timeout.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8c00446980aa6183cfe318347595900ac8a82d69 commit 8c00446980aa6183cfe318347595900ac8a82d69 Author: Tatsuki Makino <tatsuki_makino@hotmail.com> AuthorDate: 2023-06-03 18:33:34 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2023-06-03 18:40:08 +0000 www/apache24: htcacheclean rc.d script appears too early in rcorder Because htcacheclean has no dependencies set, it runs before the file system is ready, even though it makes changes to the file system. Define FILESYSTEMS as requirement to fix this race condition. PR: 268216 Approved by: portmgr (maintainer timeout, 5+ months) www/apache24/Makefile | 1 + www/apache24/files/htcacheclean.in | 2 ++ 2 files changed, 3 insertions(+)
Commited, thanks and sorry for the wait!