diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2022-08-11 18:57:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 18:57:35 +0300 |
commit | 80e9a6992f315deb196c9726ed6303aefeac9ebd (patch) | |
tree | 83eba13b1cc1b2cc34b6c1bd43dc4c12e6654e51 /netdata.spec.in | |
parent | 5b6a8ccbfbf6131b6baf915124278595a1a6e5e6 (diff) |
fix(packaging): add CAP_NET_ADMIN for go.d.plugin (#13507)
Diffstat (limited to 'netdata.spec.in')
-rw-r--r-- | netdata.spec.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/netdata.spec.in b/netdata.spec.in index 756a9d3d72..a75e48ddaa 100644 --- a/netdata.spec.in +++ b/netdata.spec.in @@ -515,6 +515,9 @@ rm -rf "${RPM_BUILD_ROOT}" # freeipmi files %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin +# go.d.plugin (the capability required for wireguard module) +%caps(cap_net_admin=epi) %{_libexecdir}/%{name}/plugins.d/go.d.plugin + # Enforce 0644 for files and 0755 for directories # for the netdata web directory %defattr(0644,root,root,0755) |