[Rpm-maint] [rpm-software-management/rpm] Exclude SIGALRM from the blocked signals (#1479)

bwelterl notifications at github.com
Thu Jan 7 14:31:47 UTC 2021


If an alarm is needed in one of the script in the RPM, it will be ignored because of the blocked signals.
For example, if you use flock with -w, the alarm after the timeout will never be received:
---
%pre
flock -x -w 19 /tmp/lock sleep 99
---
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Exclude SIGALRM in the blocked signals

-- File Changes --

    M rpmio/rpmsq.c (1)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1479.patch
https://github.com/rpm-software-management/rpm/pull/1479.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/1479
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210107/2a6906fd/attachment.html>


More information about the Rpm-maint mailing list