public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Adam Williamson <awilliam@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Run triggers in env -i to avoid hang during install (#2439813)
Date: Sun, 31 May 2026 02:09:10 GMT	[thread overview]
Message-ID: <178019335073.1.10610556346773730916.rpms-ibus-e225926af1e6@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : e225926af1e690ee9653922fd9f72e55bf8895ad
Author : Adam Williamson <awilliam@redhat.com>
Date   : 2026-02-24T12:24:25-08:00
Stats  : +10/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/e225926af1e690ee9653922fd9f72e55bf8895ad?branch=autotool

Log:
Run triggers in env -i to avoid hang during install (#2439813)

---
diff --git a/ibus.spec b/ibus.spec
index 3bd6068..ed3ddea 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -53,7 +53,7 @@
 Name:           ibus
 Version:        1.5.34~beta1
 # https://github.com/fedora-infra/rpmautospec/issues/101
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Intelligent Input Bus for Linux OS
 License:        LGPL-2.1-or-later
 URL:            https://github.com/ibus/%name/wiki
@@ -441,13 +441,17 @@ fi
 %posttrans
 dconf update || :
 
+# see https://bugzilla.redhat.com/show_bug.cgi?id=2439813
+# for use of `env -i`
 %transfiletriggerin -- %{_datadir}/ibus/component
 [ -x %{_bindir}/ibus ] && \
-  %{_bindir}/ibus write-cache --system &>/dev/null || :
+  env -i %{_bindir}/ibus write-cache --system &>/dev/null || :
 
+# see https://bugzilla.redhat.com/show_bug.cgi?id=2439813
+# for use of `env -i`
 %transfiletriggerpostun -- %{_datadir}/ibus/component
 [ -x %{_bindir}/ibus ] && \
-  %{_bindir}/ibus write-cache --system &>/dev/null || :
+  env -i %{_bindir}/ibus write-cache --system &>/dev/null || :
 
 
 %ldconfig_scriptlets libs
@@ -575,6 +579,9 @@ dconf update || :
 %{_datadir}/installed-tests/ibus
 
 %changelog
+* Tue Feb 24 2026 Adam Williamson <awilliam@redhat.com> - 1.5.34~beta-3
+- Run triggers in env -i to avoid hang during install (#2439813)
+
 * Thu Feb 05 2026 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.34~beta1-2
 - Support input purpose and hits to ibus-wayland
 

                 reply	other threads:[~2026-05-31  2:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178019335073.1.10610556346773730916.rpms-ibus-e225926af1e6@fedoraproject.org \
    --to=awilliam@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox