]> git.ipfire.org Git - thirdparty/knot-resolver.git/log
thirdparty/knot-resolver.git
6 months agodatamodel: types: files: handle PermissionError docs-develop-tls-vy3sei/deployments/6032
Aleš Mrázek [Mon, 13 Jan 2025 21:45:16 +0000 (22:45 +0100)] 
datamodel: types: files: handle PermissionError

6 months agoNEWS: update
Aleš Mrázek [Mon, 13 Jan 2025 13:46:20 +0000 (14:46 +0100)] 
NEWS: update

6 months agomanager: files: watchdog: added 'files-watchdog' to TLS config
Aleš Mrázek [Thu, 9 Jan 2025 12:58:44 +0000 (13:58 +0100)] 
manager: files: watchdog: added 'files-watchdog' to TLS config

6 months agodoc/user/config-network-server-tls.rst: added info about 'files-watchdog' configuration
Aleš Mrázek [Mon, 6 Jan 2025 15:24:31 +0000 (16:24 +0100)] 
doc/user/config-network-server-tls.rst: added info about 'files-watchdog' configuration

6 months agotests/packaging/interactive/watchdog.sh: updated with 'files-watchdog' config
Aleš Mrázek [Mon, 6 Jan 2025 15:23:27 +0000 (16:23 +0100)] 
tests/packaging/interactive/watchdog.sh: updated with 'files-watchdog' config

6 months agodatamodel: network: tls: added 'files-watchdog' option
Aleš Mrázek [Mon, 6 Jan 2025 15:05:27 +0000 (16:05 +0100)] 
datamodel: network: tls: added 'files-watchdog' option

6 months agopython: constants: added optional dependency import check (prometheus and watchdog)
Aleš Mrázek [Mon, 6 Jan 2025 15:01:43 +0000 (16:01 +0100)] 
python: constants: added optional dependency import check (prometheus and watchdog)

6 months agoMerge branch 'manager-files-reload' into 'master' docs-develop-mast-tzgd0f/deployments/6031
Aleš Mrázek [Tue, 14 Jan 2025 09:02:02 +0000 (10:02 +0100)] 
Merge branch 'manager-files-reload' into 'master'

manager: TLS cert files reload (force)

See merge request knot/knot-resolver!1644

6 months agoNEWS: update docs-develop-mana-ybapp7/deployments/6030
Aleš Mrázek [Mon, 13 Jan 2025 20:57:33 +0000 (21:57 +0100)] 
NEWS: update

6 months agotests/packaging/interactive: added files_reload.sh
Aleš Mrázek [Fri, 10 Jan 2025 14:29:05 +0000 (15:29 +0100)] 
tests/packaging/interactive: added files_reload.sh

6 months agomanager: register reload_files callback
Aleš Mrázek [Fri, 27 Dec 2024 15:10:11 +0000 (16:10 +0100)] 
manager: register reload_files callback

6 months agomanager: config_store: added only_on_no_changes_update decorator
Aleš Mrázek [Fri, 27 Dec 2024 15:05:51 +0000 (16:05 +0100)] 
manager: config_store: added only_on_no_changes_update decorator

This decorator will only trigger the function if the selected config has not been changed.

6 months agomanager: files: added files_reload callback
Aleš Mrázek [Fri, 27 Dec 2024 15:02:51 +0000 (16:02 +0100)] 
manager: files: added files_reload callback

Now it will only reload the TLS cert files.

6 months agoMerge !1641: Request prioritization (defer) docs-develop-mast-tzgd0f/deployments/6029
Vladimír Čunát [Tue, 14 Jan 2025 08:44:28 +0000 (09:44 +0100)] 
Merge !1641: Request prioritization (defer)

6 months agodoc/user: defer nits docs-develop-defe-x6j6qe/deployments/6028
Vladimír Čunát [Tue, 14 Jan 2025 08:05:54 +0000 (09:05 +0100)] 
doc/user: defer nits

6 months agodefer nits docs-develop-defe-x6j6qe/deployments/6023
Vladimír Čunát [Mon, 6 Jan 2025 15:24:17 +0000 (16:24 +0100)] 
defer nits

Swapping the fields reduces the size of the struct.
(I see no reason for the previous field order.)

