diff options
| author | Sam James <sam@gentoo.org> | 2022-06-17 19:42:28 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2022-06-17 19:44:03 +0100 |
| commit | 1c73d672e4a3e228c1b6b287d4345d229597fa35 (patch) | |
| tree | 92ceea2b3ccd5618c8ead69be5c07a1c5b12cf87 /dev-python/python-distutils-extra/python-distutils-extra-2.45.ebuild | |
| parent | 8a1d005f7decdb50955cd653762f1b171a4e878e (diff) | |
| download | gentoo-1c73d672e4a3e228c1b6b287d4345d229597fa35.tar.gz gentoo-1c73d672e4a3e228c1b6b287d4345d229597fa35.tar.bz2 gentoo-1c73d672e4a3e228c1b6b287d4345d229597fa35.zip | |
net-firewall/nftables: add emergency pkg_preinst sanity check
The idea here is that we check just before merging whether the freshly
built `nft` binary can safely (pretend) reload the system ruleset.
A significant number of recent regressions have manifested in immediate
segfaults when doing this, so it's worth doing the safety check (it's
not as if it's niche or unlikely for a failure to occur at this point).
Those who want a failed check to be *fatal* can set NFTABLES_ABORT_ON_RELOAD_FAILURE=1.
Otherwise, it's just a warning.
Bug: https://bugs.gentoo.org/852662
Thanks-to: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/python-distutils-extra/python-distutils-extra-2.45.ebuild')
0 files changed, 0 insertions, 0 deletions
