Bug ID 1034476
Summary NetworkManager starts dnsmasq without enabling DBUS
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.2
Hardware Other
OS openSUSE 42.2
Status NEW
Severity Normal
Priority P5 - None
Component Network
Assignee bnc-team-screening@forge.provo.novell.com
Reporter maeder+suse@glue.ch
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

NetworkManager-1.0.12-3.2.x86_64 starts dnsmasq with a series of options
(including --conf-file) that leaves dnsmasq without DBUS support. dnsmasq
therefore doesn't support operations such as uk.org.thekelleys.SetServers.

It would be helpful if the options were configurable or if the configuration
file passed using --conf-file included dnsmasq's default configuration file.

Workaround (a really ugly hack):
# cd /usr/sbin
# mv dnsmasq dnsmasq.ORIG
# vi dnsmasq.wrapper
...
# ln -s dnsmasq.wrapper dnsmasq

# cat dnsmasq.wrapper 
#! /bin/bash

# 20151129 TM
# 20170417 TM the situation hasn't improved until 42.2
#
# the integration of NetworkManager and dnsmasq is broken in openSuSE 13.2
#
# Instead of communicating with an independant dnsmasq instance via dbus,
# NetworkManager launches its own dnsmasq process each time something
# changes.
#
# This wrapper makes sure that at least that process is able to receive
# messages over dbus.
#
# The original dnsmasq executable is now called dnsmasq.ORIG

exec /usr/sbin/dnsmasq.ORIG --enable-dbus $*


You are receiving this mail because: