** Description changed: + [Rationale] + Required for network-manager SRU for bug 1004775: + To properly handle updating DNS nameservers in the dnsmasq instance spawned by NetworkManager; it would require starting dnsmasq with dbus enabled so that all future dns changes could be done through that API. Unfortunately, dnsmasq currently ships the dbus configuration file along with an init script as part of the 'dnsmasq' package; which, when installed and improperly configured can conflict with the dnsmasq instance used by network-manager. Furthermore, the additional files provided by 'dnsmasq' are not required. Moving the dbus config file from 'dnsmasq' to 'dnsmasq-base' allows users of the standalone binary to start dnsmasq with dbus enabled without requiring the additional installation of the 'dnsmasq' package and the init script and other configuration files it provides. + [Test case] Requirements: the 'dnsmasq-base' package must be installed; the 'dnsmasq' package must *NOT* be installed. 1) Start a terminal 2) sudo stop network-manager # network-manager interferes with the test, since it starts dnsmasq. 2) Attempt to start dnsmasq with the following command: 'sudo dnsmasq --enable-dbus' Without the file shipped with dnsmasq-base: dnsmasq: Erreur DBus : Connection ":1.64" is not allowed to own the service "uk.org.thekelleys.dnsmasq" due to security policies in the configuration file With the file; dnsmasq should start successfully. Other instances may interfere with the test case; if you get an error such as "address already in use"; first kill off other running instances of dnsmasq. + [Regression Potential] + Minimal; would have to be misexecution of the patch; through an error in the packaging (ie. incorrect package dependencies) could cause dnsmasq to refuse to start with --enable-dbus. That function isn't used by any of the packages we ship by default at this point. + --- /etc/dbus-1/system.d/dnsmasq.conf is currently being shipped by 'dnsmasq'. However, other users of the dnsmasq binary as a standalone binary (e.g. those packages that depend on 'dnsmasq-base' and not 'dnsmasq') may want to use dnsmasq with --enable-dbus. This requires the above config file; otherwise the name can't be owned by dnsmasq and DBus messages will fail. dnsmasq-base should ship the file along with the dnsmasq binary; all other arch-indep files from dnsmasq can stay where they are.
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/1029977 Title: dnsmasq-base should ship the dnsmasq dbus configuration file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1029977/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs