From ca64ca60d4154c6e7f530ebd47bc81b7d1c7a440 Mon Sep 17 00:00:00 2001
From: Brett Parker <iDunno@sommitrealweird.co.uk>
Date: Sun, 22 May 2016 11:03:09 +0100
Subject: [PATCH] More systemd changes

---
 templates/lxc-debian-unprivileged | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/templates/lxc-debian-unprivileged b/templates/lxc-debian-unprivileged
index 8673944..7c6abd1 100755
--- a/templates/lxc-debian-unprivileged
+++ b/templates/lxc-debian-unprivileged
@@ -223,6 +223,10 @@ if [ -e "${LXC_ROOTFS}/etc/systemd/system/" ]; then
     chroot "${LXC_ROOTFS}" ln -s /lib/systemd/system/halt.target /etc/systemd/system/sigpwr.target
 fi
 
+if [ -e "${LXC_ROOTFS}/lib/systemd/system/systemd-journald-audit.socket" ]; then
+    touch "${LXC_ROOTFS}/etc/systemd/system/systemd-journald-audit.socket"
+fi
+
 cat <<EOF >> "${LXC_ROOTFS}${NETWORK_FILE}"
 auto eth0
 iface eth0 inet dhcp
-- 
2.39.5