Subject: bug#61280: Broken knot-resolver service due to missing lua-http dependency

From: Bruno Victal <[email-masked]>
Date: Sat, 4 Feb 2023 22:19:30 +0000

knot-resolver-service-type by default is configured to bootstrap the root trust anchors which fails since it depends on 'lua-http' which is missing from guix.

/var/log/messages snippet:

--8<---------------cut here---------------start------------->8---
Feb  4 17:43:26 localhost shepherd[1]: Service kresd has been started. 
Feb  4 17:43:26 localhost shepherd[1]: [kresd] [system] warning: hard limit for number of file-descriptors is only 4096 but recommended value is 524288 
Feb  4 17:43:26 localhost shepherd[1]: [kresd] [system] error while loading config: ...-knot-resolver-5.5.3/lib/knot-resolver/trust_anchors.lua:336: [ ta ] fetch of "https://data.iana.org/root-anchors/root-anchors.xml" failed: error: lua-http and luaossl libraries are missing (but required) 
Feb  4 17:43:26 localhost shepherd[1]: [kresd] [ ta ] Failed to bootstrap root trust anchors! (workdir '/var/cache/knot-resolver') 
Feb  4 17:43:26 localhost shepherd[1]: Service kresd (PID 7870) exited with 1. 
Feb  4 17:43:26 localhost shepherd[1]: Service kresd has been disabled. 
Feb  4 17:43:26 localhost shepherd[1]:   (Respawning too fast.) 
--8<---------------cut here---------------end--------------->8---