Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:coolo:alp:hostos
selinux-policy
fix_cron.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_cron.patch of Package selinux-policy
Index: fedora-policy-20220124/policy/modules/contrib/cron.fc =================================================================== --- fedora-policy-20220124.orig/policy/modules/contrib/cron.fc +++ fedora-policy-20220124/policy/modules/contrib/cron.fc @@ -34,7 +34,7 @@ /var/spool/cron -d gen_context(system_u:object_r:user_cron_spool_t,s0) #/var/spool/cron/root -- gen_context(system_u:object_r:sysadm_cron_spool_t,s0) -/var/spool/cron/USER -- gen_context(system_u:object_r:user_cron_spool_t,s0) +/var/spool/cron/tabs/USER -- gen_context(system_u:object_r:user_cron_spool_t,s0) /var/spool/cron/crontabs -d gen_context(system_u:object_r:cron_spool_t,s0) /var/spool/cron/crontabs/.* -- <<none>> @@ -55,6 +55,10 @@ ifdef(`distro_suse', ` /var/spool/cron/lastrun -d gen_context(system_u:object_r:crond_tmp_t,s0) /var/spool/cron/lastrun/[^/]* -- <<none>> /var/spool/cron/tabs -d gen_context(system_u:object_r:cron_spool_t,s0) + +/var/spool/atjobs -d gen_context(system_u:object_r:cron_spool_t,s0) +/var/spool/atjobs/.SEQ -- gen_context(system_u:object_r:user_cron_spool_t,s0) +/var/spool/atjobs/[^/]* -- <<none>> ') ifdef(`distro_debian',` @@ -69,9 +73,3 @@ ifdef(`distro_gentoo',` /var/spool/cron/lastrun -d gen_context(system_u:object_r:crond_tmp_t,s0) /var/spool/cron/lastrun/[^/]* -- <<none>> ') - -ifdef(`distro_suse', ` -/var/spool/cron/lastrun -d gen_context(system_u:object_r:crond_tmp_t,s0) -/var/spool/cron/lastrun/[^/]* -- <<none>> -/var/spool/cron/tabs -d gen_context(system_u:object_r:cron_spool_t,s0) -') Index: fedora-policy-20220124/policy/modules/contrib/cron.if =================================================================== --- fedora-policy-20220124.orig/policy/modules/contrib/cron.if +++ fedora-policy-20220124/policy/modules/contrib/cron.if @@ -1057,7 +1057,7 @@ interface(`cron_generic_log_filetrans_lo # interface(`cron_system_spool_entrypoint',` gen_require(` - attribute system_cron_spool_t; + type system_cron_spool_t; ') allow $1 system_cron_spool_t:file entrypoint; ')
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor