624abc4f54
When cron_userdomain_transition boolean is set to on, the user cronjobs are supposed to run in their domains. Without this patch the default context is not properly computed: $ /usr/sbin/getdefaultcon user_u system_u:system_r:crond_t:s0 /usr/sbin/getdefaultcon: Invalid argument $ /usr/sbin/getdefaultcon staff_u system_u:system_r:crond_t:s0 staff_u:sysadm_r:sysadm_t:s0 With this patch applied: $ /usr/sbin/getdefaultcon user_u system_u:system_r:crond_t:s0 user_u:user_r:user_t:s0 $ /usr/sbin/getdefaultcon staff_ system_u:system_r:crond_t:s0 staff_u:staff_r:staff_t:s0 |
||
---|---|---|
.. | ||
dbus_contexts | ||
default_contexts | ||
default_type | ||
failsafe_context | ||
guest_u_default_contexts | ||
initrc_context | ||
media | ||
removable_context | ||
root_default_contexts | ||
securetty_types | ||
sepgsql_contexts | ||
seusers | ||
staff_u_default_contexts | ||
unconfined_u_default_contexts | ||
user_u_default_contexts | ||
userhelper_context | ||
virtual_domain_context | ||
virtual_image_context | ||
x_contexts | ||
xguest_u_default_contexts |