diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2023-02-13 11:34:53 +0100 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2023-02-13 18:20:12 +0100 |
commit | 819eab8708365ac5398f44c25178470358330c36 (patch) | |
tree | e4a7ddc351e92d190cdcf1df9193ed43a8d227d0 /data | |
parent | 19d19fc97e3bbad10c2aee221939010b9aa91861 (diff) | |
download | vyos-1x-819eab8708365ac5398f44c25178470358330c36.tar.gz vyos-1x-819eab8708365ac5398f44c25178470358330c36.zip |
debian: T5003: Fix chronyd start error
Fixes "chronyd: Fatal error : Not superuser"
Fixes "ip[6394]: Failed to open mounts file: No such file or directory" when in VRF
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/chrony/override.conf.j2 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/data/templates/chrony/override.conf.j2 b/data/templates/chrony/override.conf.j2 index 9eaea7608..0ab8f0824 100644 --- a/data/templates/chrony/override.conf.j2 +++ b/data/templates/chrony/override.conf.j2 @@ -5,6 +5,7 @@ ConditionPathExists={{ config_file }} After=vyos-router.service [Service] +User=root EnvironmentFile= ExecStart= ExecStart={{ vrf_command }}/usr/sbin/chronyd -F 1 -f {{ config_file }} @@ -13,5 +14,5 @@ PIDFile={{ config_file | replace('.conf', '.pid') }} Restart=always RestartSec=10 # Required for VRF support -ProtectControlGroups=No - +ProcSubset=all +ProtectControlGroups=no |