/snap/core22/2411/etc/apparmor.d/abstractions
NameSizeModeActions
apparmor_api/-0755rm
ubuntu-browsers.d/-0755rm
apache2-common9780644editdlrm
aspell4120644editdlrm
audio19880644editdlrm
authentication18570644editdlrm
base69290644editdlrm
bash16140644editdlrm
consoles9030644editdlrm
crypto8090644editdlrm
cups-client8200644editdlrm
dbus6940644editdlrm
dbus-accessibility7450644editdlrm
dbus-accessibility-strict7600644editdlrm
dbus-network-manager-strict14030644editdlrm
dbus-session7470644editdlrm
dbus-session-strict10100644editdlrm
dbus-strict7810644editdlrm
dconf3440644editdlrm
dovecot-common6750644editdlrm
dri-common5420644editdlrm
dri-enumerate3930644editdlrm
enchant22200644editdlrm
exo-open19210644editdlrm
fcitx5580644editdlrm
fcitx-strict8210644editdlrm
fonts22780644editdlrm
freedesktop.org14040644editdlrm
gio-open15460644editdlrm
gnome38150644editdlrm
gnupg4590644editdlrm
gtk14580644editdlrm
gvfs-open11800644editdlrm
hosts_access5110644editdlrm
ibus9920644editdlrm
kde28670644editdlrm
kde-globals-write4130644editdlrm
kde-icon-cache-write2560644editdlrm
kde-language-write5750644editdlrm
kde-open536990644editdlrm
kerberosclient12810644editdlrm
ldapclient8560644editdlrm
libpam-systemd7700644editdlrm
likewise5950644editdlrm
mdns5540644editdlrm
mesa11860644editdlrm
mir6940644editdlrm
mozc5730644editdlrm
mysql7390644editdlrm
nameservice43890644editdlrm
nis6250644editdlrm
nss-systemd12480644editdlrm
nvidia7510644editdlrm
opencl3700644editdlrm
opencl-common5160644editdlrm
opencl-intel6730644editdlrm
opencl-mesa6360644editdlrm
opencl-nvidia8960644editdlrm
opencl-pocl29160644editdlrm
openssl6480644editdlrm
orbit21970644editdlrm
p11-kit9990644editdlrm
perl9740644editdlrm
php11580644editdlrm
php-worker5580644editdlrm
php52080644editdlrm
postfix-common13560644editdlrm
private-files16600644editdlrm
private-files-strict12120644editdlrm
python18600644editdlrm
qt58630644editdlrm
qt5-compose-cache-write3990644editdlrm
qt5-settings-write5140644editdlrm
recent-documents-write4660644editdlrm
ruby10080644editdlrm
samba11590644editdlrm
smbpass5810644editdlrm
snap_browsers16720644editdlrm
ssl_certs15600644editdlrm
ssl_keys9380644editdlrm
svn-repositories17600644editdlrm
ubuntu-bittorrent-clients8210644editdlrm
ubuntu-browsers16210644editdlrm
ubuntu-console-browsers7310644editdlrm
ubuntu-console-email7180644editdlrm
ubuntu-email10870644editdlrm
ubuntu-feed-readers4560644editdlrm
ubuntu-gnome-terminal3000644editdlrm
ubuntu-helpers37910644editdlrm
ubuntu-konsole4530644editdlrm
ubuntu-media-players23520644editdlrm
ubuntu-unity7-base25580644editdlrm
ubuntu-unity7-launcher3110644editdlrm
ubuntu-unity7-messaging3130644editdlrm
ubuntu-xterm3460644editdlrm
user-download9870644editdlrm
user-mail9440644editdlrm
user-manpages10000644editdlrm
user-tmp7600644editdlrm
user-write9720644editdlrm
video2310644editdlrm
vulkan10890644editdlrm
wayland6450644editdlrm
web-data8110644editdlrm
winbind8820644editdlrm
wutmp7110644editdlrm
X19890644editdlrm
xad9840644editdlrm
xdg-desktop7820644editdlrm
xdg-open22850644editdlrm
Edit: /snap/core22/2411/etc/apparmor.d/abstractions/nameservice (4389B)
# ------------------------------------------------------------------ # # Copyright (C) 2002-2009 Novell/SUSE # Copyright (C) 2009-2011 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. # # ------------------------------------------------------------------ abi , # Many programs wish to perform nameservice-like operations, such as # looking up users by name or id, groups by name or id, hosts by name # or IP, etc. These operations may be performed through files, dns, # NIS, NIS+, LDAP, hesiod, wins, etc. Allow them all here. @{etc_ro}/group r, @{etc_ro}/host.conf r, @{etc_ro}/hosts r, @{etc_ro}/nsswitch.conf r, @{etc_ro}/gai.conf r, @{etc_ro}/passwd r, @{etc_ro}/protocols r, # libtirpc (used for NIS/YP login) needs this @{etc_ro}/netconfig r, # When using libnss-extrausers, the passwd and group files are merged from # an alternate path /var/lib/extrausers/group r, /var/lib/extrausers/passwd r, # When using sssd, the passwd and group files are stored in an alternate path # and the nss plugin also needs to talk to a pipe /var/lib/sss/mc/group r, /var/lib/sss/mc/initgroups r, /var/lib/sss/mc/passwd r, /var/lib/sss/pipes/nss rw, @{etc_ro}/resolv.conf r, # On systems where /etc/resolv.conf is managed programmatically, it is # a symlink to @{run}/(whatever program is managing it)/resolv.conf. @{run}/{resolvconf,NetworkManager,systemd/resolve,connman,netconfig}/resolv.conf r, @{etc_ro}/resolvconf/run/resolv.conf r, @{run}/systemd/resolve/stub-resolv.conf r, @{etc_ro}/samba/lmhosts r, @{etc_ro}/services r, # db backend /var/lib/misc/*.db r, # The Name Service Cache Daemon can cache lookups, sometimes leading # to vast speed increases when working with network-based lookups. @{run}/.nscd_socket rw, @{run}/nscd/socket rw, /{var/db,var/cache,var/lib,var/run,run}/nscd/{passwd,group,services,hosts} r, # nscd renames and unlinks files in it's operation that clients will # have open @{run}/nscd/db* rmix, # The nss libraries are sometimes used in addition to PAM; make sure # they are available /{usr/,}lib{,32,64}/libnss_*.so* mr, /{usr/,}lib/@{multiarch}/libnss_*.so* mr, @{etc_ro}/default/nss r, # avahi-daemon is used for mdns4 resolution @{run}/avahi-daemon/socket rw, # libnl-3-200 via libnss-gw-name @{PROC}/@{pid}/net/psched r, @{etc_ro}/libnl-*/classid r, # nis include # ldap include # winbind include # likewise include # mdnsd include # kerberos include #libnss-systemd include # Also allow lookups for systemd-exec's DynamicUsers via D-Bus # https://www.freedesktop.org/software/systemd/man/systemd.exec.html dbus send bus=system path="/org/freedesktop/systemd1" interface="org.freedesktop.systemd1.Manager" member="{GetDynamicUsers,LookupDynamicUserByName,LookupDynamicUserByUID}" peer=(name="org.freedesktop.systemd1"), # resolve # # Allow access to the safe members of the systemd-resolved D-Bus API: # # https://www.freedesktop.org/wiki/Software/systemd/resolved/ # # This API may be used directly over the D-Bus system bus or it may be used # indirectly via the nss-resolve plugin: # # https://www.freedesktop.org/software/systemd/man/nss-resolve.html # #include dbus send bus=system path="/org/freedesktop/resolve1" interface="org.freedesktop.resolve1.Manager" member="Resolve{Address,Hostname,Record,Service}" peer=(name="org.freedesktop.resolve1"), # TCP/UDP network access network inet stream, network inet6 stream, network inet dgram, network inet6 dgram, # TODO: adjust when support finer-grained netlink rules # Netlink raw needed for nscd network netlink raw, # interface details @{PROC}/@{pid}/net/route r, # Include additions to the abstraction include if exists