From: Erik Fastermann <e.fastermann@proxmox.com>
To: pbs-devel@lists.proxmox.com
Cc: Erik Fastermann <e.fastermann@proxmox.com>
Subject: [PATCH proxmox-backup] fix #7911: api: report: mark endpoint as protected
Date: Tue, 11 Aug 2026 11:36:11 +0200 [thread overview]
Message-ID: <20260811093611.228420-1-e.fastermann@proxmox.com> (raw)
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
reply other threads:[~2026-08-11 9:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260811093611.228420-1-e.fastermann@proxmox.com \
--to=e.fastermann@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox