mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-05 17:01:00 +01:00
From: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: Tue, 21 Jun 2016 18:18:45 +0100 Subject: abstractions/nameservice: also support ConnMan-managed resolv.conf Follow the same logic we already did for NetworkManager, resolvconf and systemd-resolved. The wonderful thing about standards is that there are so many to choose from. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> [modified by sarnold to fit the surroundings]
This commit is contained in:
parent
9d8340a8b3
commit
922096a8be
1 changed files with 3 additions and 7 deletions
|
@ -33,14 +33,10 @@
|
|||
/var/lib/sss/pipes/nss rw,
|
||||
|
||||
/etc/resolv.conf r,
|
||||
# on systems using resolvconf, /etc/resolv.conf is a symlink to
|
||||
# /{,var/}run/resolvconf/resolv.conf and a file sometimes referenced in
|
||||
# /etc/resolvconf/run/resolv.conf
|
||||
/{,var/}run/resolvconf/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}/resolv.conf r,
|
||||
/etc/resolvconf/run/resolv.conf r,
|
||||
# on systems using systemd's networkd, /etc/resolv.conf is a symlink to
|
||||
# /run/systemd/resolve/resolv.conf
|
||||
/{,var/}run/systemd/resolve/resolv.conf r,
|
||||
|
||||
/etc/samba/lmhosts r,
|
||||
/etc/services r,
|
||||
|
|
Loading…
Add table
Reference in a new issue