diff --git a/refpolicy/policy/modules/system/userdomain.fc b/refpolicy/policy/modules/system/userdomain.fc index 78d6da55f..8cd6788ff 100644 --- a/refpolicy/policy/modules/system/userdomain.fc +++ b/refpolicy/policy/modules/system/userdomain.fc @@ -1,4 +1,9 @@ - +# temporary hack till genhomedircon is fixed +ifdef(`targeted_policy',` +HOME_DIR -d gen_context(system_u:object_r:user_home_dir_t,s0) +HOME_DIR/.+ gen_context(system_u:object_r:user_home_t,s0) +',` HOME_DIR -d gen_context(system_u:object_r:ROLE_home_dir_t,s0) HOME_DIR/.+ gen_context(system_u:object_r:ROLE_home_t,s0) +')