/snap/core20/2769/etc/apparmor.d/abstractions
NameSizeModeActions
apparmor_api/-0755rm
ubuntu-browsers.d/-0755rm
apache2-common8490644editdlrm
aspell3080644editdlrm
audio18620644editdlrm
authentication15860644editdlrm
base65440644editdlrm
bash15120644editdlrm
consoles7980644editdlrm
cups-client7140644editdlrm
dbus5930644editdlrm
dbus-accessibility6300644editdlrm
dbus-accessibility-strict6370644editdlrm
dbus-session6380644editdlrm
dbus-session-strict9190644editdlrm
dbus-strict6770644editdlrm
dconf2460644editdlrm
dovecot-common5620644editdlrm
dri-common4340644editdlrm
dri-enumerate2810644editdlrm
enchant20070644editdlrm
fcitx4560644editdlrm
fcitx-strict7120644editdlrm
fonts20880644editdlrm
freedesktop.org12910644editdlrm
gnome36260644editdlrm
gnupg3560644editdlrm
ibus10270644editdlrm
kde27750644editdlrm
kde-globals-write2980644editdlrm
kde-icon-cache-write1380644editdlrm
kde-language-write4580644editdlrm
kerberosclient11690644editdlrm
ldapclient7540644editdlrm
libpam-systemd6590644editdlrm
likewise4890644editdlrm
mdns4570644editdlrm
mesa5770644editdlrm
mir5930644editdlrm
mozc4710644editdlrm
mysql6410644editdlrm
nameservice50800644editdlrm
nis5240644editdlrm
nvidia6490644editdlrm
opencl2690644editdlrm
opencl-common4040644editdlrm
opencl-intel5640644editdlrm
opencl-mesa5270644editdlrm
opencl-nvidia7850644editdlrm
opencl-pocl28110644editdlrm
openssl4700644editdlrm
orbit2930644editdlrm
p11-kit8990644editdlrm
perl8720644editdlrm
php10410644editdlrm
php51050644editdlrm
postfix-common11960644editdlrm
private-files15490644editdlrm
private-files-strict10450644editdlrm
python15380644editdlrm
qt57620644editdlrm
qt5-compose-cache-write2780644editdlrm
qt5-settings-write3980644editdlrm
recent-documents-write3460644editdlrm
ruby9060644editdlrm
samba8300644editdlrm
smbpass4760644editdlrm
ssl_certs12870644editdlrm
ssl_keys7900644editdlrm
svn-repositories16460644editdlrm
ubuntu-bittorrent-clients6980644editdlrm
ubuntu-browsers16670644editdlrm
ubuntu-console-browsers6110644editdlrm
ubuntu-console-email6010644editdlrm
ubuntu-email9770644editdlrm
ubuntu-feed-readers3390644editdlrm
ubuntu-gnome-terminal1820644editdlrm
ubuntu-helpers33980644editdlrm
ubuntu-konsole3430644editdlrm
ubuntu-media-players22340644editdlrm
ubuntu-unity7-base24450644editdlrm
ubuntu-unity7-launcher1910644editdlrm
ubuntu-unity7-messaging1920644editdlrm
ubuntu-xterm2370644editdlrm
user-download8760644editdlrm
user-mail8370644editdlrm
user-manpages8890644editdlrm
user-tmp6540644editdlrm
user-write8640644editdlrm
video1270644editdlrm
vulkan5030644editdlrm
wayland5800644editdlrm
web-data7050644editdlrm
winbind7390644editdlrm
wutmp5850644editdlrm
X17660644editdlrm
xad8830644editdlrm
xdg-desktop6730644editdlrm
Edit: /snap/core20/2769/etc/apparmor.d/abstractions/nameservice (5080B)
# ------------------------------------------------------------------ # # 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. # # ------------------------------------------------------------------ # 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/group r, /etc/host.conf r, /etc/hosts r, /etc/nsswitch.conf r, /etc/gai.conf r, /etc/passwd r, /etc/protocols r, # libtirpc (used for NIS/YP login) needs this /etc/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, # NSS records from systemd-userdbd.service /{,var/}run/systemd/userdb/ r, /{,var/}run/systemd/userdb/io.systemd.{NameServiceSwitch,Multiplexer,DynamicUser,Home} r, @{PROC}/sys/kernel/random/boot_id 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/resolv.conf r, # On systems where /etc/resolv.conf is managed programmatically, it is # a symlink to /{,var/}run/(whatever program is managing it)/resolv.conf. /{,var/}run/{resolvconf,NetworkManager,systemd/resolve,connman,netconfig}/resolv.conf r, /etc/resolvconf/run/resolv.conf r, /{,var/}run/systemd/resolve/stub-resolv.conf r, /etc/samba/lmhosts r, /etc/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. /{,var/}run/.nscd_socket rw, /{,var/}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 /{,var/}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/default/nss r, # avahi-daemon is used for mdns4 resolution /{,var/}run/avahi-daemon/socket rw, # libnl-3-200 via libnss-gw-name @{PROC}/@{pid}/net/psched r, /etc/libnl-*/classid r, # nis #include # ldap #include # winbind #include # likewise #include # mdnsd #include # kerberos #include # 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"), # libnss-systemd # # https://systemd.io/USER_GROUP_API/ # https://systemd.io/USER_RECORD/ # https://www.freedesktop.org/software/systemd/man/nss-systemd.html # # Allow User/Group lookups via common VarLink socket APIs. Applications need # to either consult all of them or the io.systemd.Multiplexer frontend. /run/systemd/userdb/ r, /run/systemd/userdb/io.systemd.Multiplexer rw, /run/systemd/userdb/io.systemd.DynamicUser rw, # systemd-exec users /run/systemd/userdb/io.systemd.Home rw, # systemd-home dirs /run/systemd/userdb/io.systemd.NameServiceSwitch rw, # UNIX/glibc NSS # 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"), # 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,