]> git.sommitrealweird.co.uk Git - lxc-debian-unprivileged.git/commitdiff
More systemd changes
authorBrett Parker <iDunno@sommitrealweird.co.uk>
Sun, 22 May 2016 10:03:09 +0000 (11:03 +0100)
committerBrett Parker <iDunno@sommitrealweird.co.uk>
Sun, 22 May 2016 10:03:09 +0000 (11:03 +0100)
templates/lxc-debian-unprivileged

index 86739442b1178644cc61e86b5675be00c5475f68..7c6abd11879c2e85b74080ff6f0a16b2c82886ea 100755 (executable)
@@ -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