Skip to content

Commit

Permalink
Fixed container sync options
Browse files Browse the repository at this point in the history
Do not exclude/filter any security/xattr capabilities.
  • Loading branch information
schaefi committed Sep 11, 2024
1 parent ea0b0e1 commit 7ace6fe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions kiwi/oci_tools/umoci.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,6 @@ def sync_rootfs(self, root_dir, exclude_list=None):
os.sep.join([self.oci_root_dir, 'rootfs']),
exclude_list=exclude_list,
options=Defaults.get_sync_options() + [
'--filter', '-x! user.*',
'--filter', '-x! security.ima*',
'--filter', '-x! security.capability*',
'--delete'
]
)
Expand Down
3 changes: 0 additions & 3 deletions test/unit/oci_tools/umoci_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ def test_sync_rootfs(self, mock_sync):
options=[
'--archive', '--hard-links', '--xattrs', '--acls',
'--one-file-system', '--inplace',
'--filter', '-x! user.*',
'--filter', '-x! security.ima*',
'--filter', '-x! security.capability*',
'--delete'
]
)
Expand Down

0 comments on commit 7ace6fe

Please sign in to comment.