[Bug 1212798] systemd %transfiletriggerin scriptlet is not executed when installing postgresql-service
https://bugzilla.suse.com/show_bug.cgi?id=1212798 https://bugzilla.suse.com/show_bug.cgi?id=1212798#c6 --- Comment #6 from Franck Bui <fbui@suse.com> --- (In reply to Michael Andres from comment #5)
We payed more attention to SINGLE_TRANS because it works on all systems (SUSE Code15, TW and non-SUSE systems) and it also fixes all %pretrans and LUA issues. But it ATM works with zypper only and it breaks a few features we have (strictly requires download-in-advance; install can not be interrupted between 2 packages nor is it possible to retry a failing package; due to issues in the filesystem package it's not able to upgrade a system when a usrmerge happens).
Then it sounds that fixing this bug and bsc#1041742 by patching rpm 4.16 and adapting libzypp is still the easiest way to go as a short term solution. But the current situation is pretty confusing: the bug was supposed to be fixed 2 years ago but for some reasons it's still there. And now the fix consists in changing the default transaction backend but we don't really know when this will happen (even roughly). We would need know at least if we have to wait in term of days, weeks, months...
The rpm-4.16 mentioned in bug#1041742 may offer a way not to use `--noposttrans` and so may prevent losing the %transfiletriggerin in rpm, which is more problematic than just executing it at a different location in the workflow. The downside is, it's a SUSE specific patch.
The status of this SUSE specific patch is still not clear. Is it really part of rpm 4.16+ shipped by SUSE as stated in https://bugzilla.opensuse.org/show_bug.cgi?id=1041742#c26 ?
Zypper for building e.g. TW images will still show the %transfiletriggerin, %pretrans and LUA issues on older SLE and non-SUSE systems.
Then it really sounds that the patch has to work and be backported to older versions of SLE as well. If not we have to make a choice between never be able to make use of %transfiletriggerin in any SUSE distros (regardless of the transaction backend) or stop supporting building images of TW from older distros. Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com