Error: SHELLCHECK_WARNING (CWE-829): [#def1] /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): [#def2] /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): [#def3] /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): [#def4] /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): [#def5] /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): [#def6] /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
| analyzer-version-clippy | 1.86.0 |
| analyzer-version-cppcheck | 2.17.1 |
| analyzer-version-gcc | 15.1.1 |
| analyzer-version-gcc-analyzer | 15.1.1 |
| analyzer-version-shellcheck | 0.10.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.86.0 |
| diffbase-analyzer-version-cppcheck | 2.17.1 |
| diffbase-analyzer-version-gcc | 15.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 15.1.1 |
| diffbase-analyzer-version-shellcheck | 0.10.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-108.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20250502.162211.gca63d41.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | stratisd-3.8.0~202505041848git34be7f48-D |
| diffbase-store-results-to | /tmp/tmp74_z6lpk/stratisd-3.8.0~202505041848git34be7f48-D.tar.xz |
| diffbase-time-created | 2025-05-05 14:23:35 |
| diffbase-time-finished | 2025-05-05 14:33:20 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,shellcheck,unicontrol,clippy,cppcheck' '-o' '/tmp/tmp74_z6lpk/stratisd-3.8.0~202505041848git34be7f48-D.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp74_z6lpk/stratisd-3.8.0~202505041848git34be7f48-D.src.rpm' |
| diffbase-tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-108.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250502.162211.gca63d41.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | stratisd-3.8.0~202505051402gite7a4fc2c-D |
| store-results-to | /tmp/tmpf42mutvx/stratisd-3.8.0~202505051402gite7a4fc2c-D.tar.xz |
| time-created | 2025-05-05 14:33:35 |
| time-finished | 2025-05-05 14:42:47 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,shellcheck,unicontrol,clippy,cppcheck' '-o' '/tmp/tmpf42mutvx/stratisd-3.8.0~202505051402gite7a4fc2c-D.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpf42mutvx/stratisd-3.8.0~202505051402gite7a4fc2c-D.src.rpm' |
| tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |