On 2015-11-06 18:50, Stefan Seyfried wrote:
Am 05.11.2015 um 13:14 schrieb Carlos E. R.:
Different approach idea: install the rpm and somehow list or catch any written or changed file outside of those listed by "rpm -ql ..."
Is that possible?
Yes. By using the audit subsystem. You can log which process changes which files, then check if it is a child of RPM (you don't want to wade through everything else that's going on on a busy file server while installing Flash Player on it ;-P), and if it is, log everything that's change. Then, after rpm is finished installing, use this log and compare it to what the package actually claims to have done. Combine this with a snapper snapshot before and after the installation and it should be possible to restore things to a working order afterwards.
Yes, this is what I was thinking about, but I wouldn't know how to do it :-) Ah, another way to check changes and undo them is rpm --verify, and those changed, reinstall. Clumsy, but doable. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)