You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When no ACL is configured and headscale receives a SIGHUP it prints the following error message:
2024-12-14T19:42:19+01:00 INF Received SIGHUP, reloading ACL and Config signal=hangup
2024-12-14T19:42:19+01:00 ERR failed to set new policy error="parsing policy: parsing hujson, err: hujson: line 1, column 1: parsing value: unexpected EOF"
Expected Behavior
Only process and print policy related errors on SIGHUP when a policy is configured.
Steps To Reproduce
Use the following configuration (default):
policy:
# The mode can be "file" or "database" that defines# where the ACL policies are stored and read from.mode: file# If the mode is set to "file", the path to a# HuJSON file containing ACL policies.path: ""
024-12-14T19:45:24+01:00 INF Received SIGHUP, reloading ACL and Config signal=hangup
2024-12-14T19:45:24+01:00 ERR failed to set new policy error="parsing policy: parsing hujson, err: hujson: line 1, column 1: parsing value: unexpected EOF"
This works fine on Headscale 0.23.0: kill -HUP $(pidof headscale_0.23.0_linux_amd64):
2024-12-14T19:46:35+01:00 INF Received SIGHUP, reloading ACL and Config signal=hangup
Is this a support request?
Is there an existing issue for this?
Current Behavior
When no ACL is configured and headscale receives a SIGHUP it prints the following error message:
Expected Behavior
Only process and print policy related errors on SIGHUP when a policy is configured.
Steps To Reproduce
kill -HUP $(pidof headscale_0.24.0-beta.1_linux_amd64)
This works fine on Headscale 0.23.0:
kill -HUP $(pidof headscale_0.23.0_linux_amd64)
:Environment
Runtime environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: