proxmox-perl-rs/pve-rs
Stefan Hanreich f83a9a6367 firewall: sdn: ignore EPERM when reading the legacy IPAM file
On fresh installations, neither the new nor the old IPAM db file
exist. This triggers our fallback code path and leads to errors in the
syslog on fresh installs where there is no IPAM database. This happens
whenever a firewall API call is made. Because of this, we choose to
ignore EPERM when reading the legacy files. This is okay, because we
move existing databases in the postinstall script of
libpve-network-perl, making the situation where the new file does not
exist, but the old file exists unlikely.

Reported-by: Alexander Zeidler <a.zeidler@proxmox.com>
Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
2024-11-20 16:17:20 +01:00
..
.cargo pve-rs: pmg-rs: move deprecated .cargo/config to .cargo/config.toml 2024-06-20 12:19:01 +02:00
debian pve: bump version to 0.8.13 2024-11-19 16:11:31 +01:00
src firewall: sdn: ignore EPERM when reading the legacy IPAM file 2024-11-20 16:17:20 +01:00
test pve: test: resource scheduling: add another test where memory is secondary to CPU 2023-11-06 18:21:06 +01:00
Cargo.toml pve: bump version to 0.8.13 2024-11-19 16:11:31 +01:00
common major build system upgrade 2023-05-10 11:44:44 +02:00
Fixup.pm pve: load SslProbe in Proxmox/Lib/PVE.pm 2023-12-07 09:56:05 +01:00
Makefile add PVE::RS::Firewall::SDN module 2024-11-15 18:53:14 +01:00