[Bug 1777094] Re: dnsmasq started too early, not getting all interfaces
Terrence Houlahan
1777094 at bugs.launchpad.net
Fri Jun 28 21:11:08 UTC 2019
The problem lives in the [Unit] section in the After= directive which
when modified as follows raises dnsmasq.service unbroken on boot:
sed -i 's/After=network.target/After=NetworkManager-wait-
online.service/' /etc/systemd/system/multi-
user.target.wants/dnsmasq.service
That's a fairly tidy, and *reproducible* fix which works on successive
reboots.
** Changed in: dnsmasq (Ubuntu)
Status: Expired => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1777094
Title:
dnsmasq started too early, not getting all interfaces
Status in dnsmasq package in Ubuntu:
Confirmed
Status in netplan.io package in Ubuntu:
Expired
Bug description:
Hi,
I'm still struggling with 18.04 and the move from ifupdown to netplan.
I am running a local virtual linux bridge as a network for several
virtual machines and containers, which is to be serviced with dhcp and
dns by dnsmasq.
Conforming to latest designs from Ubuntu the bridge is now started by
netplan and configured in /etc/netplan/60-vlan0.yaml straightforward.
Since there is no ifupdown-scripts anymore, I've configured the
default dnsmasq daemon in /etc/dnsmasq.d/vlan0 to offer dhcp for that
bridge.
This works only when started manually.
When booting ubuntu the normal way, the bridge is correctly generated,
and dnsmasq is running, but it does *not* offer DNS for the bridge and
does not occupy its port 53. But just a manual systemctl restart
dnsmasq.service make it run as expected, then everything is fine.
So my guess is that my configuration is correct, but dnsmasq simply
started to early, i.e. before the bridge is created, and thus does not
see the bridge when starting up.
There's something wrong in the dependencies of the startup
configuration.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: dnsmasq 2.79-1
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
Uname: Linux 4.15.0-23-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: LXDE
Date: Fri Jun 15 10:59:43 2018
InstallationDate: Installed on 2018-04-30 (45 days ago)
InstallationMedia: Lubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitecture: all
SourcePackage: dnsmasq
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1777094/+subscriptions
More information about the foundations-bugs
mailing list