For background please see https://bugs.gentoo.org/877337 This issue happens on USE=-systemd (OpenRC) Gentoo only. Actually, the knot-resolver.conf tmpfiles config is provided by upstream and tmpfiles configs are supported by USE=-systemd Gentoo through sys-apps/systemd-utils. Upstream does not differentiate between systemd support and tmpfiles support. Issue raised here with upstream: https://gitlab.nic.cz/knot/knot-resolver/-/issues/886 It should be fixed in Gentoo by installing the tmpfiles config manually rather than depending on the upstream build system which only has a general systemd files switch which is entirely disabled by USE=-systemd. This will solve the issue that the file is missing right now and depending on what upstream decides might also remain as a permanent solution. https://bugs.gentoo.org/877337 is marked as fixed by a workaround which avoids the warning but does not address the issue per se which is that we want the tmpfiles config but not the other systemd stuff. With the accepted change, the tmpfiles config is simply not installed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91c56fb74d6419e4384f56a6dd514a33cdef5ca8 commit 91c56fb74d6419e4384f56a6dd514a33cdef5ca8 Author: Matthew Smith <matthew@gentoo.org> AuthorDate: 2024-01-21 14:11:02 +0000 Commit: Matthew Smith <matthew@gentoo.org> CommitDate: 2024-01-21 14:12:06 +0000 net-dns/knot-resolver: always install tmpfiles config Closes: https://bugs.gentoo.org/921567 Signed-off-by: Matthew Smith <matthew@gentoo.org> .../files/knot-resolver-5.7.0-tmpfiles.patch | 47 ++++++++++++++++++++++ ...-5.7.0.ebuild => knot-resolver-5.7.0-r1.ebuild} | 7 +++- 2 files changed, 52 insertions(+), 2 deletions(-)