chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 08:57:47 +0000 (09:57 +0100)
commit1deb45aed483857e9cfffc8af312edf5c905a5d9
tree5e8c752e1d627953fcd1efdd9ca29603b2b7c54f
parent7db3955b4d8f3b7f9fc85623637ab680bce818a7
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
src/libelogind/libelogind.pc.in