usr.bin.akonadiserver 2.81 KB
Newer Older
1
2
#include <tunables/global>

3
4
5
6
@{xdg_data_home}=@{HOME}/.local/share

@{xdg_config_home}=@{HOME}/.config

7
@{postgresqlpath} = /usr/ /usr/lib/postgresql/*/ /usr/lib/postgresql*[0-9]/ /opt/pgsql*/
8

9
10
/usr/bin/akonadiserver {
  #include <abstractions/base>
11
  #include <abstractions/consoles>
12
13
  #include <abstractions/dbus-session-strict>
  #include <abstractions/nameservice>
14
  #include <abstractions/openssl>
15
16
17
18
19
  #include <abstractions/qt5>
  #include <abstractions/user-tmp>

  signal send set=kill peer=mysqld_akonadi,
  signal send set=term peer=mysqld_akonadi,
20
21
  ptrace read peer=mysqld_akonadi,

22
23
24
25
  signal send set=kill peer=mariadbd_akonadi,
  signal send set=term peer=mariadbd_akonadi,
  ptrace read peer=mariadbd_akonadi,

26
27
28
  signal send set=kill peer=postgresql_akonadi,
  signal send set=term peer=postgresql_akonadi,

29
30
31
32
33
34
35
36
37
38
  dbus (send)
      bus=session
      interface=org.freedesktop.DBus,
  dbus bind
      bus=session
      name=org.freedesktop.Akonadi,
  dbus (receive, send)
      bus=session
      interface=org.freedesktop.Akonadi**,

39
40
  /etc/xdg/** r,
  /usr/bin/akonadiserver mr,
41
  /usr/lib/x86_64-linux-gnu/libexec/drkonqi PUx,
42
43
44
45
  /usr/bin/mariadb-admin PUx -> mariadbd_akonadi,
  /usr/bin/mariadb-check PUx -> mariadbd_akonadi,
  /usr/bin/mariadb-install-db PUx -> mariaddbd_akonadi,
  /usr/{,s}bin/mariadbd PUx -> mariaddbd_akonadi,
46
47
48
  /usr/bin/mysql_install_db PUx -> mysqld_akonadi,
  /usr/bin/mysqladmin PUx -> mysqld_akonadi,
  /usr/bin/mysqlcheck PUx -> mysqld_akonadi,
49
  /usr/{,s}bin/mysqld PUx -> mysqld_akonadi,
50
51
52
  @{postgresqlpath}/bin/initdb PUx -> postgresql_akonadi,
  @{postgresqlpath}/bin/pg_ctl PUx -> postgresql_akonadi,
  @{postgresqlpath}/bin/pg_upgrade PUx -> postgresql_akonadi,
53
54
55
56
  /usr/sbin/mysqld PUx -> mysqld_akonadi,
  /usr/share/mime/mime.cache r,
  /usr/share/mime/packages/ r,
  /usr/share/mime/types r,
57
  /usr/share/qt/translations/* r,
58
  /usr/share/mysql/** r,
59
60
  @{PROC}/sys/kernel/core_pattern r,
  @{PROC}/sys/kernel/random/boot_id r,
61
62
63
64
  owner @{xdg_config_home}/* r,
  owner @{xdg_config_home}/akonadi* rw,
  owner @{xdg_config_home}/QtProject/qtlogging.ini r,
  owner @{xdg_config_home}/akonadi/ rw,
65
  owner @{xdg_config_home}/akonadi/** rwl,
66
67
68
69
70
71
72
73
74
  owner @{xdg_config_home}/akonadi/akonadiconnectionrc wl,
  owner @{xdg_config_home}/akonadi/akonadiconnectionrc.lock rwk,
  owner @{xdg_config_home}/akonadi/akonadiserverrc.lock rwk,
  owner @{xdg_data_home}/mime/mime.cache r,
  owner @{xdg_data_home}/mime/packages/ r,
  owner @{xdg_data_home}/mime/types r,
  owner @{xdg_data_home}/akonadi/ rw,
  owner @{xdg_data_home}/akonadi/* rwlk,
  owner @{xdg_data_home}/akonadi/** rwk,
75
76
  owner @{PROC}/@{pid}/loginuid r,
  owner @{PROC}/@{pid}/mounts r,
77
  owner @{PROC}/[0-9]*/stat r,
78
  owner /{,var/}run/user/@{uid}/akonadi** rwk,
79
80
  owner /{,var/}run/user/@{uid}/kdeinit** rwk,
  owner /{,var/}run/user/@{uid}/kcrash** rwk,
81
  owner /tmp/#[0-9]* m,
82
}