From bcf2dd87946e66a1a94fa1fd4b8ce348d7a6d7a1 Mon Sep 17 00:00:00 2001 From: score Date: Thu, 16 Feb 2023 01:31:16 +0000 Subject: [PATCH] Start unbound with intended arguments Unbound looked like it was meant to be started as if by `unbound -c /etc/unbound/unbound.conf`, but instead the string `-c /etc/unbound/unbound.conf` was set as argv[0] of the unbound command, meaning it is never parsed. --- optional/unbound/start.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optional/unbound/start.py b/optional/unbound/start.py index df768092..5710b6f6 100755 --- a/optional/unbound/start.py +++ b/optional/unbound/start.py @@ -10,4 +10,4 @@ system.set_env() conf.jinja("/unbound.conf", os.environ, "/etc/unbound/unbound.conf") -os.execv("/usr/sbin/unbound", ["-c /etc/unbound/unbound.conf"]) +os.execv("/usr/sbin/unbound", ["unbound", "-c", "/etc/unbound/unbound.conf"])