6 months agoNEWS: add defer bullet docs-develop-defe-x6j6qe/deployments/6019
Lukáš Ondráček [Mon, 13 Jan 2025 12:35:48 +0000 (13:35 +0100)] 
NEWS: add defer bullet

6 months agodaemon/defer: disable by default
Lukáš Ondráček [Mon, 13 Jan 2025 12:27:25 +0000 (13:27 +0100)] 
daemon/defer: disable by default

6 months agodaemon/defer: redesign UDP and non-UDP phase transition docs-develop-defe-x6j6qe/deployments/6011
Lukáš Ondráček [Fri, 10 Jan 2025 17:04:41 +0000 (18:04 +0100)] 
daemon/defer: redesign UDP and non-UDP phase transition

6 months agodaemon/defer: update uv time after longer operations docs-develop-defe-x6j6qe/deployments/6004
Lukáš Ondráček [Thu, 9 Jan 2025 16:38:21 +0000 (17:38 +0100)] 
daemon/defer: update uv time after longer operations

6 months agodaemon/defer: fix accounting time to phases docs-develop-defe-x6j6qe/deployments/5994
Lukáš Ondráček [Wed, 8 Jan 2025 23:17:43 +0000 (00:17 +0100)] 
daemon/defer: fix accounting time to phases

6 months agodaemon/defer: fix infinite UDP reclassification after TCP request docs-develop-defe-x6j6qe/deployments/5993
Lukáš Ondráček [Wed, 8 Jan 2025 23:13:16 +0000 (00:13 +0100)] 
daemon/defer: fix infinite UDP reclassification after TCP request

6 months agodaemon/defer: fix memory consumption limit check docs-develop-defe-x6j6qe/deployments/5983
Lukáš Ondráček [Mon, 6 Jan 2025 17:45:54 +0000 (18:45 +0100)] 
daemon/defer: fix memory consumption limit check

6 months agodoc: add defer section docs-develop-defe-x6j6qe/deployments/5982
Lukáš Ondráček [Mon, 6 Jan 2025 15:18:37 +0000 (16:18 +0100)] 
doc: add defer section

6 months agodaemon/defer: fix negative priority of follow-up stream packets docs-develop-defe-x6j6qe/deployments/5970
Lukáš Ondráček [Thu, 2 Jan 2025 15:22:33 +0000 (16:22 +0100)] 
daemon/defer: fix negative priority of follow-up stream packets

6 months agoMerge branch 'master' into defer-wip docs-develop-cove-uiak3c/deployments/5969 docs-develop-defe-x6j6qe/deployments/5968
Lukáš Ondráček [Thu, 2 Jan 2025 13:38:53 +0000 (14:38 +0100)] 
Merge branch 'master' into defer-wip

7 months agodaemon/defer: fix configuration reload docs-develop-defe-x6j6qe/deployments/5959
Lukáš Ondráček [Mon, 30 Dec 2024 18:32:34 +0000 (19:32 +0100)] 
daemon/defer: fix configuration reload

7 months agodaemon/defer: tidy
Lukáš Ondráček [Mon, 30 Dec 2024 18:15:33 +0000 (19:15 +0100)] 
daemon/defer: tidy

7 months agodaemon/defer: avoid warnings from gcc and coverity docs-develop-defe-x6j6qe/deployments/5958
Vladimír Čunát [Mon, 30 Dec 2024 16:25:20 +0000 (17:25 +0100)] 
daemon/defer: avoid warnings from gcc and coverity

7 months agodaemon/defer: add subpriorities by prefix length
Lukáš Ondráček [Mon, 30 Dec 2024 15:01:05 +0000 (16:01 +0100)] 
daemon/defer: add subpriorities by prefix length

7 months agoMerge branch 'kresctl-tab-completion' into 'master' docs-develop-mast-tzgd0f/deployments/5937 docs-develop-mast-tzgd0f/deployments/5940 docs-develop-mast-tzgd0f/deployments/5942 docs-develop-mast-tzgd0f/deployments/5944 docs-develop-mast-tzgd0f/deployments/5946 docs-develop-mast-tzgd0f/deployments/5949 docs-develop-mast-tzgd0f/deployments/5951 docs-develop-mast-tzgd0f/deployments/5953 docs-develop-mast-tzgd0f/deployments/5960 docs-develop-mast-tzgd0f/deployments/5964 docs-develop-mast-tzgd0f/deployments/5966 docs-develop-mast-tzgd0f/deployments/5971 docs-develop-mast-tzgd0f/deployments/5973 docs-develop-mast-tzgd0f/deployments/5975 docs-develop-mast-tzgd0f/deployments/5977 docs-develop-mast-tzgd0f/deployments/5984 docs-develop-mast-tzgd0f/deployments/5988 docs-develop-mast-tzgd0f/deployments/5996 docs-develop-mast-tzgd0f/deployments/6006 docs-develop-mast-tzgd0f/deployments/6012 docs-develop-mast-tzgd0f/deployments/6014 docs-develop-mast-tzgd0f/deployments/6016 docs-develop-mast-tzgd0f/deployments/6026 obs-knot-resolver-es11k1/deployments/5941 obs-knot-resolver-es11k1/deployments/5943 obs-knot-resolver-es11k1/deployments/5945 obs-knot-resolver-es11k1/deployments/5947 obs-knot-resolver-es11k1/deployments/5950 obs-knot-resolver-es11k1/deployments/5952 obs-knot-resolver-es11k1/deployments/5954 obs-knot-resolver-es11k1/deployments/5961 obs-knot-resolver-es11k1/deployments/5965 obs-knot-resolver-es11k1/deployments/5967 obs-knot-resolver-es11k1/deployments/5972 obs-knot-resolver-es11k1/deployments/5974 obs-knot-resolver-es11k1/deployments/5976 obs-knot-resolver-es11k1/deployments/5978 obs-knot-resolver-es11k1/deployments/5985 obs-knot-resolver-es11k1/deployments/5989 obs-knot-resolver-es11k1/deployments/5997 obs-knot-resolver-es11k1/deployments/6007 obs-knot-resolver-es11k1/deployments/6013 obs-knot-resolver-es11k1/deployments/6015 obs-knot-resolver-es11k1/deployments/6017 obs-knot-resolver-es11k1/deployments/6027
Aleš Mrázek [Mon, 23 Dec 2024 08:26:44 +0000 (09:26 +0100)] 
Merge branch 'kresctl-tab-completion' into 'master'

kresctl: implement tab completion

See merge request knot/knot-resolver!1622

7 months agodistro: add bash completion to packages docs-develop-kres-ph09xl/deployments/5930
Jakub Ružička [Fri, 20 Dec 2024 17:47:21 +0000 (18:47 +0100)] 
distro: add bash completion to packages

7 months agoNEWS: update
Aleš Mrázek [Fri, 20 Dec 2024 13:29:06 +0000 (14:29 +0100)] 
NEWS: update

7 months agopython: client: completion: config: remove COMP_NOSPACE for last node
Aleš Mrázek [Fri, 20 Dec 2024 10:25:34 +0000 (11:25 +0100)] 
python: client: completion: config: remove COMP_NOSPACE for last node

7 months agoutils/shell-completion/meson.build: install client.bash on a system
Aleš Mrázek [Fri, 20 Dec 2024 10:12:24 +0000 (11:12 +0100)] 
utils/shell-completion/meson.build: install client.bash on a system

7 months agopython: client: completion: not to sugest already used args and alternatives to them
Aleš Mrázek [Thu, 19 Dec 2024 23:33:49 +0000 (00:33 +0100)] 
python: client: completion: not to sugest already used args and alternatives to them

7 months agokresctl: tab-completion: stop appending space after one config layer is completed
Frantisek Tobias [Tue, 10 Dec 2024 07:23:44 +0000 (08:23 +0100)] 
kresctl: tab-completion: stop appending space after one config layer is completed

7 months agopython: client: add completion for all config layers
Frantisek Tobias [Fri, 6 Dec 2024 15:20:34 +0000 (16:20 +0100)] 
python: client: add completion for all config layers

7 months agopython: client: handle the escape '--' argument better because we need it in completion
Aleš Mrázek [Mon, 16 Dec 2024 17:14:15 +0000 (18:14 +0100)] 
python: client: handle the escape '--' argument better because we need it in completion

7 months agopython: client: command: move the getting of completion words to function
Aleš Mrázek [Mon, 16 Dec 2024 17:04:47 +0000 (18:04 +0100)] 
python: client: command: move the getting of completion words to function

- #dirnames# and #filenames# words to indicate that we want complete also files and dirs

7 months agopython: client: completion: improved top-level behavior
Aleš Mrázek [Fri, 6 Dec 2024 15:06:28 +0000 (16:06 +0100)] 
python: client: completion: improved top-level behavior

7 months agoutils/shell-completion/client.bash: compgen escape '--' arguments and minor adjustments
Frantisek Tobias [Tue, 15 Oct 2024 10:41:52 +0000 (12:41 +0200)] 
utils/shell-completion/client.bash: compgen escape '--' arguments and minor adjustments

7 months agoutils/shell-completion/client.bash: skip program name in COMP_WORDS
Frantisek Tobias [Fri, 11 Oct 2024 07:12:34 +0000 (09:12 +0200)] 
utils/shell-completion/client.bash: skip program name in COMP_WORDS

7 months agokresctl: tab-completion: enable config completion
Frantisek Tobias [Tue, 15 Oct 2024 10:40:23 +0000 (12:40 +0200)] 
kresctl: tab-completion: enable config completion

7 months agokresctl: tab-completion: auto-complete for all commands except config
Frantisek Tobias [Fri, 11 Oct 2024 08:36:47 +0000 (10:36 +0200)] 
kresctl: tab-completion: auto-complete for all commands except config

7 months agopython: client: completion: use argparse.REMAINDER
Aleš Mrázek [Tue, 5 Nov 2024 09:27:49 +0000 (10:27 +0100)] 
python: client: completion: use argparse.REMAINDER

Use argparse.REMAINDER to tell argparse to accept everything after argument as value for that argument.

7 months agokresctl: tab-completion: implement suggestions/completion for first argument
Frantisek Tobias [Mon, 7 Oct 2024 11:51:46 +0000 (13:51 +0200)] 
kresctl: tab-completion: implement suggestions/completion for first argument

7 months agoMerge !1643: kr_module_load(): clean up the code a bit docs-develop-mast-tzgd0f/deployments/5928 docs-develop-mast-tzgd0f/deployments/5931 docs-develop-mast-tzgd0f/deployments/5933 docs-develop-mast-tzgd0f/deployments/5935 obs-knot-resolver-es11k1/deployments/5932 obs-knot-resolver-es11k1/deployments/5934 obs-knot-resolver-es11k1/deployments/5936
Vladimír Čunát [Fri, 20 Dec 2024 13:41:48 +0000 (14:41 +0100)] 
Merge !1643: kr_module_load(): clean up the code a bit

7 months agoNEWS nit: avoid a Sphinx warning
Vladimír Čunát [Fri, 20 Dec 2024 13:40:49 +0000 (14:40 +0100)] 
NEWS nit: avoid a Sphinx warning

> NEWS:2: WARNING: Title underline too short.

7 months agomodules/stats: be more correct on ENOMEM docs-develop-kr-m-flu34d/deployments/5926
Vladimír Čunát [Fri, 20 Dec 2024 12:49:41 +0000 (13:49 +0100)] 
modules/stats: be more correct on ENOMEM

7 months agokr_module_load(): don't pass the_engine in module->data docs-develop-kr-m-flu34d/deployments/5925
Vladimír Čunát [Fri, 20 Dec 2024 12:27:41 +0000 (13:27 +0100)] 
kr_module_load(): don't pass the_engine in module->data

It was a confusing way of repurposing the field.

My comment from over five years ago (129002fc0d) said that
some external C modules might be relying on this.
But that certainly sounds moot nowadays.  To get more confidence,
I rechecked all kr_module::data references (as found by libclang).

7 months agokr_module_load(): avoid calling deinit() on errors
Vladimír Čunát [Fri, 20 Dec 2024 12:27:41 +0000 (13:27 +0100)] 
kr_module_load(): avoid calling deinit() on errors

If the module's init() failed or wasn't even called,
I see it as an API error to call deinit().
When init() fails, it should take care of cleanup itself.

7 months agodaemon/defer: make rate limits relative to single cpu docs-develop-cove-uiak3c/deployments/5920 docs-develop-defe-x6j6qe/deployments/5900
Lukáš Ondráček [Mon, 16 Dec 2024 15:29:42 +0000 (16:29 +0100)] 
daemon/defer: make rate limits relative to single cpu

