[Bug 1670047] perl-IPTables-libiptc-0.52-27.fc29: upon script completion xtables.lock is not removed; multiple calls of IPTables::libiptc::iptables_do_command() result in an infinite wait loop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1670047

Petr Pisar <ppisar@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



--- Comment #1 from Petr Pisar <ppisar@xxxxxxxxxx> ---
I wonder that the Perl worked so far. Upstream was unable to provide any fix in
last 8 years and claimed guilty iptables upstream that it does not provide a
library. iptables upstream postponed making the library as the people moved to
firewalld and nftables.

If I recall correctly, iptables 1.6 did not perform locking correctly and did
not enforce it. Perl module never bothered with any locking. It seems that the
recent iptables changed the locking. Not only they force it, they also make it
difficult for use as a library. E.g. the locking subroutine exits current
program if it times out. This is unacceptable for the Perl module.

Reading the code it seems as iptables's do_command4() obtained another argument
for enforcing the locking and the Perl module does not specify it. If I disable
locking, it works. I think this is the easiest fix without a risk of exiting a
program.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]

  Powered by Linux