Package: dnsmasq Version: 2.45-1 Severity: normal
I am not 100% certain about this bug, so I apologise if I've just misunderstood something. I have a whole bunch of machines on my LAN, each of which has its MAC address(es) in /etc/ethers along with its name. Each machine's name is linked to its IP in /etc/hosts. dnsmasq reports that both files are read successfully: Apr 12 13:46:55 baba dnsmasq[6583]: read /etc/hosts - 34 addresses Apr 12 13:46:55 baba dnsmasq[6583]: read /etc/ethers - 25 addresses It all worked fine after I set it up (to replace dhcp3-server and bind9) - IP addresses were handed out correctly - until I rebooted any of the machines. At that point it started handing out pool addresses instead of the ones specified in /etc/hosts. Even after I manually edited /var/lib/misc/dnsmasq.leases to remove the erroneous leases (and released the lease from the client), dnsmasq still handed out the same pool address to each machine instead of its specified address. (The reason I'm not sure is because it didn't happen consistently with every machine - one machine continued to get the correct IP, and I tried PXE booting on another, which might have confused that case if it didn't release the lease on failure) On advice from a friend I edited /etc/ethers and replaced the names with the fixed IP addresses from /etc/hosts. This seemed to solve the problem (though I don't understand why) - but this renders /etc/ethers unusable by etherwake (which expects a name rather than an IP). Am I missing something here? Is there another explanation for dnsmasq stopping and then restarting successful use of static IPs? Or does it expect the IPs to be in /etc/ethers? One thing I have noticed is that lease keep appearing back in /var/lib/misc/dnsmasq.leases after I manually delete them (and the client machine remains off). So I think there is something I don't understand about dnsmasq's operation - where else is it storing this lease information? Thanks in advance, CC -- System Information: Debian Release: 5.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dnsmasq depends on: ii adduser 3.110 add and remove users and groups ii dnsmasq-base 2.45-1 A small caching DNS proxy and DHCP ii netbase 4.34 Basic TCP/IP networking system dnsmasq recommends no packages. Versions of packages dnsmasq suggests: pn resolvconf <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

