Task #50416 - added.err

back to task #50416
download
Error: SHELLCHECK_WARNING (CWE-829):
/usr/lib/dracut/modules.d/90stratis-clevis/stratis-clevis-rootfs-setup:19:5: warning[SC2091]: Remove surrounding $() to avoid executing output (or use eval if intentional).
#   17|   
#   18|   if $(stratis-min pool is-stopped "$STRATIS_ROOTFS_UUID"); then
#   19|-> 	if $(stratis-min pool is-bound "$STRATIS_ROOTFS_UUID"); then
#   20|   		if ! stratis-min pool start --token-slot=any "$STRATIS_ROOTFS_UUID"; then
#   21|   			echo Failed to start pool with UUID $STRATIS_ROOTFS_UUID using an unattended unlock method. >&2

Error: SHELLCHECK_WARNING (CWE-829):
/usr/lib/dracut/modules.d/90stratis/stratis-rootfs-setup:19:5: warning[SC2091]: Remove surrounding $() to avoid executing output (or use eval if intentional).
#   17|   
#   18|   if $(stratis-min pool is-stopped "$STRATIS_ROOTFS_UUID"); then
#   19|-> 	if $(stratis-min pool has-passphrase "$STRATIS_ROOTFS_UUID"); then
#   20|   		ATTEMPTS_REMAINING=3
#   21|   		if

Error: SHELLCHECK_WARNING (CWE-829):
/usr/lib/dracut/modules.d/90stratis/stratis-rootfs-setup:31:7: warning[SC2091]: Remove surrounding $() to avoid executing output (or use eval if intentional).
#   29|   		fi
#   30|   	fi
#   31|-> 	if ! $(stratis-min pool is-encrypted "$STRATIS_ROOTFS_UUID"); then
#   32|   		if ! stratis-min pool start "$STRATIS_ROOTFS_UUID"; then
#   33|   			echo Failed to start pool with UUID $STRATIS_ROOTFS_UUID >&2

Error: SHELLCHECK_WARNING (CWE-829):
/usr/lib/systemd/stratis-fstab-setup:21:5: warning[SC2091]: Remove surrounding $() to avoid executing output (or use eval if intentional).
#   19|   
#   20|   if $(stratis-min pool is-stopped "$POOL_UUID"); then
#   21|-> 	if $(stratis-min pool is-bound "$POOL_UUID"); then
#   22|   		if stratis-min pool start --token-slot=any "$POOL_UUID"; then
#   23|   			exit 0

Error: SHELLCHECK_WARNING (CWE-829):
/usr/lib/systemd/stratis-fstab-setup:28:5: warning[SC2091]: Remove surrounding $() to avoid executing output (or use eval if intentional).
#   26|   		fi
#   27|   	fi
#   28|-> 	if $(stratis-min pool has-passphrase "$POOL_UUID"); then
#   29|   		if systemd-ask-password \
#   30|   			"Enter password for pool with UUID $POOL_UUID" |

Error: SHELLCHECK_WARNING (CWE-829):
/usr/lib/systemd/stratis-fstab-setup:37:7: warning[SC2091]: Remove surrounding $() to avoid executing output (or use eval if intentional).
#   35|   		fi
#   36|   	fi
#   37|-> 	if ! $(stratis-min pool is-encrypted "$POOL_UUID"); then
#   38|   		if stratis-min pool start "$POOL_UUID"; then
#   39|   			exit 0