7 months agodaemon/defer: fix price overflow for too long operations docs-develop-defe-x6j6qe/deployments/5882
Lukáš Ondráček [Thu, 12 Dec 2024 14:39:06 +0000 (15:39 +0100)] 
daemon/defer: fix price overflow for too long operations

7 months agodaemon/defer: change KRU configuration
Lukáš Ondráček [Thu, 12 Dec 2024 14:36:56 +0000 (15:36 +0100)] 
daemon/defer: change KRU configuration

7 months agodaemon/defer: increase request timeout to 1s docs-develop-defe-x6j6qe/deployments/5877
Lukáš Ondráček [Mon, 9 Dec 2024 15:37:50 +0000 (16:37 +0100)] 
daemon/defer: increase request timeout to 1s

7 months agodaemon/defer: add log-period for dropped data logging
Lukáš Ondráček [Mon, 9 Dec 2024 14:54:02 +0000 (15:54 +0100)] 
daemon/defer: add log-period for dropped data logging

7 months agodaemon/defer: improve time measuring
Lukáš Ondráček [Thu, 5 Dec 2024 18:50:57 +0000 (19:50 +0100)] 
daemon/defer: improve time measuring

7 months agodaemon/defer: increase request timeout to 50 ms
Lukáš Ondráček [Wed, 4 Dec 2024 16:42:45 +0000 (17:42 +0100)] 
daemon/defer: increase request timeout to 50 ms

7 months agoMerge remote-tracking branch 'origin/master' into defer-wip
Lukáš Ondráček [Wed, 4 Dec 2024 16:31:36 +0000 (17:31 +0100)] 
Merge remote-tracking branch 'origin/master' into defer-wip

7 months agodaemon/defer: add missing libm dependency
Lukáš Ondráček [Wed, 4 Dec 2024 16:17:26 +0000 (17:17 +0100)] 
daemon/defer: add missing libm dependency

7 months agodaemon/defer: use defer instead of prioritization in logs
Lukáš Ondráček [Wed, 4 Dec 2024 16:08:11 +0000 (17:08 +0100)] 
daemon/defer: use defer instead of prioritization in logs

7 months agodaemon/defer: configuration changes + logging docs-develop-defe-x6j6qe/deployments/5839
Lukáš Ondráček [Wed, 4 Dec 2024 16:04:59 +0000 (17:04 +0100)] 
daemon/defer: configuration changes + logging

7 months agoMerge !1450: manager: subprocess debugging via GDB docs-develop-mast-tzgd0f/deployments/5834 docs-develop-mast-tzgd0f/deployments/5835 docs-develop-mast-tzgd0f/deployments/5837 docs-develop-mast-tzgd0f/deployments/5844 docs-develop-mast-tzgd0f/deployments/5846 docs-develop-mast-tzgd0f/deployments/5849 docs-develop-mast-tzgd0f/deployments/5851 docs-develop-mast-tzgd0f/deployments/5854 docs-develop-mast-tzgd0f/deployments/5856 docs-develop-mast-tzgd0f/deployments/5858 docs-develop-mast-tzgd0f/deployments/5860 docs-develop-mast-tzgd0f/deployments/5862 docs-develop-mast-tzgd0f/deployments/5864 docs-develop-mast-tzgd0f/deployments/5869 docs-develop-mast-tzgd0f/deployments/5871 docs-develop-mast-tzgd0f/deployments/5873 docs-develop-mast-tzgd0f/deployments/5875 docs-develop-mast-tzgd0f/deployments/5878 docs-develop-mast-tzgd0f/deployments/5880 docs-develop-mast-tzgd0f/deployments/5883 docs-develop-mast-tzgd0f/deployments/5885 docs-develop-mast-tzgd0f/deployments/5888 docs-develop-mast-tzgd0f/deployments/5890 docs-develop-mast-tzgd0f/deployments/5892 docs-develop-mast-tzgd0f/deployments/5894 docs-develop-mast-tzgd0f/deployments/5896 docs-develop-mast-tzgd0f/deployments/5898 docs-develop-mast-tzgd0f/deployments/5901 docs-develop-mast-tzgd0f/deployments/5903 docs-develop-mast-tzgd0f/deployments/5905 docs-develop-mast-tzgd0f/deployments/5907 docs-develop-mast-tzgd0f/deployments/5910 docs-develop-mast-tzgd0f/deployments/5912 docs-develop-mast-tzgd0f/deployments/5918 docs-develop-nigh-589znp/deployments/5836 docs-develop-nigh-589znp/deployments/5845 docs-develop-nigh-589znp/deployments/5850 docs-develop-nigh-589znp/deployments/5855 docs-develop-nigh-589znp/deployments/5859 docs-develop-nigh-589znp/deployments/5863 docs-develop-nigh-589znp/deployments/5870 docs-develop-nigh-589znp/deployments/5874 docs-develop-nigh-589znp/deployments/5879 docs-develop-nigh-589znp/deployments/5884 docs-develop-nigh-589znp/deployments/5889 docs-develop-nigh-589znp/deployments/5893 docs-develop-nigh-589znp/deployments/5897 docs-develop-nigh-589znp/deployments/5902 docs-develop-nigh-589znp/deployments/5906 docs-develop-nigh-589znp/deployments/5911 obs-knot-resolver-es11k1/deployments/5891 obs-knot-resolver-es11k1/deployments/5899 obs-knot-resolver-es11k1/deployments/5904 obs-knot-resolver-es11k1/deployments/5908 obs-knot-resolver-es11k1/deployments/5913 obs-knot-resolver-es11k1/deployments/5919
Vladimír Čunát [Tue, 3 Dec 2024 11:01:16 +0000 (12:01 +0100)] 
Merge !1450: manager: subprocess debugging via GDB

7 months agodoc: debugging with kresctl moved to dev docs-develop-mana-z56um3/deployments/5833
Aleš Mrázek [Tue, 3 Dec 2024 10:40:45 +0000 (11:40 +0100)] 
doc: debugging with kresctl moved to dev

7 months agokresctl debug: add --print-only and be silent by default
Oto Šťáva [Mon, 18 Mar 2024 11:21:28 +0000 (12:21 +0100)] 
kresctl debug: add --print-only and be silent by default

7 months agokresctl debug: adjust defaults, documentation
Oto Šťáva [Fri, 15 Mar 2024 09:16:16 +0000 (10:16 +0100)] 
kresctl debug: adjust defaults, documentation

7 months agokresctl debug: allow paths for '--gdb' and add existence checks
Oto Šťáva [Thu, 5 Oct 2023 13:49:00 +0000 (15:49 +0200)] 
kresctl debug: allow paths for '--gdb' and add existence checks

7 months agokresctl: debug command help message
Oto Šťáva [Wed, 4 Oct 2023 13:01:07 +0000 (15:01 +0200)] 
kresctl: debug command help message

7 months agomanager, kresctl: print status in pids
Oto Šťáva [Fri, 22 Sep 2023 08:07:29 +0000 (10:07 +0200)] 
manager, kresctl: print status in pids

7 months agomanager: add more verbose PIDs listing
Oto Šťáva [Mon, 18 Sep 2023 13:53:40 +0000 (15:53 +0200)] 
manager: add more verbose PIDs listing

7 months agokresctl: add command to run a debugger on subprocesses
Oto Šťáva [Thu, 24 Aug 2023 06:05:21 +0000 (08:05 +0200)] 
kresctl: add command to run a debugger on subprocesses

7 months agomanager: add option to list PIDs
Oto Šťáva [Tue, 22 Aug 2023 07:55:03 +0000 (09:55 +0200)] 
manager: add option to list PIDs

This commit is the groundwork for adding support for debugging via GDB
(or another compatible debugger). This way, we can retrieve the
subprocesses' PIDs and pass those to the debugger.

7 months agoMerge !1626: manager: TLS certificate files auto-reload docs-develop-mast-tzgd0f/deployments/5832
Vladimír Čunát [Tue, 3 Dec 2024 08:32:22 +0000 (09:32 +0100)] 
Merge !1626: manager: TLS certificate files auto-reload

7 months agodoc, NEWS: added 'watchdog' info docs-develop-file-cvmk6l/deployments/5831
Aleš Mrázek [Mon, 2 Dec 2024 21:56:35 +0000 (22:56 +0100)] 
doc, NEWS: added  'watchdog' info

7 months ago.gitlab-ci.yml: pkg: alma-9: install 'watchdog' with PyPi just for testing
Aleš Mrázek [Mon, 2 Dec 2024 20:09:03 +0000 (21:09 +0100)] 
.gitlab-ci.yml: pkg: alma-9: install 'watchdog' with PyPi just for testing

python-watchdog is not included in the official Alma 9 packages

7 months ago.gitlab-ci.yml: pkg: arch: install python-watchdog
Aleš Mrázek [Mon, 2 Dec 2024 19:24:05 +0000 (20:24 +0100)] 
.gitlab-ci.yml: pkg: arch: install python-watchdog

7 months agomanager: files watchdog: watch parent directory for changes
Aleš Mrázek [Thu, 28 Nov 2024 16:44:58 +0000 (17:44 +0100)] 
manager: files watchdog: watch parent directory for changes

Watching the whole parent directory is better because we can see file deletion and creation and there is no need to reinitiate the watchdog when a file is replaced.

7 months ago.gitlab-ci.yml: pkg-tests: show knot-resolver.service log
Aleš Mrázek [Thu, 28 Nov 2024 09:57:38 +0000 (10:57 +0100)] 
.gitlab-ci.yml: pkg-tests: show knot-resolver.service log

7 months agomanager: server: globally handle configuration validation errors
Aleš Mrázek [Wed, 27 Nov 2024 10:38:25 +0000 (11:38 +0100)] 
manager: server: globally handle configuration validation errors

7 months agotests/packaging/interactive: added watchdog test
Aleš Mrázek [Tue, 26 Nov 2024 22:01:38 +0000 (23:01 +0100)] 
tests/packaging/interactive: added watchdog test

7 months agotests/packaging/interactive: suppress some commands stdout
Aleš Mrázek [Tue, 26 Nov 2024 20:43:48 +0000 (21:43 +0100)] 
tests/packaging/interactive: suppress some commands stdout

7 months agodistro/pkg: added python-watchdog as optional dependency
Aleš Mrázek [Tue, 26 Nov 2024 20:02:45 +0000 (21:02 +0100)] 
distro/pkg: added python-watchdog as optional dependency

7 months agomanager: files watchdog: watchdog created specifically for TLS certificate files
Aleš Mrázek [Mon, 25 Nov 2024 11:51:38 +0000 (12:51 +0100)] 
manager: files watchdog: watchdog created specifically for TLS certificate files

- on_modified: the command is delayed to avoid sending too many
- on_deleted: files watching is stopped rescheduled (replaced file)

7 months agopython/knot_resolver/manager: added files watchdog
Aleš Mrázek [Fri, 18 Oct 2024 09:13:54 +0000 (11:13 +0200)] 
python/knot_resolver/manager: added files watchdog

7 months agopyproject.toml: 'watchdog' added as optional dependency
Aleš Mrázek [Thu, 17 Oct 2024 15:42:30 +0000 (17:42 +0200)] 
pyproject.toml: 'watchdog' added as optional dependency

7 months agodaemon/defer: change address mismatch assert to warning docs-develop-defe-x6j6qe/deployments/5822
Lukáš Ondráček [Mon, 2 Dec 2024 17:00:27 +0000 (18:00 +0100)] 
daemon/defer: change address mismatch assert to warning

7 months agodaemon/defer: fix other places with recursive time measurements docs-develop-defe-x6j6qe/deployments/5817
Lukáš Ondráček [Mon, 2 Dec 2024 15:29:16 +0000 (16:29 +0100)] 
daemon/defer: fix other places with recursive time measurements

7 months agodaemon/defer: increase deferred request timeout docs-develop-defe-x6j6qe/deployments/5815
Lukáš Ondráček [Mon, 2 Dec 2024 11:44:06 +0000 (12:44 +0100)] 
daemon/defer: increase deferred request timeout

7 months agoMerge !1608: daemon: add sd_notify alternative docs-develop-mast-tzgd0f/deployments/5814 docs-develop-mast-tzgd0f/deployments/5826 docs-develop-mast-tzgd0f/deployments/5827
Vladimír Čunát [Mon, 2 Dec 2024 08:51:41 +0000 (09:51 +0100)] 
Merge !1608: daemon: add sd_notify alternative

7 months agodaemon: add sd_notify alternative docs-develop-daem-b51ind/deployments/5813
Frantisek Tobias [Mon, 2 Sep 2024 12:20:30 +0000 (14:20 +0200)] 
daemon: add sd_notify alternative

