From: Petr Vaněk Date: Mon, 2 Dec 2019 17:59:45 +0000 (+0100) Subject: net-analyzer/netdata: fix live by applying all capabilities X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7438755e7f1feb0a8455e845da29f985d75ee115;p=gentoo.git net-analyzer/netdata: fix live by applying all capabilities Bug: https://bugs.gentoo.org/701460 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Petr Vaněk Closes: https://github.com/gentoo/gentoo/pull/13838 Signed-off-by: Craig Andrews --- diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild index b066aadbf11f..7133c9ae7f67 100644 --- a/net-analyzer/netdata/netdata-9999.ebuild +++ b/net-analyzer/netdata/netdata-9999.ebuild @@ -123,6 +123,8 @@ src_install() { } pkg_postinst() { + fcaps_pkg_postinst + if use xen ; then fcaps 'cap_dac_override' 'usr/libexec/netdata/plugins.d/xenstat.plugin' fi