Mailinglist Archive: opensuse-bugs (4297 mails)

< Previous Next >
[Bug 1041742] Filetriggers do not fire (reliably)
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 30 May 2017 14:03:56 +0000
  • Message-id: <bug-1041742-21960-BBIXe6y9ax@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1041742
http://bugzilla.opensuse.org/show_bug.cgi?id=1041742#c2

--- Comment #2 from Dominique Leuenberger <dimstar@xxxxxxxxxxxx> ---
(In reply to Michael Andres from comment #1)
(In reply to Dominique Leuenberger from comment #0)
zypper in --no-recommends gdm => the file trigger is not executed
rpm -i gdm-3.24.1.rpm => the trigger actually seems to work (which
is why I file it against libzypp)

If a package contains a %posttrans script, zypp passes '--noposttrans' to
the rpm install command. Maybe this disturbs? I don't know what else in
libzypp could influence this, as we don't use librpm, but exec 'rpm' to
install the package.

The exact rpm command is visible in the zypper.log (grep "Executing 'rpm'"
/var/log/zypper.log).

ok, so gdm having a posttrans might indeed be the reason that rpm also skips
the transfiletriggerin - which is, after all, also a post-trans script

I'll do some tests on my VM to confirm that this is indeed the case when using
rpm.. and if so, we need to find a solution

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
References