"borgmatic check" regression in 1.7.3 #597
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
Commit
ae036aebd7
changes execute.py:This change will break
borgmatic check
if there is any output to stderr from ssh:Root cause is RHEL9's default crypto policy which prohibits SHA1. Hetzner's Storagebox has RSA key with SHA1:
That one extra line ("client_global_hostkeys_private_confirm") is outputted to stderr by local ssh client, not remote server. It will obviously break JSON parsing in
borgmatic check
.There are workarounds to get rid of that stderr warning, for example:
update-crypto-policies --set DEFAULT:SHA1
I still would recommend to revert that change, or partially revert it if JSON parsing is used.
Borgmatic 1.7.3 is currently in EPEL9-testing and this problem will be hit by multiple users in 6 days:
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-64cd98ca6b
Wow, thank you for reporting this and diving into the cause!
It looks like this isn't quite as straightforward as backing out the change you've helpfully pinpointed, as doing so would break the new special file detection feature. So I may need to introduce some branching logic to do one thing for
check
and a different thing when detecting special files.Fix released in borgmatic 1.7.4. Please give it a shot and let me know if it works for you. Thanks!
Works for me. Thanks for quick fix.