]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: create /etc/resolv.conf symlink only on boot
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 21 May 2015 18:22:30 +0000 (14:22 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 21 May 2015 18:23:09 +0000 (14:23 -0400)
commit6921bf11fac23d93658b4c3f91d7b63a7f5b36c6
treed9c75257935341d53e26eb3a52af5dda80c522c2
parent4f9bca639a806e235173ec08e01de8bdcec82f81
tmpfiles: create /etc/resolv.conf symlink only on boot

We will create the symlink on boot as a fallback to provide name
resolution. But if the symlink was removed afterwards, it most likely
should not be recreated. Creating it only on boot also solves the
issue where it would be created prematurely during installation,
before the system was actually booted.

https://bugzilla.redhat.com/show_bug.cgi?id=1197204
tmpfiles.d/etc.conf.m4