[Rpm-maint] [rpm-software-management/rpm] Unblock signals in forked scriptlets (#1486)

Panu Matilainen notifications at github.com
Tue Jan 12 11:40:57 UTC 2021


Since commit c5f82d3f6223ebd0c5cc0a07ea60393ae7284929 we've blocked
most signals during transactions, which makes sense to rpm itself but
the signal mask is inherited to childs and carried even across exec(),
so all scriptlets are executing with those signals blocked as well.
Which in turn does not make sense, the scriptlets could run stuff that
actually depends on signal delivery (such as SIGALARM in RhBug:1913765).

Unblock all signals for forked scriptlet execution (Lua scriptlets are
totally different as they execute in-process for now)
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1486

-- Commit Summary --

  * Unblock signals in forked scriptlets

-- File Changes --

    M lib/rpmscript.c (5)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1486.patch
https://github.com/rpm-software-management/rpm/pull/1486.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1486
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210112/b3a8e8da/attachment.html>


More information about the Rpm-maint mailing list