In Fedora 32 and EL 8 nftables is the default firewall and does not accept : for port ranges, fixes RHBZ#1850164.

i9ce
Richard Shaw 5 years ago
parent 29cab6763a
commit 5f7bd2d63d

@ -185,6 +185,12 @@ find -type f -exec sed -i -e '1s,^#!/usr/bin/python *,#!/usr/bin/python%{python3
# SELinux sources
cp -p %SOURCE1 %SOURCE2 %SOURCE3 .
# In Fedora 32 and EL 8 nftables is the default firewall and does not accept ":" for port ranges.
# https://bugzilla.redhat.com/show_bug.cgi?id=1850164
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 8
sed -i "s/port = 0:65535/port = 0-65535/" config/jail.conf
%endif
%build
%py3_build

Loading…
Cancel
Save