[Bug 1531184] Re: [SRU] dnsmasq doesn't start on boot because its interface isn't up yet

2019-07-01 Thread Terrence Houlahan
The reference paelzer references is related to Ubuntu 14.04. In Ubuntu 18.04, "/etc/netplan/01-network-manager-all.yaml" defaults all network device management to NetworkManager. Therefore any solution will have to be to NetworkManager's systemd service file. My solution which I've tested and

[Bug 1777094] Re: dnsmasq started too early, not getting all interfaces

2019-06-29 Thread Terrence Houlahan
In respect to my above post, the correct target of the sed expression should be as follows: sed -i 's/After=network.target/After=NetworkManager-wait-online.service/' /lib/systemd/system/dnsmasq.service Please note the fix remains nonetheless valid and ensures that dnsmasq rises up correctly

[Bug 1777094] Re: dnsmasq started too early, not getting all interfaces

2019-06-28 Thread Terrence Houlahan
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,