Merge "Avoid "-a" cp option in order to avoid SELinux AVC"

This commit is contained in:
Zuul 2019-03-15 02:06:45 +00:00 committed by Gerrit Code Review
commit 0bb76dc9fc
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ outputs:
# Use bash to run the cp command so that wildcards can be used
- '/bin/bash'
- '-c'
- 'cp -v -a -t /etc/swift /swift_ringbuilder/etc/swift/*.gz /swift_ringbuilder/etc/swift/*.builder /swift_ringbuilder/etc/swift/backups'
- 'cp -v -dR --preserve -t /etc/swift /swift_ringbuilder/etc/swift/*.gz /swift_ringbuilder/etc/swift/*.builder /swift_ringbuilder/etc/swift/backups'
volumes:
- /var/lib/config-data/puppet-generated/swift/etc/swift:/etc/swift:rw,z
- /var/lib/config-data/swift_ringbuilder:/swift_ringbuilder:ro