rootfs: Link /etc/resolv.conf to /run
dustin/metricspi/pipeline/head This commit looks good
Details
dustin/metricspi/pipeline/head This commit looks good
Details
By default, Buildroot creates `/etc/resolv.conf` as a symlink to `/tmp/resolv.conf`. This allows it to be modified at runtime, even if `/` is on a read-only filesystem (assuming `/tmp` is not). Unfortunately, this causes problems for systemd units with `PrivateTmp=yes`, because they are not able to read the `resolv.conf` file. A more appropriate location for the writable `resolv.conf` is `/run`. This filesystem is not affected by the `PrivateTmp` setting, and is always available to units.pull/2/head
parent
7fddc6fef5
commit
f69ad39547
|
@ -0,0 +1 @@
|
||||||
|
../run/resolv.conf
|
Loading…
Reference in New Issue