CAP_AUDIT_READ is not supported on Xenial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libcap2 (Ubuntu) |
Won't Fix
|
Undecided
|
Serge Hallyn |
Bug Description
I'm encountering the same issue as #1451601 describes. The fix, a more recent libcap2 2.25, has made it into the Yakkety distribution but not Xenial.
Summary of the problem: One cannot raise or lower CAP_AUDIT_READ, which is equal to decimal value 37. As compiled, libcap2 2.24 supports up to CAP_BLOCK_SUSPEND (36).
lsb_release -rd
Description: Ubuntu 16.04.2 LTS
Release: 16.04
apt-cache policy libcap2
libcap2:
Installed: 1:2.24-12
Candidate: 1:2.24-12
Version table:
*** 1:2.24-12 500
500 http://
100 /var/lib/
setcap cap_audit_read=eip /bin/ls
fatal error: Invalid argument
usage: setcap [-q] [-v] (-r|-|<caps>) <filename> [ ... (-r|-|<capsN>) <filenameN> ]
Note <filename> must be a regular (non-symlink) file.
Sorry - if this is still an issue, please reply here.