Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921567 - net-dns/knot-resolver-5.7.0 does not install the tmpfiles config with USE=-systemd
Summary: net-dns/knot-resolver-5.7.0 does not install the tmpfiles config with USE=-sy...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Smith
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-07 15:37 UTC by Anton Pyrogovskyi
Modified: 2024-01-21 14:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Pyrogovskyi 2024-01-07 15:37:10 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2024-01-21 14:12:10 UTC
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(-)