Poettering: Factory Reset, Stateless Systems, Reproducible Systems & Verifiable Systems
Poettering: Factory Reset, Stateless Systems, Reproducible Systems & Verifiable Systems
Posted Jun 18, 2014 5:50 UTC (Wed) by epa (subscriber, #39769)In reply to: Poettering: Factory Reset, Stateless Systems, Reproducible Systems & Verifiable Systems by kjp
Parent article: Poettering: Factory Reset, Stateless Systems, Reproducible Systems & Verifiable Systems
Indeed, any kind of preinstall/postinstall script in an rpm or deb package should be considered a code smell. There should be a way to declare whatever is needed and have the package manager do it intelligently, rather than running arbitrary shell commands. (The shell commands will still be needed as a last resort when you want to do something nobody has thought of yet!)
