Skip to content

Commit

Permalink
Disable setcap for ping command
Browse files Browse the repository at this point in the history
Commented out 'setcap cap_net_raw+ep' for the ping command in the script. This ensures the script doesn't modify capabilities for ping, potentially mitigating security risks.
  • Loading branch information
crramirez committed Nov 1, 2024
1 parent 6599e78 commit f3fc83f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create-targz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ EOF
echo "##[section] Fix ping"
systemd-nspawn -q --resolv-conf="replace-host" -D "${TMPDIR}"/dist --pipe /bin/bash <<EOF
chmod u+s "$(command -v ping)"
setcap cap_net_raw+ep "$(command -v ping)"
#setcap cap_net_raw+ep "$(command -v ping)"
EOF

echo "##[section] Copy dnf.conf"
Expand Down

0 comments on commit f3fc83f

Please sign in to comment.