
Olaf Hering <olaf@aepfle.de> writes:
Did anyone already explore the potential pitfalls of moving "restart on update" from %postun to %posttrans?
There is one catch: if there are %posttrans scriptlets in a package, then libzypp will invoke rpm with `--noposttrans` [1] which also prevents %transfiletrigger scriptlets from firing. Zypper then invokes the collected posttrans scriptlets after the transaction, but it never invokes the transaction file triggers. Cheers, Dan Footnotes: [1] https://bugzilla.opensuse.org/show_bug.cgi?id=1041742#c1 -- Dan Čermák <dcermak@suse.com> Software Engineer Development tools SUSE Software Solutions Germany GmbH Maxfeldstr. 5 90409 Nuremberg Germany (HRB 36809, AG Nürnberg) Managing Director: Felix Imendörffer