canonical/multipass

[sshfs] Multipass logs leaking filepaths from CI environments

Fechada

#4.195 aberto em 30 de jun. de 2025

 (1 comentário) (0 reação) (0 responsável)C++ (634 forks)batch import
buggood first issuelow

Métricas do repositório

Stars
 (6.956 estrelas)
Métricas de merge de PR
 (Mesclagem média 16d 2h) (50 fundiu PRs em 30d)

Description

In several compilation units, we are using the __FILE__ macro in logging messages. This is causing Multipass to leak file paths from our CI environment. i.e. [trace] [ssh process] /Users/cibot/actions-runner-2/_work/multipass-private/multipass-private/src/ssh/ssh_process.cpp:167 read_stream(type = 0, timeout = -1).

We should not be printing out the full path for the file. This part of the log message should either be removed or truncated to only include the top level src/ directory.

Guia do colaborador