diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2017-12-07 10:11:50 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-12-07 10:59:03 +0100 |
commit | a39ddff4287e760f44a2d7bb44be364a0061d4bf (patch) | |
tree | be9b9eec7844889cb303ecce618c28cbe23994ec /package/system | |
parent | 94fcd929137d9e01ea64f3d69cb5f5e863b87fbc (diff) | |
download | upstream-a39ddff4287e760f44a2d7bb44be364a0061d4bf.tar.gz upstream-a39ddff4287e760f44a2d7bb44be364a0061d4bf.tar.bz2 upstream-a39ddff4287e760f44a2d7bb44be364a0061d4bf.zip |
dnsmasq: write atomic host file
Different invocations of the dnsmasq init script (e.g. at startup by procd)
will rewrite the dhcp host file which might result into dnsmasq reading an
empty dhcp host file as it is being rewritten by the dnsmasq init script.
Let the dnsmasq init script first write to a temp dhcp host file so it does
not overwrite the contents of the existing dhcp host file.
Reported-by: Hartmut Birr <e9hack@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'package/system')
0 files changed, 0 insertions, 0 deletions