Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475760 - =net-misc/networkmanager-0.9.6.4[connection-sharing] should depend on =net-dns/dnsmasq-2.66[dbus,dhcp?]
Summary: =net-misc/networkmanager-0.9.6.4[connection-sharing] should depend on =net-dn...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-04 19:12 UTC by Ronald
Modified: 2013-10-01 22:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald 2013-07-04 19:12:11 UTC
It will not fail to compile. However, it appears that networkmanager uses dbus to communicate with dnsmasq. Furthermore, for the clients to succesfully associate, dhcp is apparently required.

Reproducible: Always
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-07-09 18:14:38 UTC
Affirmative, dnsmasq uses these in its configure; so, if you happen to have the USE flags set differently in package.use you get inconsistent behavior. Assigned to maintaining herd.
Comment 2 Pacho Ramos gentoo-dev 2013-09-29 11:37:05 UTC
dhcp? won't work as networkmanager doesn't have that USE, it has one for each provider :/
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-10-01 22:20:28 UTC
networkmanager always launches /usr/sbin/dnsmasq with --dhcp-range and --dhcp-option flags, so there is a hard dependency on dnsmasq[dhcp] that we were missing.

However, as far as I can see, networkmanager does not use dnsmasq's dbus interface. You can easily check this: dnsmasq's dbus name is uk.org.thekelleys.dnsmasq, and the string "thekelleys" does not occur anywhere in networkmanager's source code.

+  01 Oct 2013; Alexandre Rostovtsev <tetromino@gentoo.org>
+  networkmanager-0.9.6.4.ebuild, networkmanager-0.9.6.4-r1.ebuild,
+  networkmanager-0.9.8.2-r3.ebuild, networkmanager-0.9.8.4.ebuild:
+  Depend on dnsmasq[dhcp] for connection sharing (bug #475760, thanks to
+  Ronald).