Skip to content

Commit a677c89

Browse files
committed
Fix rsync permission issue for Swift
rsync uses port 873 to replicate data between Swift storage nodes. Because it is running unprivileged it needs the NET_BIND_SERVICE cap to make this work by default without any customization. Signed-off-by: Christian Schwede <[email protected]>
1 parent da4023c commit a677c89

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

roles/edpm_swift/templates/rsync.yaml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ volumes:
1313
{{ edpm_swift_volumes }}
1414
environment:
1515
KOLLA_CONFIG_STRATEGY: COPY_ALWAYS
16+
cap_add:
17+
- NET_BIND_SERVICE

0 commit comments

Comments
 (0)