Skip to content

Commit

Permalink
spec: in case host don't have ip_tables proceed
Browse files Browse the repository at this point in the history
Resolves: #736
Signed-off-by: Douglas Schilling Landgraf <[email protected]>
  • Loading branch information
dougsland committed Feb 28, 2025
1 parent a09ba10 commit a365996
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rpm/qm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ install -d %{buildroot}%{_sysconfdir}/containers/containers.conf.d
# Execute the script to create seccomp rules after the package is installed
/usr/share/qm/create-seccomp-rules
/usr/share/qm/comment-tz-local # FIX-ME GH-issue: 367
modprobe ip_tables # podmand netavark requires at host to load
modprobe ip_tables || true # podmand netavark requires at host to load or
# let's ignore in case host don't have it and
# proceed with the installation

%preun
if [ $1 = 0 ]; then
Expand Down

0 comments on commit a365996

Please sign in to comment.