[pve-devel] [pve-cluster/pve-network] move macs.db from priv/ to sdn/

Stoiko Ivanov s.ivanov at proxmox.com
Mon Nov 18 21:55:35 CET 2024


while looking through the changes in pve-network, and testing the
port-isolation series I saw the move of priv/ipam.db to
sdn/pve-ipam-state.json:

https://git.proxmox.com/?p=pve-network.git;a=commitdiff;h=0f48bc6561f2fd901f2665387b4954c8105614e0

Following the argumentation the mac-cache file should probably also be
moved to a non-root-exclusive directory.

>From a quick glance the remaining files in `priv/` do belong there.

minimally tested this on my machine.

pve-cluster:
Stoiko Ivanov (1):
  cfs: add 'sdn/mac-cache.json' to observed files

 src/PVE/Cluster.pm  | 3 ++-
 src/pmxcfs/status.c | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

pve-network:
Stoiko Ivanov (1):
  ipam: move mac-cache.db to unprivileged sdn/ subdirectory

 src/PVE/Network/SDN/Ipams.pm | 29 +++++++++++++++++++++++++++--
 1 file changed, 27 insertions(+), 2 deletions(-)

-- 
2.39.5





More information about the pve-devel mailing list