-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
-
podmansh(1)mentionslabel=user:container_user_uwhich is defined in this policy. This repository shipscontainer_ufile to assign correct context during login - it should followseuser_idso the right file should becontainer_user_uand it's probably not necessary at all unless it's expected thatcontainer_user_uwould be used for users who log in. -
In order to make
container_user_uavailable for this use case, it's necessary to runsemanage user -a -r s0-s0:c0.c1023 -R "container_user_r" container_user_uor use gen_user() macro -
there are few missing rules to make it work with
unconfined_t:
(roleallow unconfined_r container_user_r)
(allow container_runtime_t container_user_t ( process ( transition )))
(allow container_runtime_t container_user_t ( process2 ( nnp_transition )))
(allow container_user_t container_file_t ( chr_file ( ioctl read write )))
(allow container_user_t container_file_t ( file ( entrypoint )))
(allow container_user_t container_runtime_t ( fifo_file ( write )))
Metadata
Metadata
Assignees
Labels
No labels