]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: tone down comment in /run/systemd/{stub-,}resolve.conf
authorLennart Poettering <lennart@poettering.net>
Thu, 16 Apr 2020 13:06:58 +0000 (15:06 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 16 Apr 2020 17:43:00 +0000 (19:43 +0200)
commitce416f425c509bac429b8c9971f5f4edf726a54f
tree8df2612ff8985ee05c04af88ae38872b28465cae
parentb11b278097846500e2cf906d1e41ea1beb1305d8
resolved: tone down comment in /run/systemd/{stub-,}resolve.conf

There are legitimate reasons to access the file directly, as currently
discussed on fedora-devel. Hence tone things down from "must" to "should
typically not".

Also, let's use fputs() instead of fputs_unlocked() here,
fopen_temporary_label() turns off stdio locking anyway for the whole
FILE*, hence no need to do this manually each time.
src/resolve/resolved-resolv-conf.c