From 8a7f3387083eda366304eb6cce4fbc0761d3b939 Mon Sep 17 00:00:00 2001 From: funk-on-code <113871227+funk-on-code@users.noreply.github.com> Date: Sat, 22 Oct 2022 18:05:39 +0000 Subject: [PATCH] Auditd should point to chroot, not live install. (#18) 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