[FS#1448] Host file from removed dnsmasq section remains in effect.

LEDE Bugs lede-bugs at lists.infradead.org
Mon Mar 19 18:10:40 PDT 2018


A new Flyspray task has been opened.  Details are below. 

User who did this - Phil (philsauce) 

Attached to Project - OpenWrt/LEDE Project
Summary - Host file from removed dnsmasq section remains in effect.
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Using OpenWrt trunk, if a dnsmasq section is removed from the dhcp uci file, its host file will remain in /tmp/hosts/

To replicate:

Set the content of /etc/config/dhcp to:

config dnsmasq 'foo'

config dnsmasq 'bar'

config 'domain'
	option instance 'bar'
	option name 'baz'
	option ip '127.1.1.1'


Run:
/etc/init.d/dnsmasq reload

Set the content of /etc/config/dhcp to:

config dnsmasq 'foo'


Run:
/etc/init.d/dnsmasq reload

The file /tmp/hosts/dhcp.bar still exists, and its content will remain in effect for connected clients.

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=1448



More information about the lede-bugs mailing list