#19205: /var/etc/dnsmasq.conf need concurrent write protection ?
-------------------------+-----------------------------------
Reporter: spiritbook | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Barrier Breaker 14.07
Component: packages | Version: Trunk
Resolution: | Keywords: dnsmas, dhcp
-------------------------+-----------------------------------
Comment (by spiritbook):
finally, the /var/etc/dnsmasq.conf is
# auto-generated config file from /etc/config/dhcp
conf-file=/etc/dnsmasq.conf
rebind-localhost-ok
dhcp-broadcast=tag:needs-broadcast
dhcp-authoritative
domain-needed
localise-queries
read-ethers
bogus-priv
expand-hosts
dhcp-host=d4:97:0b:b7:9e:de,192.168.110.202,miphone
domain=lan
server=/lan/
dhcp-leasefile=/tmp/dhcp.leases
resolv-file=/tmp/resolv.conf.auto
addn-hosts=/tmp/hosts
conf-dir=/tmp/dnsmasq.d
stop-dns-rebind
host-record=Ruijie.lan,Ruijie,192.168.110.1
rebind-localhost-ok
dhcp-broadcast=tag:needs-broadcast
dhcp-host=d4:97:0b:b7:9e:de,192.168.110.202,miphone
host-record=Ruijie.lan,Ruijie,192.168.110.1
dhcp-range=lan,192.168.110.100,192.168.110.249,255.255.255.0,8h
no-dhcp-interface=pppoe-wan
dhcp-range=lan,192.168.110.100,192.168.110.249,255.255.255.0,8h
no-dhcp-interface=pppoe-wan
have duplicate dhcp-host, and dnsmasq quit when init.
Tue Mar 17 18:29:20 2015 daemon.crit dnsmasq[17837]: duplicate dhcp-host
IP address 192.168.110.202 at line 27 of /var/etc/dnsmasq.c15-03-17
06:30:16 onf
Tue Mar 17 18:29:20 2015 daemon.crit dnsmasq[17837]: FAILED to start up
--
Ticket URL: <https://dev.openwrt.org/ticket/19205#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets