* [PATCH proxmox-backup] pxar-fuse: only enable libfuse debug output in verbose mode
@ 2026-11-30 10:03 Dietmar Maurer
2026-12-01 2:27 ` applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Dietmar Maurer @ 2026-11-30 10:03 UTC (permalink / raw)
To: pbs-devel
Since commit 41d08aa6d, libfuse's debug output was only enabled in
verbose mode. The move to the proxmox-fuse session builder in commit
c443f58b0 enables it unconditionally, while the verbose flag only
controls the session's own error messages since.
proxmox-backup-client mount does not show it, as it redirects stderr
once daemonized, but pxar mount stays in the foreground and so prints
libfuse's trace of every request even without --verbose, as does any
other user of the crate that keeps stderr, for example a long-running
desktop client.
Fixes: c443f58b0 ("switch to external pxar and fuse crates")
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
---
pbs-pxar-fuse/src/lib.rs | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/pbs-pxar-fuse/src/lib.rs b/pbs-pxar-fuse/src/lib.rs
index ef6e8b89c..83528f920 100644
--- a/pbs-pxar-fuse/src/lib.rs
+++ b/pbs-pxar-fuse/src/lib.rs
@@ -88,8 +88,11 @@ impl Session {
verbose: bool,
path: &Path,
) -> Result<Self, Error> {
- let fuse = Fuse::builder("pxar-mount")?
- .debug()
+ let mut builder = Fuse::builder("pxar-mount")?;
+ if verbose {
+ builder = builder.debug();
+ }
+ let fuse = builder
.options_os(options)?
.enable_readdirplus()
.enable_read()
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* applied: [PATCH proxmox-backup] pxar-fuse: only enable libfuse debug output in verbose mode
2026-11-30 10:03 [PATCH proxmox-backup] pxar-fuse: only enable libfuse debug output in verbose mode Dietmar Maurer
@ 2026-12-01 2:27 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2026-12-01 2:27 UTC (permalink / raw)
To: pbs-devel, Dietmar Maurer
On Mon, 30 Nov 2026 11:03:58 +0100, Dietmar Maurer wrote:
> Since commit 41d08aa6d, libfuse's debug output was only enabled in
> verbose mode. The move to the proxmox-fuse session builder in commit
> c443f58b0 enables it unconditionally, while the verbose flag only
> controls the session's own error messages since.
>
> proxmox-backup-client mount does not show it, as it redirects stderr
> once daemonized, but pxar mount stays in the foreground and so prints
> libfuse's trace of every request even without --verbose, as does any
> other user of the crate that keeps stderr, for example a long-running
> desktop client.
>
> [...]
Applied, thanks!
I reworded the commit message a little bit.
[1/1] pxar-fuse: only enable libfuse debug output in verbose mode
commit: 2a57be79087ce5314a07f113d24ea4d0cc6f7613
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-12-01 2:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 10:03 [PATCH proxmox-backup] pxar-fuse: only enable libfuse debug output in verbose mode Dietmar Maurer
2026-12-01 2:27 ` applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox