From 2d9597a5f795b66b81bfe07db36647b09ff65ee4 Mon Sep 17 00:00:00 2001 From: funk-on-code <113871227+funk-on-code@users.noreply.github.com> Date: Thu, 13 Oct 2022 01:01:18 +0000 Subject: [PATCH] Auditd should point to chroot, not live install. Auditd fails to start on ArchLinux 2022.10 because the auditd.conf file does not exist in the chroot after 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 aefe000..a44baaa 100755 --- a/install.sh +++ b/install.sh @@ -396,7 +396,7 @@ arch-chroot /mnt chown -R $username:$username /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