diff --git a/0013-luks-edit-remove-unnecessary-redirection.patch b/0013-luks-edit-remove-unnecessary-redirection.patch new file mode 100644 index 0000000..ae1f82c --- /dev/null +++ b/0013-luks-edit-remove-unnecessary-redirection.patch @@ -0,0 +1,11 @@ +--- clevis-18.ori/src/luks/clevis-luks-edit 2021-04-15 13:00:19.965065700 +0200 ++++ clevis-18/src/luks/clevis-luks-edit 2023-01-16 10:24:18.555971552 +0100 +@@ -173,7 +173,7 @@ + + echo "Updating binding..." + if ! clevis_luks_do_bind "${DEV}" "${SLT}" "" "${pin}" "${new_cfg}" \ +- "-y" "overwrite" 2>/dev/null; then ++ "-y" "overwrite"; then + echo "Unable to update binding in ${DEV}:${SLT}. Operation cancelled." >&2 + exit 1 + fi diff --git a/clevis.spec b/clevis.spec index 8eea8e1..fbe33ba 100644 --- a/clevis.spec +++ b/clevis.spec @@ -1,6 +1,6 @@ Name: clevis Version: 18 -Release: 109%{?dist} +Release: 110%{?dist} Summary: Automated decryption framework License: GPLv3+ @@ -19,6 +19,7 @@ Patch0009: 0009-luks-enable-debugging-in-clevis-scripts-when-rd.debu.patch Patch0010: 0010-existing-luks2-token-id.patch Patch0011: 0011-ignore-empty-and-comment-lines-in-crypttab.patch Patch0012: 0012-luks-define-max-entropy-bits-for-pwmake.patch +Patch0013: 0013-luks-edit-remove-unnecessary-redirection.patch BuildRequires: git-core BuildRequires: gcc @@ -199,6 +200,10 @@ systemctl preset %{name}-luks-askpass.path >/dev/null 2>&1 || : %attr(4755, root, root) %{_libexecdir}/%{name}-luks-udisks2 %changelog +* Wed Jan 25 2023 Sergio Arroutbi - 15-110 +- luks-edit: remove unnecessary 2>/dev/null + Resolves: rhbz#2159738 + * Fri Jan 13 2023 Sergio Arroutbi - 15-109 - luks: define max entropy bits for pwmake Resolves: rhbz#2159735