LXD container auditd fails to install

Hi!

You can enclose the terminal text with three backticks at the start and at the end, as with

This is an example

Here is how it looks,

Having said that, the Linux Audit Framework (more up to date info at https://wiki.archlinux.org/index.php/Audit_framework) does not have full namespace support yet. This framework has a Linux kernel component and a user-space component. You have installed the user-space component.
You might be able to force it to work with a privileged container. For that, see How to add CAP_IPC_LOCK capabilities to container?