-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Hi, I have two questions regarding the generated cil file for a container with bind mount: -v /home/myuser:/home:myuser:rw (using podman).
The generated container json looks like this:
...
{
"Type": "bind",
"Source": "/home/myuser",
"Destination": "/home/myuser",
"Driver": "",
"Mode": "",
"Options": [
"rbind"
],
"RW": true,
"Propagation": "rprivate"
},
...
First question:
In this usecase with /home/myuser, the blockinherit home_rw_container is not getting added because subdirectories of /home are not matched i think:
Line 362 in 7fa8143
| if item["Source"] == HOME_CONTAINER and item["RW"] is True: |
Is this intended or a bug?
Second question:
The container-selinux udica templates and udica are only generating rules for user_home_t, user_home_dir_t,home_root_t and not for other home directory types, e.g. cache_home_t or other types that have the user_home_type attribute.
Also for this, is this intended or a bug?
Thanks a lot :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels