after some trying I just stuck with killing the dnsmasq process & (re)starting
the dhcp server via a little script.
In rc.local I added this script so it will be carried out at the end of
everything... Not a real nice solution but it's working...
The sleeps are for some reason necessary
#!/bin/bash
echo "wait 10sec"
sleep 10
PROCS="dnsmasq"
#
# Get pids
PIDS=$(awk -F: '{print}' /var/run/libvirt/network/default.pid)
# Now kill em
echo "Killing $PROCS process with PID $PIDS ..."
kill -9 $PIDS
echo "wait 10sec"
sleep 10
echo "dhcp start"
/etc/init.d/dhcp3-server restart
--
add option to start dnsmasq with a custom configuration file
https://bugs.launchpad.net/bugs/247583
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs