On Thu, Aug 8, 2019 at 4:59 AM Andrei POPESCU wrote: > 1. Delete the contents of /etc (all of it) > 2. If a package doesn't find its "stuff" in /etc it regenerates it from > defaults.
There is still way too much stuff that defaults to installing important files in /etc (default config settings, init scripts etc). It would be nice to have a way to tell all postinsts to not generate system-specific files (like machine-id or SSH keys) but do generate caches. Cleaning up after postinsts seems like a hack to me. There are some notes on reproducible installs here, IIRC Tails and Webconverger have achieved that for their live images: https://wiki.debian.org/ReproducibleInstalls -- bye, pabs https://wiki.debian.org/PaulWise