We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When installing RPM, use setcap to set cap_net_raw capability in %post stage.
setap exit code with 1 . Maybe we should use setcap to specify specific files?
OS Version: CentOS 7 [root@node1 08:11:43 sbin]$rpm -qf `which setcap` libcap-2.32-1.ky10.x86_64 [root@node1 08:11:56 sbin]$/usr/sbin/setcap cap_net_raw+ep /usr/sbin/fping* fatal error: Invalid argument usage: setcap [-q] [-v] [-n <rootid>] (-r|-|<caps>) <filename> [ ... (-r|-|<capsN>) <filenameN> ] Note <filename> must be a regular (non-symlink) file. [root@node1 08:12:07 sbin]$/usr/sbin/setcap cap_net_raw+ep /usr/sbin/fping [root@node1 08:12:10 sbin]$/usr/sbin/setcap cap_net_raw+ep /usr/sbin/fping6 [root@node1 08:12:12 sbin]$echo $? 0
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
When installing RPM, use setcap to set cap_net_raw capability in %post stage.
setap exit code with 1 . Maybe we should use setcap to specify specific files?
The text was updated successfully, but these errors were encountered: