Skip to content

Commit 6ba04b7

Browse files
authored
Merge pull request ceph#60238 from anoopcs9/cephadm-add-net-raw-ctdbd
cephadm/smb: Add NET_RAW capability to deploy ctdbd Reviewed-by: Adam King <[email protected]> Reviewed-by: John Mulligan <[email protected]>
2 parents f2f2cfe + 6c41932 commit 6ba04b7

File tree

1 file changed

+2
-0
lines changed
  • src/cephadm/cephadmlib/daemons

1 file changed

+2
-0
lines changed

src/cephadm/cephadmlib/daemons/smb.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,8 @@ def container_args(self) -> List[str]:
370370
# make conditional?
371371
# CAP_NET_ADMIN is needed for event script to add public ips to iface
372372
cargs.append('--cap-add=NET_ADMIN')
373+
# CAP_NET_RAW allows to send gratuitous ARPs/tickle ACKs via raw sockets
374+
cargs.append('--cap-add=NET_RAW')
373375
return cargs
374376

375377

0 commit comments

Comments
 (0)