verbosity flag producing remote ssh output even at -1 level #552
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#552
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Expected: remote warnings should not appear.
borg version: 1.2.1
borgmatic version: 1.6.4
FWIW: on a different host running borgmatic 1.5.22, I do not see these remote warnings. I assume this is a regression.
Thanks for filing this! It's something that sounds totally plausible as a bug, because currently borgmatic does nothing to alter ssh's verbosity. I could imagine adding
-o LogLevel=error
tossh_command
whenever borgmatic's verbosity is-1
as a way to solve this.However.. I can't seem to reproduce the problem locally! I'm using the same version of borgmatic as you with Borg 1.2.0, and when I set the following so as not to get an interactive prompt for an unknown host ...
... I do get the
Remote: Warning: Permanently added ...
message from ssh, but only at the borgmatic verbosity levels1
and higher. At verbosity levels0
and-1
, the ssh warning is completely suppressed.So can you tell me a little more about your setup? Do you have the
ssh_command
option or theBORG_RSH
environment variable set? How are you running borgmatic when this behavior occurs? Interactively at the command-line or with cron/systemd? Any other configuration that might be relevant?Thanks!
Closing now due to inactivity / lack of repro, but I'd be happy to reopen if you've got more details. Thanks!