Arch Linux tool to show changes to the system configuration files.
Example run:
# ./pacmods.py
M /etc/fstab (filesystem)
M /etc/passwd (filesystem)
M /etc/systemd/logind.conf (systemd)
D /etc/foo.conf (foo)
A /etc/systemd/system/default.target
A /etc/profile.d/vim.sh
- Modified config files are indicated with
M; the package that the file belongs to is appended in parentheses. - Deleted config files are indicated with
D; the owning package is appended in parentheses. - Added config files are shown with
A.
- "
M"odified and "D"eleted config files are detected by looking at the config files (or "backup files") of each installed package (these are treated specially bypacman). Modifications are detected by comparing the MD5 checksum of the file against the package database. - "
A"dded files are all files in/etcand/usr/local/etcthat are not owned by a package. Files in/etc/ssl/certsand/etc/ca-certificates/extractedare also excluded, as those directories appear to only contain generated files.
- Either get it from the AUR (what's the AUR?).
- Or just
download
pacmods.pyfrom here and run it. Note that you must have thepythonandpyalpmpackages installed.
- Make the list of config directories (currently
/etcand/usr/local/etc) configurable. - Make the list of excluded files (currently everything in
/etc/ssl/certsand/etc/ca-certificates/extracted) configurable; and possibly tweak the defaults, if required. - Make the output format configurable.