~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to profiles/extras/etc.cron.daily.logrotate

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: etc.cron.daily.logrotate 90 2006-08-04 19:13:59Z seth_arnold $
2
 
# vim:syntax=apparmor
3
 
# ------------------------------------------------------------------
4
 
#
5
 
#    Copyright (C) 2002-2006 Novell/SUSE
6
 
#
7
 
#    This program is free software; you can redistribute it and/or
8
 
#    modify it under the terms of version 2 of the GNU General Public
9
 
#    License published by the Free Software Foundation.
10
 
#
11
 
# ------------------------------------------------------------------
12
 
 
13
 
#include <tunables/global>
14
 
 
15
 
/etc/cron.daily/logrotate {
16
 
  #include <abstractions/base>
17
 
  #include <abstractions/bash>
18
 
  #include <abstractions/nameservice>
19
 
 
20
 
  /bin/bash mixr,
21
 
  /bin/cat mixr,
22
 
  /bin/gzip mixr,
23
 
  /bin/kill mixr,
24
 
  /bin/logger mixr,
25
 
  /bin/true mixr,
26
 
  /etc/init.d/* mixr,
27
 
  /usr/bin/killall mixr,
28
 
  /usr/sbin/logrotate mixr,
29
 
 
30
 
  /var/log      r,
31
 
  /var/log/**   wrl,
32
 
 
33
 
  /var/lib/privoxy/log/**  rwl,
34
 
  /var/lib64/privoxy/log/**  rwl,
35
 
 
36
 
  / r,
37
 
  /dev/tty wr,
38
 
  /etc/cron.daily/logrotate r,
39
 
  /etc/logrotate.conf r,
40
 
  /etc/logrotate.d r,
41
 
  /etc/logrotate.d/* r,
42
 
  /etc/subdomain.d r,
43
 
  /proc r,
44
 
  /proc/[1-9]* r,
45
 
  /tmp w,
46
 
  /tmp/file* wl,
47
 
  /tmp/logrot* wlr,
48
 
  /var/lib/logrotate.status wr,
49
 
  /var/lock/samba r,
50
 
  /var/run/httpd.pid r,
51
 
  /var/run/syslogd.pid r,
52
 
  /var/spool/slrnpull wr,
53
 
  /var/spool/slrnpull/log* wrl,
54
 
}