]> git.ipfire.org Git - thirdparty/systemd.git/commit
nspawn: suppress warning when /etc/resolv.conf is a valid symlink 291/head
authorLennart Poettering <lennart@poettering.net>
Thu, 18 Jun 2015 17:42:59 +0000 (19:42 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 18 Jun 2015 17:45:18 +0000 (19:45 +0200)
commit68a313c5921d32896136e0775ecb375b0be60206
treef416a3a2bf9f80b6276e828d33b0c2c8d7d30065
parentff609b8ecd0e36bfff0ba120932307274d993dc8
nspawn: suppress warning when /etc/resolv.conf is a valid symlink

In such a case let's suppress the warning (downgrade to LOG_DEBUG),
under the assumption that the user has no config file to update in its
place, but a symlink that points to something like resolved's
automatically managed resolve.conf file.

While we are at it, also stop complaining if we cannot write /etc/resolv.conf
due to a read-only disk, given that there's little we could do about it.
src/nspawn/nspawn.c