Commit a8107659ef3dd4855729bf65aa4d70f784cb5a5f moved the detection to parent 
using waitpid(), but this causes it to complain on any process in the same 
process group. In the usual rpm context we don't have any, but we can't 
very well tell API users not to have any children.

rpmlog() in the child has the issues mentioned in the originating commit, but 
that's a problem that needs to be solved elsewhere. Revert back to issuing 
a warning when we actually *are* in the child process, so there are no false 
positive possible.

Reported at https://bugzilla.redhat.com/show_bug.cgi?id=2254463
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix false positives from Lua scriptlet runaway child detection

-- File Changes --

    M rpmio/rpmlua.c (8)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2818
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to