[systemd-devel] serialization bug, swap bug, etc.

Lennart Poettering lennart at poettering.net
Wed Dec 10 04:11:26 PST 2014


On Wed, 10.12.14 09:10, Mantas Mikul─Śnas (grawity at gmail.com) wrote:

> On Thu, Nov 20, 2014 at 9:13 AM, Mantas Mikul─Śnas <grawity at gmail.com> wrote:
> 
> > ~ I'm also getting this on every reload:
> >
> > systemd[1]: [/usr/lib/systemd/system/systemd-journald.service:24] Failed
> > to parse capability in bounding set, ignoring: CAP_AUDIT_READ
> >
> > I suppose I can ignore the message. I see that cap_audit_read was added to
> > kernel 3.16, but unfortunately it doesn't exist in the current libcap
> > release (libcap 2.24).
> >
> 
> Seems like this no longer shows up on my machine, since Arch seems to be
> building libcap against linux-api-headers now (instead of its internal
> copy, I guess).

I also added some code to systemd yesterday that uses its own cap
list, which is more up-to-date. In fact, I think we should drop the
libcap dependency altogether and just do the two syscalls it offers to
us natively in systemd code. Neither is libcap a particularly nice
library, nor is the stuff it does particularly complex, hence we can
as well wrap the two calls we need in our code.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list