abstractions/nameservice: factorize to de-duplicate a bit.

This commit is contained in:
intrigeri 2016-02-10 11:09:24 +01:00
parent 4564d82d52
commit de9c5ed33b

View file

@ -37,11 +37,10 @@
# /{,var/}run/resolvconf/resolv.conf and a file sometimes referenced in # /{,var/}run/resolvconf/resolv.conf and a file sometimes referenced in
# /etc/resolvconf/run/resolv.conf. Similarly, if NetworkManager is used # /etc/resolvconf/run/resolv.conf. Similarly, if NetworkManager is used
# without resolvconf, /etc/resolv.conf is a symlink to its own resolv.conf. # without resolvconf, /etc/resolv.conf is a symlink to its own resolv.conf.
/{,var/}run/{resolvconf,NetworkManager}/resolv.conf r, # Finally, on systems using systemd's networkd, /etc/resolv.conf is
# a symlink to /run/systemd/resolve/resolv.conf
/{,var/}run/{resolvconf,NetworkManager,systemd/resolve}/resolv.conf r,
/etc/resolvconf/run/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/samba/lmhosts r,
/etc/services r, /etc/services r,