diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-08-14 12:23:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-08-14 12:23:09 +0000 |
commit | cb8040f097bb9ff67a649ced06c9e7f066725265 (patch) | |
tree | bba4804eade6b5211b30360cd7e7e4be4d7967ce | |
parent | Moving new arch-dep perf.plugin to core packages. (diff) | |
download | netdata-cb8040f097bb9ff67a649ced06c9e7f066725265.tar.xz netdata-cb8040f097bb9ff67a649ced06c9e7f066725265.zip |
Marking perf.plugin setuid root as it should be.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/netdata-core-no-sse.lintian-overrides | 3 | ||||
-rw-r--r-- | debian/netdata-core.lintian-overrides | 3 | ||||
-rwxr-xr-x | debian/rules | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/debian/netdata-core-no-sse.lintian-overrides b/debian/netdata-core-no-sse.lintian-overrides index fab35df60..c5b056ebc 100644 --- a/debian/netdata-core-no-sse.lintian-overrides +++ b/debian/netdata-core-no-sse.lintian-overrides @@ -5,5 +5,6 @@ netdata-core-no-sse: non-standard-executable-perm usr/lib/netdata/plugins.d/apps # user created during install netdata-core-no-sse: maintainer-script-should-not-use-recursive-chown-or-chmod -# freeipmi plugin +# plugins that require root access netdata-core-no-sse: setuid-binary usr/lib/netdata/plugins.d/freeipmi.plugin 4754 root/root +netdata-core-no-sse: setuid-binary usr/lib/netdata/plugins.d/perf.plugin 4754 root/root diff --git a/debian/netdata-core.lintian-overrides b/debian/netdata-core.lintian-overrides index 3467fab3d..ed3c4db1e 100644 --- a/debian/netdata-core.lintian-overrides +++ b/debian/netdata-core.lintian-overrides @@ -5,5 +5,6 @@ netdata-core: non-standard-executable-perm usr/lib/netdata/plugins.d/apps.plugin # user created during install netdata-core: maintainer-script-should-not-use-recursive-chown-or-chmod -# freeipmi plugin +# plugins that require root access netdata-core: setuid-binary usr/lib/netdata/plugins.d/freeipmi.plugin 4754 root/root +netdata-core: setuid-binary usr/lib/netdata/plugins.d/perf.plugin 4754 root/root diff --git a/debian/rules b/debian/rules index 3be0bbcf9..07538409c 100755 --- a/debian/rules +++ b/debian/rules @@ -164,9 +164,11 @@ override_dh_fixperms-arch: # given extra capabilities in the postinst script. chmod 0754 $(TOP)-core/usr/lib/netdata/plugins.d/apps.plugin chmod 4754 $(TOP)-core/usr/lib/netdata/plugins.d/freeipmi.plugin + chmod 4754 $(TOP)-core/usr/lib/netdata/plugins.d/perf.plugin ifeq (netdata-core-no-sse,$(findstring netdata-core-no-sse,$(PACKAGES))) chmod 0754 $(TOP)-core-no-sse/usr/lib/netdata/plugins.d/apps.plugin chmod 4754 $(TOP)-core-no-sse/usr/lib/netdata/plugins.d/freeipmi.plugin + chmod 4754 $(TOP)-core-no-sse/usr/lib/netdata/plugins.d/perf.plugin endif override_dh_fixperms-indep: |