From b8c5fd4dd8bfd09446576f085124b39b73c19521 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 21 Apr 2026 01:23:47 +0100 Subject: fix(etc-drift): match real pacman -Qkk "backup file:" prefix format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pacman emits lines like "backup file: : ()", not the "(Modified backup file)" suffix format. Anchor the path extraction to /etc/ to avoid catching stderr warnings interleaved into a line. Also extend etc/.ignore with /etc/{passwd,group,shells} — system-managed identity files that surfaced in the new drift output. --- etc/.ignore | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'etc/.ignore') diff --git a/etc/.ignore b/etc/.ignore index e27185c..3c1d9d9 100644 --- a/etc/.ignore +++ b/etc/.ignore @@ -13,12 +13,15 @@ # Per-host identity / secrets /etc/ssh/ssh_host_* +/etc/passwd +/etc/passwd- +/etc/group +/etc/group- /etc/shadow /etc/shadow- /etc/gshadow /etc/gshadow- -/etc/passwd- -/etc/group- +/etc/shells # pacman leftovers from removed packages *.pacsave -- cgit v1.2.3-70-g09d2