On 25/02/11 16:55, Michael Biebl wrote:
Thanks Jérémy for the followup.

Am 25.02.2011 17:32, schrieb Jérémy Lal:
this bug comes from dnsmasq update to 2.57-1
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/725041

Simon, I'd like your input on this as dnsmasq maintainer, how this should be 
fixed.

Thanks,
Michael


It looks like the bug may be longstanding,

dnsmasq --conf-file filename

will not read filename, it will read nothing. (It sets the conf-file to be empty, and the filename argument is superfluous) All that's changed in 2.57 is that dnsmasq sanity-checks better.

The correct command line is either

dnsmasq --conf-file=filename

or

dnsmasq -C filename

Looking at the source code for NetworkManager, the latter makes for an easier patch.

        nm_cmd_line_add_string (cmd, "--conf-file");
        nm_cmd_line_add_string (cmd, buf);

becomes

        nm_cmd_line_add_string (cmd, "-C");
        nm_cmd_line_add_string (cmd, buf);


HTH


Simon.









--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to