Skip to content

Commit

Permalink
spec: in case host don't have ip_tables proceed (#737)
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 authored Feb 28, 2025
1 parent a09ba10 commit 950f07d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rpm/qm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ 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
# podmand netavark requires at host to load or let's ignore in case host don't have it and proceed with the installation
modprobe ip_tables || true

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

0 comments on commit 950f07d

Please sign in to comment.