Skip to content
New issue

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

Allow containers to mount tmpfs_t file systems #196

Merged
merged 1 commit into from
Nov 16, 2022

Conversation

rhrazdil
Copy link

@rhrazdil rhrazdil commented Nov 15, 2022

Signed-off-by: Radim Hrazdil [email protected]

The policy is needed for Passt, see passt.te
for reference.

container.te Outdated
@@ -836,6 +836,7 @@ container_spc_stream_connect(container_domain)
fs_dontaudit_remount_tmpfs(container_domain)
dev_dontaudit_mounton_sysfs(container_domain)
dev_dontaudit_mounton_sysfs(container_domain)
allow container_t tmpfs_t:filesystem { mount };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do

fs_mount_tmpfs(container_domain)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your review!
Updated

@sbrivio-rh
Copy link

For commit 6dff9fd:

Reviewed-by: Stefano Brivio <[email protected]>

@rhatdan
Copy link
Member

rhatdan commented Nov 16, 2022

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants