Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590168 - net-analyzer/netdata-1.2.0 apps.plugin does not have file capabilities set
Summary: net-analyzer/netdata-1.2.0 apps.plugin does not have file capabilities set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-08-01 00:19 UTC by Craig Andrews
Modified: 2016-08-01 00:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Andrews gentoo-dev 2016-08-01 00:19:57 UTC
According to the Makefile:
https://github.com/firehol/netdata/blob/v1.2.0/src/Makefile.am#L92

the file "/usr/libexec/netdata/plugins.d/apps.plugin " should have some capabilities set on it.

However, after installation,
# getcap /usr/libexec/netdata/plugins.d/apps.plugin

returns no capabilities.

The correct output is:
# getcap /usr/libexec/netdata/plugins.d/apps.plugin 
/usr/libexec/netdata/plugins.d/apps.plugin = cap_dac_read_search,cap_sys_ptrace+ep
Comment 1 Craig Andrews gentoo-dev 2016-08-01 00:32:47 UTC
https://github.com/gentoo/gentoo/pull/1989