%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.14 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /etc/apparmor.d/ |
Upload File : |
include <tunables/global>
# attach_disconnected is needed here because this service runs with systemd's
# PrivateTmp=true
profile ubuntu_pro_apt_news flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/nameservice>
include <abstractions/openssl>
include <abstractions/python>
# Needed because apt-news calls apt_pkg.init() which tries to
# switch to the _apt system user/group.
capability setgid,
capability setuid,
capability dac_read_search,
# GH: 3079
capability dac_override,
capability kill,
capability chown,
capability fowner,
/etc/apt/** r,
/etc/default/apport r,
/etc/ubuntu-advantage/* r,
# GH: #3109
# Allow reading the os-release file (possibly a symlink to /usr/lib).
/{etc/,usr/lib/,lib/}os-release r,
/{,usr/}bin/python3.{1,}[0-9] mrix,
# "import uuid" in focal triggers an uname call
# And also see LP: #2067319
/{,usr/}bin/uname mrix,
/{,usr/}lib/apt/methods/http mrix,
/{,usr/}lib/apt/methods/https mrix,
/{,usr/}lib/ubuntu-advantage/apt_news.py r,
/usr/share/dpkg/* r,
/var/log/ubuntu-advantage.log rw,
/var/lib/ubuntu-advantage/** r,
/var/lib/ubuntu-advantage/messages/ rw,
/var/lib/ubuntu-advantage/messages/* rw,
/run/ubuntu-advantage/ rw,
/run/ubuntu-advantage/apt-news/ rw,
/run/ubuntu-advantage/apt-news/* rw,
# LP: #2072489
# the apt-news package selector needs access to packaging information
# this is a good candidate for a child profile
owner /tmp/** rw,
/etc/machine-id r,
/etc/dpkg/** r,
/{,usr/}bin/dpkg mrix,
/var/lib/apt/** r,
/var/lib/dpkg/** r,
/var/cache/apt/** rw,
owner @{PROC}/@{pid}/fd/ r,
@{PROC}/@{pid}/status r,
@{PROC}/@{pid}/cgroup r,
# see https://bugs.python.org/issue40501
/sbin/ldconfig rix,
/sbin/ldconfig.real rix,
@{PROC}/@{pid}/mounts r,
@{PROC}/@{pid}/status r,
/usr/bin/@{multiarch}-gcc-* rix,
/usr/bin/@{multiarch}-ld.bfd rix,
/usr/lib/gcc/@{multiarch}/*/collect2 rix,
/usr/bin/@{multiarch}-objdump rix,
# for some reason, these were just needed in xenial
capability chown,
capability fowner,
capability dac_override,
/etc/apt/auth.conf.d/90ubuntu-advantage rw,
/var/lib/apt/lists/partial/ rw,
/var/lib/apt/lists/partial/* rw,
/var/cache/apt/archives/partial/ rw,
/var/cache/apt/archives/partial/* rw,
# Site-specific additions and overrides. See local/README for details.
#include <local/ubuntu_pro_apt_news>
}