From ef2132f716187e37a530ef98a42e9fdade964f29 Mon Sep 17 00:00:00 2001 From: funk-on-code <113871227+funk-on-code@users.noreply.github.com> Date: Thu, 13 Oct 2022 00:52:59 +0000 Subject: [PATCH] Fix auditd location to use chroot. The audit location should apply to the chroot location, not the live install. Signed-off-by: funk-on-code <113871227+funk-on-code@users.noreply.github.com> --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e67cbf1..70976cf 100755 --- a/install.sh +++ b/install.sh @@ -426,7 +426,7 @@ arch-chroot /mnt chown -R $username:users /home/${username}/.config sed -i 's/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/g' /mnt/etc/sudoers # Change audit logging group -echo "log_group = audit" >> /etc/audit/auditd.conf +echo "log_group = audit" >> /mnt/etc/audit/auditd.conf # Enabling audit service. systemctl enable auditd --root=/mnt &>/dev/null