This allows kresd to run even if libsystemd is not available.

8 months agodaemon/defer: fix charging time to UDP and non-UDP phases docs-develop-defe-x6j6qe/deployments/5788
Lukáš Ondráček [Thu, 28 Nov 2024 16:00:59 +0000 (17:00 +0100)] 
daemon/defer: fix charging time to UDP and non-UDP phases

8 months agodaemon/defer: minor changes docs-develop-defe-x6j6qe/deployments/5787
Lukáš Ondráček [Thu, 28 Nov 2024 11:45:29 +0000 (12:45 +0100)] 
daemon/defer: minor changes

8 months agodaemon/defer: fix using src_addr instead of comm_addr
Lukáš Ondráček [Wed, 27 Nov 2024 14:27:16 +0000 (15:27 +0100)] 
daemon/defer: fix using src_addr instead of comm_addr

8 months agodaemon/defer: allow recursive time accounting, fix subreq accounting docs-develop-defe-x6j6qe/deployments/5754
Lukáš Ondráček [Mon, 25 Nov 2024 18:10:20 +0000 (19:10 +0100)] 
daemon/defer: allow recursive time accounting, fix subreq accounting

8 months agoMerge !1633: daemon/worker: decrease log level of uv_udp_connect() failure docs-develop-mast-tzgd0f/deployments/5749 docs-develop-mast-tzgd0f/deployments/5755 docs-develop-mast-tzgd0f/deployments/5757 docs-develop-mast-tzgd0f/deployments/5765 docs-develop-mast-tzgd0f/deployments/5767 docs-develop-mast-tzgd0f/deployments/5781 docs-develop-mast-tzgd0f/deployments/5782 docs-develop-mast-tzgd0f/deployments/5792 docs-develop-mast-tzgd0f/deployments/5794 docs-develop-mast-tzgd0f/deployments/5801 docs-develop-mast-tzgd0f/deployments/5803 docs-develop-mast-tzgd0f/deployments/5805 docs-develop-mast-tzgd0f/deployments/5807 docs-develop-mast-tzgd0f/deployments/5809 docs-develop-mast-tzgd0f/deployments/5811 docs-develop-nigh-589znp/deployments/5756 docs-develop-nigh-589znp/deployments/5766 docs-develop-nigh-589znp/deployments/5793 docs-develop-nigh-589znp/deployments/5802 docs-develop-nigh-589znp/deployments/5806 docs-develop-nigh-589znp/deployments/5810
Vladimír Čunát [Mon, 25 Nov 2024 13:06:21 +0000 (14:06 +0100)] 
Merge !1633: daemon/worker: decrease log level of uv_udp_connect() failure

8 months agodaemon/worker: decrease log level of uv_udp_connect() failure docs-develop-log-7sjd37/deployments/5748
Vladimír Čunát [Tue, 19 Nov 2024 07:42:44 +0000 (08:42 +0100)] 
daemon/worker: decrease log level of uv_udp_connect() failure

In particular, ENETUNREACH happens on systems without IPv6,
and it doesn't make much sense to log about that by default:
  [io    ] Failed to establish udp connection: address not available

Introduced in 82e1d596 (v6.0.9).

Also log the IP address.

8 months agoMerge !1639: .gitlab-ci.yml: pkg:arch: run proper LXC tests again docs-develop-mast-tzgd0f/deployments/5746
Vladimír Čunát [Mon, 25 Nov 2024 11:44:12 +0000 (12:44 +0100)] 
Merge !1639: .gitlab-ci.yml: pkg:arch: run proper LXC tests again

8 months ago.gitlab-ci.yml: pkg:arch: install prometheus explicitly docs-develop-ci-a-oiegld/deployments/5745
Vladimír Čunát [Wed, 20 Nov 2024 06:12:14 +0000 (07:12 +0100)] 
.gitlab-ci.yml: pkg:arch: install prometheus explicitly

8 months agoRevert "CI: use standard docker for pkg:arch"
Vladimír Čunát [Tue, 19 Nov 2024 14:49:29 +0000 (15:49 +0100)] 
Revert "CI: use standard docker for pkg:arch"

This reverts commit c1660b0236c0b0d6abce5ebf8b497a9f905dc071.