Hey Lennart,

Lennart Poettering [2015-05-20 17:49 +0200]:
> Nope, ConditionSecurity=audit is only a simple boolean check that
> holds when audit is enabled at all. It doesn't tell you anything about
> the precise audit feature set of the kernel.

Ah, thanks for the clarification.

> I have now conditionalized the unit on CAP_ADMIN_READ, which is the
> cap that you need to read the audit multicast stuff. You container
> manager hence should simply drop that cap fro, the cap set it passes
> and all should be good.

Wonderful! Now it works perfectly in nspawn. (This needs to be fixed
in unprivileged LXC containers, but that's not a systemd problem; I'll
talk to LXC upstream about that).

With these two fixes, should we now remove the scary warning in
README? AFAICS there is no need to turn auditing off on the host any
more.

Thanks!

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to