luks-edit: remove unnecessary 2>/dev/null
Resolves: rhbz#2159738 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
This commit is contained in:
parent
ab2e102c65
commit
388a7e2c57
11
0013-luks-edit-remove-unnecessary-redirection.patch
Normal file
11
0013-luks-edit-remove-unnecessary-redirection.patch
Normal file
@ -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
|
@ -1,6 +1,6 @@
|
|||||||
Name: clevis
|
Name: clevis
|
||||||
Version: 18
|
Version: 18
|
||||||
Release: 109%{?dist}
|
Release: 110%{?dist}
|
||||||
Summary: Automated decryption framework
|
Summary: Automated decryption framework
|
||||||
|
|
||||||
License: GPLv3+
|
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
|
Patch0010: 0010-existing-luks2-token-id.patch
|
||||||
Patch0011: 0011-ignore-empty-and-comment-lines-in-crypttab.patch
|
Patch0011: 0011-ignore-empty-and-comment-lines-in-crypttab.patch
|
||||||
Patch0012: 0012-luks-define-max-entropy-bits-for-pwmake.patch
|
Patch0012: 0012-luks-define-max-entropy-bits-for-pwmake.patch
|
||||||
|
Patch0013: 0013-luks-edit-remove-unnecessary-redirection.patch
|
||||||
|
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -199,6 +200,10 @@ systemctl preset %{name}-luks-askpass.path >/dev/null 2>&1 || :
|
|||||||
%attr(4755, root, root) %{_libexecdir}/%{name}-luks-udisks2
|
%attr(4755, root, root) %{_libexecdir}/%{name}-luks-udisks2
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 25 2023 Sergio Arroutbi <sarroutb@redhat.com> - 15-110
|
||||||
|
- luks-edit: remove unnecessary 2>/dev/null
|
||||||
|
Resolves: rhbz#2159738
|
||||||
|
|
||||||
* Fri Jan 13 2023 Sergio Arroutbi <sarroutb@redhat.com> - 15-109
|
* Fri Jan 13 2023 Sergio Arroutbi <sarroutb@redhat.com> - 15-109
|
||||||
- luks: define max entropy bits for pwmake
|
- luks: define max entropy bits for pwmake
|
||||||
Resolves: rhbz#2159735
|
Resolves: rhbz#2159735
|
||||||
|
Loading…
Reference in New Issue
Block a user