FS#42799 - [libcap] Doesn't understand CAP_AUDIT_READ

Attached to Project: Arch Linux
Opened by Dave Reisner (falconindy) - Saturday, 15 November 2014, 16:56 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Saturday, 06 December 2014, 11:59 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Booting with any recent systemd from git yields an error in the journal:

[ 0.277350] systemd[1]: [/usr/lib/systemd/system/systemd-journald.service:24] Failed to parse capability in bounding set, ignoring: CAP_AUDIT_READ

CAP_AUDIT_READ was added to the kernel in 3.16. However, libcap's build system "generously" includes its own linux/capability.h which inevitably lags behind the addition of new caps to the kernel. This header is used by the build system to derive the list of known caps and create lookup tables for string-to-cap and cap-to-string translation.

One possible fix is to add a makedepend on 'linux-api-headers' and pass KERNEL_HEADERS=/usr/include to the 'make' invocation in build.
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Saturday, 06 December 2014, 11:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  libcap 2.24-2

Loading...