all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH proxmox-backup] fix #7911: api: report: mark endpoint as protected
@ 2026-08-11  9:36 Erik Fastermann
  0 siblings, 0 replies; only message in thread
From: Erik Fastermann @ 2026-08-11  9:36 UTC (permalink / raw)
  To: pbs-devel; +Cc: Erik Fastermann

The report was generated by proxmox-backup-proxy, which runs as the
unprivileged 'backup' user, so commands needing root only partly
worked. ethtool printed "netlink error: Operation not permitted" to
stderr, which ended up in the report. dmidecode and proxmox-boot-tool
failed completely.

Forward the request to the privileged API daemon instead, like PVE,
PMG and PDM already do. Users with Sys.Audit thus see slightly more
host details, which the other products already accept.

Signed-off-by: Erik Fastermann <e.fastermann@proxmox.com>
---
 src/api2/node/report.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/api2/node/report.rs b/src/api2/node/report.rs
index f71f5b25f..5d728a137 100644
--- a/src/api2/node/report.rs
+++ b/src/api2/node/report.rs
@@ -9,6 +9,7 @@ use pbs_api_types::{NODE_SCHEMA, PRIV_SYS_AUDIT};
 use crate::server::generate_report;
 
 #[api(
+    protected: true,
     input: {
         properties: {
             node: {
-- 
2.47.3




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-11  9:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-11  9:36 [PATCH proxmox-backup] fix #7911: api: report: mark endpoint as protected Erik Fastermann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal