[Pkg-utopia-maintainers] Bug#615082: Bug#615082: Bug#615082: Acknowledgement (network-manager: dnsmasq exited with error: Configuration problem)
Michael Biebl
biebl at debian.org
Fri Feb 25 19:29:36 UTC 2011
Am 25.02.2011 18:58, schrieb Simon Kelley:
> 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.
While looking at the code in NetworkManager [1], I have to note that
generating a random, non-existent junk file to circumvent dnsmasq looks
rather ugly to me.
If we already have to use this trick, couldn't we at least use something
like --conf-file=/dev/null or would this not have the desired effect.
Is there maybe a nicer way to tell dnsmasq to *not* read the global
configuration file?
Michael
[1]
http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/src/dnsmasq-manager/nm-dnsmasq-manager.c#n278
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20110225/9cb72d55/attachment.pgp>
More information about the Pkg-utopia-maintainers
mailing list