On 06/01/2021 01.44, Chris Murphy wrote:
although it is tied to the state of /var/lib/rpm/ right now. If everything is sourced in /usr/ then it's less controversial, if it ever was, to move the rpm database into /usr/.
This is already done on Tumbleweed. There is just a symlink left for compatibility: /var/lib/rpm -> ../../usr/lib/sysimage/rpm
And a light weight system reset [1] being essentially reverting to some default or empty /etc/ and /var/.
Being able to factory-reset a machine by deleting /etc/* and /var/* is really nice. It also means that a backup of /etc contains just the admin changes to the system and not all the distribution defaults, so it is easier to adapt other (newer) systems the same way. That could simplify the work of the 'machinery' tool.