]> git.ipfire.org Git - thirdparty/strongswan.git/commit
testing: Fix route-based/net2net-xfrmi-ike scenario
authorTobias Brunner <tobias@strongswan.org>
Tue, 25 Aug 2020 08:28:58 +0000 (10:28 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 3 Sep 2020 13:46:46 +0000 (15:46 +0200)
commit210c1e26282f03357346579680d60873ca3804c0
tree9c0c5719dd82130bc69f8c8b75baa59f4b7d7616
parent1496991078e01fed7e8fb8737c830bfac8283da6
testing: Fix route-based/net2net-xfrmi-ike scenario

On newer systems, the upper hard limit for open file descriptors (see
`ulimit -H -n`) was increased from 4096 to 524288.  Due to how python-daemon
closes potentially open file descriptors (basically stores them in a set,
removes those excluded by config, and loops through all of them), the updown
script was either killed immediately (by the OOM killer) or not ready yet
when updown events occurred.
testing/tests/route-based/net2net-xfrmi-ike/evaltest.dat
testing/tests/route-based/net2net-xfrmi-ike/hosts/sun/etc/updown.py