Admin message

Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.

policy loader endless loop on invalid RPZ files
When an RPZ file with a syntax error is configured in Knot Resolver (version 6.2.0 on Debian 13), Knot Resolver ends up in an endless loop restarting policy loader. ``` $ echo foo > /etc/knot-resolver/foo.rpz ``` config.yaml contains: ``` local-data: rpz: - file: /etc/knot-resolver/foo.rpz log: [name, ip] ``` Start Knot-resolver and observe logs: ``` Apr 14 09:55:26 systemd[1]: Starting knot-resolver.service - Knot Resolver Manager... Apr 14 09:55:27 asyncio[743285]: Using selector: EpollSelector Apr 14 09:55:27 knot_resolver.manager.server[743285]: Loading configuration from '/etc/knot-resolver/config.yaml' file. Apr 14 09:55:27 knot_resolver.manager.server[743285]: Changing working directory to '/run/knot-resolver'. Apr 14 09:55:27 knot_resolver.manager.logger[743285]: Changing logging level to 'INFO' Apr 14 09:55:27 knot_resolver.manager.files.watchdog[743285]: Initializing files watchdog Apr 14 09:55:27 knot_resolver.manager.files.watchdog[743285]: Directory '/etc/knot-resolver' scheduled for watching Apr 14 09:55:27 knot_resolver.controller[743285]: Starting service manager auto-selection... Apr 14 09:55:27 knot_resolver.controller[743285]: Available subprocess controllers are ('supervisord',) Apr 14 09:55:27 knot_resolver.controller[743285]: Selected controller 'supervisord' Apr 14 09:55:27 knot_resolver.controller.supervisord[743285]: We want supervisord to restart us when needed, we will therefore exec() it and let it start us again. Apr 14 09:55:27 knot_resolver.manager.server[743285]: Exec requested with arguments: ['/usr/bin/supervisord', 'supervisord', '--configuration', '/run/knot-resolver/supervisord.co> Apr 14 09:55:27 supervisord[743285]: RPC interface 'patch_logger' initialized Apr 14 09:55:27 supervisord[743285]: RPC interface 'manager_integration' initialized Apr 14 09:55:27 supervisord[743285]: RPC interface 'sd_notify' initialized Apr 14 09:55:27 supervisord[743285]: RPC interface 'supervisor' initialized Apr 14 09:55:27 supervisord[743285]: RPC interface 'fast' initialized Apr 14 09:55:27 supervisord[743285]: Server 'unix_http_server' running without any HTTP authentication checking Apr 14 09:55:27 supervisord[743285]: supervisord started with pid 743285 Apr 14 09:55:27 supervisord[743285]: notify: injected $NOTIFY_SOCKET into event loop Apr 14 09:55:28 supervisord[743285]: spawned: 'manager' with pid 743291 Apr 14 09:55:28 asyncio[743291]: Using selector: EpollSelector Apr 14 09:55:28 knot_resolver.manager.server[743291]: Loading configuration from '/etc/knot-resolver/config.yaml' file. Apr 14 09:55:28 knot_resolver.manager.server[743291]: Changing working directory to '/run/knot-resolver'. Apr 14 09:55:28 knot_resolver.manager.logger[743291]: Changing logging level to 'INFO' Apr 14 09:55:28 knot_resolver.manager.files.watchdog[743291]: Initializing files watchdog Apr 14 09:55:28 knot_resolver.manager.files.watchdog[743291]: Directory '/etc/knot-resolver' scheduled for watching Apr 14 09:55:28 knot_resolver.controller[743291]: Starting service manager auto-selection... Apr 14 09:55:28 knot_resolver.controller[743291]: Available subprocess controllers are ('supervisord',) Apr 14 09:55:28 knot_resolver.controller[743291]: Selected controller 'supervisord' Apr 14 09:55:28 knot_resolver.controller.supervisord[743291]: Supervisord is already running, we will just update its config... Apr 14 09:55:28 supervisord[743285]: spawned: 'policy-loader' with pid 743296 Apr 14 09:55:28 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:29 kresd[743296]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:29 kresd[743296]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:29 kresd[743296]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:29 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:29 supervisord[743285]: spawned: 'policy-loader' with pid 743297 Apr 14 09:55:29 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:29 kresd[743297]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:30 kresd[743297]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:30 kresd[743297]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:30 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:30 supervisord[743285]: spawned: 'policy-loader' with pid 743298 Apr 14 09:55:30 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:30 kresd[743298]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:31 kresd[743298]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:31 kresd[743298]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:31 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:31 supervisord[743285]: spawned: 'policy-loader' with pid 743299 Apr 14 09:55:31 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:32 kresd[743299]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:32 kresd[743299]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:32 kresd[743299]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:32 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:32 supervisord[743285]: spawned: 'policy-loader' with pid 743300 Apr 14 09:55:32 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:33 kresd[743300]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:33 kresd[743300]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:33 kresd[743300]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:33 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:33 supervisord[743285]: spawned: 'policy-loader' with pid 743301 Apr 14 09:55:33 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:34 kresd[743301]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:34 kresd[743301]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:34 kresd[743301]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:34 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:35 supervisord[743285]: spawned: 'policy-loader' with pid 743302 Apr 14 09:55:35 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:35 kresd[743302]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:35 kresd[743302]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:35 kresd[743302]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:35 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:36 supervisord[743285]: spawned: 'policy-loader' with pid 743303 Apr 14 09:55:36 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:36 kresd[743303]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:36 kresd[743303]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:36 kresd[743303]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:36 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:37 supervisord[743285]: spawned: 'policy-loader' with pid 743304 Apr 14 09:55:37 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:37 kresd[743304]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:37 kresd[743304]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:37 kresd[743304]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:37 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:38 supervisord[743285]: spawned: 'policy-loader' with pid 743306 Apr 14 09:55:38 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:38 kresd[743306]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:38 kresd[743306]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:38 kresd[743306]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:38 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:39 supervisord[743285]: spawned: 'policy-loader' with pid 743307 Apr 14 09:55:39 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:39 kresd[743307]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:39 kresd[743307]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:39 kresd[743307]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:39 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:40 supervisord[743285]: spawned: 'policy-loader' with pid 743308 Apr 14 09:55:40 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:40 kresd[743308]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:40 kresd[743308]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:40 kresd[743308]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:40 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:41 supervisord[743285]: spawned: 'policy-loader' with pid 743309 Apr 14 09:55:41 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:41 kresd[743309]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:41 kresd[743309]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:41 kresd[743309]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:41 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:42 supervisord[743285]: spawned: 'policy-loader' with pid 743310 Apr 14 09:55:42 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:42 kresd[743310]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:42 kresd[743310]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:42 kresd[743310]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:42 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:43 supervisord[743285]: spawned: 'policy-loader' with pid 743311 Apr 14 09:55:43 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:43 kresd[743311]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:43 kresd[743311]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:43 kresd[743311]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:43 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:44 supervisord[743285]: spawned: 'policy-loader' with pid 743312 Apr 14 09:55:44 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:44 kresd[743312]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:44 kresd[743312]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:44 kresd[743312]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:44 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:45 supervisord[743285]: spawned: 'policy-loader' with pid 743313 Apr 14 09:55:45 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:45 kresd[743313]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:45 kresd[743313]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:45 kresd[743313]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:45 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:46 supervisord[743285]: spawned: 'policy-loader' with pid 743314 Apr 14 09:55:46 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:46 kresd[743314]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:46 kresd[743314]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:46 kresd[743314]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:46 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:47 supervisord[743285]: spawned: 'policy-loader' with pid 743315 Apr 14 09:55:47 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:47 kresd[743315]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:47 kresd[743315]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:47 kresd[743315]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:47 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:48 supervisord[743285]: spawned: 'policy-loader' with pid 743316 Apr 14 09:55:48 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:48 kresd[743316]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:48 kresd[743316]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:48 kresd[743316]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:48 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:49 supervisord[743285]: spawned: 'policy-loader' with pid 743317 Apr 14 09:55:49 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:49 kresd[743317]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:49 kresd[743317]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:49 kresd[743317]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:49 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:50 supervisord[743285]: spawned: 'policy-loader' with pid 743318 Apr 14 09:55:50 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:50 kresd[743318]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:50 kresd[743318]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:50 kresd[743318]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:50 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:51 supervisord[743285]: spawned: 'policy-loader' with pid 743319 Apr 14 09:55:51 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:51 kresd[743319]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:51 kresd[743319]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:51 kresd[743319]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:51 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:52 supervisord[743285]: spawned: 'policy-loader' with pid 743320 Apr 14 09:55:52 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:52 kresd[743320]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:52 kresd[743320]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:52 kresd[743320]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:52 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:53 supervisord[743285]: spawned: 'policy-loader' with pid 743321 Apr 14 09:55:53 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:53 kresd[743321]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:53 kresd[743321]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:53 kresd[743321]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:53 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:54 supervisord[743285]: spawned: 'policy-loader' with pid 743322 Apr 14 09:55:54 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:54 kresd[743322]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:54 kresd[743322]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:54 kresd[743322]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:54 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:55 supervisord[743285]: spawned: 'policy-loader' with pid 743323 Apr 14 09:55:55 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:55 kresd[743323]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:55 kresd[743323]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:55 kresd[743323]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:55 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:56 supervisord[743285]: spawned: 'policy-loader' with pid 743372 Apr 14 09:55:56 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:56 kresd[743372]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:56 kresd[743372]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:56 kresd[743372]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:56 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:57 supervisord[743285]: spawned: 'policy-loader' with pid 743380 Apr 14 09:55:57 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:57 kresd[743380]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:57 kresd[743380]: [rules ] error parsing zone file `/etc/knot-resolver/foo.rpz`, error -988: owner is invalid Apr 14 09:55:57 kresd[743380]: [system] error while loading config: policy-loader.conf:61: assertion failed! (workdir '/run/knot-resolver') Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743381 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743381] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'kresd0' with pid 743382 Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743383 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743383] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743384 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743384] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743385 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743385] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743386 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 kresd[743382]: [system] path = /run/knot-resolver/control/0 Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743386] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743387 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 kresd[743382]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:58 kresd[743382]: [defer ] Initializing defer... Apr 14 09:55:58 kresd[743382]: [defer ] Defer initialized (AVX2). Apr 14 09:55:58 kresd[743382]: [defer ] Defer configuration: Expected cpus/procs: 2 Max waiting requests: 64.0 MiB Request timeout: 1.0 s Idle: 1.0 ms UDP phase: 400.0 us Non-UDP phase: 400.0 us Priority levels: 25 (4 main levels, 8 sublevels) + UDP KRU capacity: 524.3 k (4.2 MiB) Decay: 0.012 % per ms (32-bit max: 524280) Half-life: 5.7 s Priority rise in: 22.7 s Counter reset in: 90.8 s Rate limits for crossing priority levels as single CPU utilization: 1 2 3 max v4/32 : 0.012 % 0.195 % 3.125 % 49.999 % v4/24 : 0.391 % 6.250 % 100.000 % 1599.976 % v4/20 : 3.125 % 50.000 % 800.000 % 12799.805 % v4/18 : 9.375 % 150.000 % 2400.000 % 38399.414 % v6/128: 0.012 % 0.195 % 3.125 % 49.999 % v6/64 : 0.024 % 0.391 % 6.250 % 99.998 % v6/56 : 0.037 % 0.586 % 9.375 % 149.998 % v6/48 : 0.049 % 0.781 % 12.500 % 199.997 % v6/32 : 0.781 % 12.500 % 200.000 % 3199.951 % Instant limits for crossing priority levels as CPU time: 1 2 3 max v4/32 : 1.0 ms 16.0 ms 256.0 ms 4.1 s v4/24 : 32.0 ms 512.0 ms 8.2 s 131.1 s v4/20 : 256.0 ms 4.1 s 65.5 s 1048.6 s v4/18 : 768.0 ms 12.3 s 196.6 s 3145.7 s v6/128: 1.0 ms 16.0 ms 256.0 ms 4.1 s v6/64 : 2.0 ms 32.0 ms 512.0 ms 8.2 s v6/56 : 3.0 ms 48.0 ms 768.0 ms 12.3 s v6/48 : 4.0 ms 64.0 ms 1.0 s 16.4 s v6/32 : 64.0 ms 1.0 s 16.4 s 262.1 s (values above max are indistinguishable) Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743387] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743388 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 supervisord[743285]: success: kresd0 entered RUNNING state, process sent notification via $NOTIFY_SOCKET Apr 14 09:55:58 kresd[743382]: [taupd ] refreshing TA for . Apr 14 09:55:58 supervisord[743285]: waiting for kresd0 to stop Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743388] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743389 Apr 14 09:55:58 kresd[743382]: [primin] triggered priming query, next in 42752 seconds Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 supervisord[743285]: stopped: kresd0 (exit status 0) Apr 14 09:55:58 supervisord[743285]: spawned: 'kresd0' with pid 743390 Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743389] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743391 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743391] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743392 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743392] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743393 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 kresd[743390]: [system] path = /run/knot-resolver/control/0 Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743393] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743394 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 kresd[743390]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:58 kresd[743390]: [defer ] Initializing defer... Apr 14 09:55:58 kresd[743390]: [defer ] Defer initialized (AVX2). Apr 14 09:55:58 kresd[743390]: [defer ] Defer configuration: Expected cpus/procs: 2 Max waiting requests: 64.0 MiB Request timeout: 1.0 s Idle: 1.0 ms UDP phase: 400.0 us Non-UDP phase: 400.0 us Priority levels: 25 (4 main levels, 8 sublevels) + UDP KRU capacity: 524.3 k (4.2 MiB) Decay: 0.012 % per ms (32-bit max: 524280) Half-life: 5.7 s Priority rise in: 22.7 s Counter reset in: 90.8 s Rate limits for crossing priority levels as single CPU utilization: 1 2 3 max v4/32 : 0.012 % 0.195 % 3.125 % 49.999 % v4/24 : 0.391 % 6.250 % 100.000 % 1599.976 % v4/20 : 3.125 % 50.000 % 800.000 % 12799.805 % v4/18 : 9.375 % 150.000 % 2400.000 % 38399.414 % v6/128: 0.012 % 0.195 % 3.125 % 49.999 % v6/64 : 0.024 % 0.391 % 6.250 % 99.998 % v6/56 : 0.037 % 0.586 % 9.375 % 149.998 % v6/48 : 0.049 % 0.781 % 12.500 % 199.997 % v6/32 : 0.781 % 12.500 % 200.000 % 3199.951 % Instant limits for crossing priority levels as CPU time: 1 2 3 max v4/32 : 1.0 ms 16.0 ms 256.0 ms 4.1 s v4/24 : 32.0 ms 512.0 ms 8.2 s 131.1 s v4/20 : 256.0 ms 4.1 s 65.5 s 1048.6 s v4/18 : 768.0 ms 12.3 s 196.6 s 3145.7 s v6/128: 1.0 ms 16.0 ms 256.0 ms 4.1 s v6/64 : 2.0 ms 32.0 ms 512.0 ms 8.2 s v6/56 : 3.0 ms 48.0 ms 768.0 ms 12.3 s v6/48 : 4.0 ms 64.0 ms 1.0 s 16.4 s v6/32 : 64.0 ms 1.0 s 16.4 s 262.1 s (values above max are indistinguishable) Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743394] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743395 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743395] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743396 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743396] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743397 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 supervisord[743285]: success: kresd0 entered RUNNING state, process sent notification via $NOTIFY_SOCKET Apr 14 09:55:58 kresd[743390]: [taupd ] refreshing TA for . Apr 14 09:55:58 kresd[743390]: [primin] triggered priming query, next in 42752 seconds Apr 14 09:55:58 supervisord[743285]: spawned: 'kresd1' with pid 743399 Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743397] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743400 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 kresd[743399]: [system] path = /run/knot-resolver/control/1 Apr 14 09:55:58 kresd[743390]: [timesk] Local system time "Tue Apr 14 09:55:58 2026" is within RRSIG validity interval <"Mon Apr 13 18:00:00 2026","Sun Apr 26 19:00:00 2026">. Apr 14 09:55:58 kresd[743390]: [tasign] signalling query triggered: _ta-4f66-9728. Apr 14 09:55:58 kresd[743390]: [taupd ] next refresh for . in 1 hours Apr 14 09:55:58 kresd[743399]: [cache ] Cache top initialized using existing data (AVX2). Apr 14 09:55:58 kresd[743399]: [defer ] Using existing defer data (AVX2). Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743400] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743401 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 kresd[743399]: [taupd ] refreshing TA for . Apr 14 09:55:58 kresd[743399]: [primin] triggered priming query, next in 42752 seconds Apr 14 09:55:58 supervisord[743285]: success: kresd1 entered RUNNING state, process sent notification via $NOTIFY_SOCKET Apr 14 09:55:58 supervisord[743285]: spawned: 'cache-gc' with pid 743402 Apr 14 09:55:58 supervisord[743285]: success: cache-gc entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 knot_resolver.manager.manager[743291]: Config applied successfully to all workers Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743401] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743403 Apr 14 09:55:58 knot_resolver.manager.server[743291]: Initial configuration applied. Process manager initialized... Apr 14 09:55:58 knot_resolver.manager.server[743291]: Starting API HTTP server on http+unix:///run/knot-resolver/kres-api.sock Apr 14 09:55:58 knot_resolver.manager.server[743291]: Manager fully initialized and running in 30.083 seconds Apr 14 09:55:58 supervisord[743285]: success: manager entered RUNNING state, process sent notification via $NOTIFY_SOCKET Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) Apr 14 09:55:58 systemd[1]: Started knot-resolver.service - Knot Resolver Manager. Apr 14 09:55:58 supervisord[743285]: captured stdio output from policy-loader[743403] (stderr): [system] config 'policy-loader.conf' (workdir '/run/knot-resolver'): No such file > Apr 14 09:55:58 supervisord[743285]: exited: policy-loader (exit status 1; not expected) Apr 14 09:55:58 supervisord[743285]: spawned: 'policy-loader' with pid 743405 Apr 14 09:55:58 kresd[743399]: [timesk] Local system time "Tue Apr 14 09:55:58 2026" is within RRSIG validity interval <"Mon Apr 13 18:00:00 2026","Sun Apr 26 19:00:00 2026">. Apr 14 09:55:58 kresd[743399]: [tasign] signalling query triggered: _ta-4f66-9728. Apr 14 09:55:58 kresd[743399]: [taupd ] next refresh for . in 1 hours Apr 14 09:55:58 supervisord[743285]: captured stdio output from cache-gc[743402]: Knot Resolver Cache Garbage Collector, version 6.2.0 Apr 14 09:55:58 supervisord[743285]: success: policy-loader entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) ```
issue