[Pkg-utopia-maintainers] Bug#790341: Bug#790341: network-manager: [regression] change in dnsmasq has broken connection sharing support

Michael Biebl biebl at debian.org
Sun Jun 28 16:27:56 UTC 2015


Hi Paul,

thanks for your bug report.

Am 28.06.2015 um 10:23 schrieb Paul Wise:
> Package: network-manager
> Version: 1.0.2-2
> Severity: important
> Tags: patch
> 
> I sometimes share my WiFi connection to the Internet via Ethernet. A
> recent upgrade of dnsmasq-base (I think 2.72-3.1+b1 to 2.73-1) on my
> system broke this as dnsmasq now tries to read /etc/dnsmasq.conf when
> --conf-file is given without any argument, with only dnsmasq-base, this
> file is not present. The fix is to make it read /dev/null instead. I
> verified that that works by diverting the dnsmasq binary and replacing
> the --conf-file argument with a --conf-file=/dev/null argument.
> 
> src/dnsmasq-manager/nm-dnsmasq-manager.c:245
> -	nm_cmd_line_add_string (cmd, "--conf-file");
> +	nm_cmd_line_add_string (cmd, "--conf-file=/dev/null");

I can't find anything in dnsmasq's changelog for 2.73 in that regard.
To me that looks like a regression in dnsmasq and should probably be
fixed there.

I've CCed the dnsmasq maintainer, maybe he can comment on this.

If the current usage of --conf-file with an empty parameter was not
officially supported and only working by accident, then this is indeed
something which needs adjustments in NM, otherwise this bug report
should be re-assigned to dnsmasq.

Regards,
Michael


> Jun 28 16:04:19 chianamo NetworkManager[844]: <info>  Starting dnsmasq...
> Jun 28 16:04:19 chianamo NetworkManager[844]: <info>  (eth0): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
> Jun 28 16:04:19 chianamo NetworkManager[844]: <info>  (eth0): Activation: Stage 5 of 5 (IPv4 Commit) complete.
> Jun 28 16:04:19 chianamo NetworkManager[844]: dnsmasq --conf-file --no-hosts --keep-in-foreground --bind-interfaces --except-interface=lo --clear-on-reload --strict-order --listen-address=10.42.0.1 --dhcp-range=10.42.0.10,10.42.0.254,60m --dhcp-option=option:router,10.42.0.1 --dhcp-lease-max=50 --pid-file=/var/run/nm-dnsmasq-eth0.pid
> Jun 28 16:04:19 chianamo NetworkManager[844]: <info>  (eth0): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
> Jun 28 16:04:19 chianamo NetworkManager[844]: <info>  (eth0): device state change: secondaries -> activated (reason 'none') [90 100 0]
> Jun 28 16:04:19 chianamo NetworkManager[844]: dnsmasq: cannot read /etc/dnsmasq.conf: No such file or directory



-- 
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: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20150628/1a9a8e34/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list