Skip to content

Instantly share code, notes, and snippets.

@mricon
Created December 10, 2012 15:49
Show Gist options
  • Save mricon/4251382 to your computer and use it in GitHub Desktop.
Save mricon/4251382 to your computer and use it in GitHub Desktop.
Allow cron to do the necessary operation on mounted var_log_t from cron
module mysnaplock 1.0.0;
require {
type cron_log_t;
type var_log_t;
class filesystem associate;
}
#============= cron_log_t ==============
allow cron_log_t var_log_t:filesystem associate;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment