resolved: create /etc/resolv.conf symlink at runtime

If the symlink doesn't exists, and we are being started, let's
create it to provie name resolution.

If it exists, do nothing. In particular, if it is a broken symlink,
we cannot really know if the administator configured it to point to
a location used by some service that hasn't started yet, so we
don't touch it in that case either.

https://bugzilla.redhat.com/show_bug.cgi?id=1313085
2 files changed
tree: 687347877baa37c616668583503d190f4aa98591
  1. .dir-locals.el
  2. .editorconfig
  3. .gitattributes
  4. .github/
  5. .gitignore
  6. .mailmap
  7. .mkosi/
  8. .travis.yml
  9. .vimrc
  10. .ycm_extra_conf.py
  11. LICENSE.GPL2
  12. LICENSE.LGPL2.1
  13. Makefile
  14. NEWS
  15. README
  16. README.md
  17. TODO
  18. catalog/
  19. coccinelle/
  20. configure
  21. doc/
  22. factory/etc/
  23. hwdb/
  24. man/
  25. meson.build
  26. meson_options.txt
  27. mkosi.build
  28. modprobe.d/
  29. network/
  30. po/
  31. presets/
  32. rules/
  33. shell-completion/
  34. src/
  35. sysctl.d/
  36. sysusers.d/
  37. test/
  38. tmpfiles.d/
  39. tools/
  40. travis-ci/
  41. units/
  42. xorg/
  43. zanata.xml
README.md

systemd - System and Service Manager

Build Status
Coverity Scan Status
CII Best Practices
Build Status

Details

General information about systemd can be found in the systemd Wiki.

Information about build requirements are provided in the README file.

Consult our NEWS file for information about what's new in the most recent systemd versions.

Please see the HACKING file for information how to hack on systemd and test your modifications.

Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.

When preparing patches for systemd, please follow our Coding Style Guidelines.

If you are looking for support, please contact our mailing list or join our IRC channel.

Stable branches with backported patches are available in the stable repo.