Reportedly fixed in 21.xx, but broken in 20.04 LTS.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1934608
Title:
setcap does not recognize CAP_PERFMON
To manage notifications about this bug go to:
setcap belongs to the "libcap" package, per "man setcap"
** Package changed: ubuntu => libcap (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1934608
Title:
setcap does not recognize CAP_PER
Reproduce by:
echo foo > foo
sudo setcap cap_perfmon+ep foo
Result: "Fatal error: Invalid argument"
sudo setcap cap_net_raw_ep foo
Result: blank (success)
getcap foo
foo = cap_net_raw+ep
So cap_net_raw works, but cap_perfmon is not implemented.
--
You received this bug notification because
Public bug reported:
Ubuntu 20.04 LTS, updated to July 3, 2021.
"setcap" command does not recognize the capability "CAP_PERFMON", in either
upper or lower case.
It recognizes other named capabilities.
The same bug has been reported, and fixed, for RedHat/CentOS:
https://bugzilla.redhat.com/sho