[pve-devel] [PATCH pve-network 0/2] dnsmasq: fix dhcp leases

Alexandre Derumier aderumier at odiso.com
Fri Nov 17 12:53:28 CET 2023


This need to deploy permission for dbus uk.org.thekelleys.dnsmasq.*
/etc/dbus-1/system.d/dnsmasq-pve.conf
I don't have added patch for this.

<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
        <policy user="root">
                <allow own_prefix="uk.org.thekelleys.dnsmasq"/>
                <allow send_destination_prefix="uk.org.thekelleys.dnsmasq"/>
        </policy>
        <policy user="dnsmasq">
                <allow own_prefix="uk.org.thekelleys.dnsmasq"/>
                <allow send_destination_prefix="uk.org.thekelleys.dnsmasq"/>
        </policy>
        <policy context="default">
                <deny own_prefix="uk.org.thekelleys.dnsmasq"/>
                <deny send_destination_prefix="uk.org.thekelleys.dnsmasq"/>
        </policy>
</busconfig>


Alexandre Derumier (2):
  dnsmasq: configure static range for each subnet
  dnsmasq: enable dbus && purge old ip lease on reservation

 src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

-- 
2.39.2





More information about the pve-devel mailing list