This file is indexed.

/etc/apparmor.d/sbin.syslogd is in apparmor-profiles 2.7.102-0ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# ------------------------------------------------------------------
#
#    Copyright (C) 2002-2009 Novell/SUSE
#    Copyright (C) 2010 Canonical Ltd.
#
#    This program is free software; you can redistribute it and/or
#    modify it under the terms of version 2 of the GNU General Public
#    License published by the Free Software Foundation.
#
# ------------------------------------------------------------------

#include <tunables/global>

/sbin/syslogd flags=(complain) {
  #include <abstractions/base>
  #include <abstractions/nameservice>
  #include <abstractions/consoles>

  capability sys_tty_config,
  capability dac_override,
  capability dac_read_search,
  capability setuid,
  capability setgid,
  capability syslog,

  /dev/log                      wl,
  /var/lib/*/dev/log            wl,

  /dev/tty*                     w,
  /dev/xconsole                 rw,
  /etc/syslog.conf              r,
  /sbin/syslogd                 rmix,
  /var/log/**                   rw,
  /{,var/}run/syslogd.pid          krwl,
  /{,var/}run/utmp                 rw,
  /var/spool/compaq/nic/messages_fifo rw,

  # Site-specific additions and overrides. See local/README for details.
  #include <local/sbin.syslogd>
}