Public bug reported:

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://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status


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.

** Affects: libcap2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1704416

Title:
  CAP_AUDIT_READ is not supported on Xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcap2/+bug/1704416/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to