fido-device-onboard-0.5.3-1.20250326143740827710.pr757.25.g0dd231b

List of Findings

Error: SHELLCHECK_WARNING (CWE-457): [#def1]
/usr/lib/dracut/modules.d/52fdo/module-setup.sh:6:18: warning[SC2154]: moddir is referenced but not assigned.
#    4|       unit="$1"; shift
#    5|       target="$1"; shift
#    6|->     inst_simple "$moddir/$unit" "$systemdsystemunitdir/$unit"
#    7|       # note we `|| exit 1` here so we error out if e.g. the units are missing
#    8|       # see https://github.com/coreos/fedora-coreos-config/issues/799

Error: SHELLCHECK_WARNING (CWE-457): [#def2]
/usr/lib/dracut/modules.d/52fdo/module-setup.sh:6:34: warning[SC2154]: systemdsystemunitdir is referenced but not assigned.
#    4|       unit="$1"; shift
#    5|       target="$1"; shift
#    6|->     inst_simple "$moddir/$unit" "$systemdsystemunitdir/$unit"
#    7|       # note we `|| exit 1` here so we error out if e.g. the units are missing
#    8|       # see https://github.com/coreos/fedora-coreos-config/issues/799

Error: SHELLCHECK_WARNING (CWE-457): [#def3]
/usr/lib/dracut/modules.d/52fdo/module-setup.sh:9:26: warning[SC2154]: initdir is referenced but not assigned.
#    7|       # note we `|| exit 1` here so we error out if e.g. the units are missing
#    8|       # see https://github.com/coreos/fedora-coreos-config/issues/799
#    9|->     systemctl -q --root="$initdir" add-requires "$target" "$unit" || exit 1
#   10|   }
#   11|   

Error: SHELLCHECK_WARNING (CWE-457): [#def4]
/usr/lib/dracut/modules.d/52fdo/module-setup.sh:16:10: warning[SC2154]: systemdutildir is referenced but not assigned.
#   14|   
#   15|       inst_simple "$moddir/manufacturing-client-generator" \
#   16|->         "$systemdutildir/system-generators/manufacturing-client-generator"
#   17|   
#   18|       inst_script "$moddir/manufacturing-client-service" \

Scan Properties

analyzer-version-clippy1.85.1
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-78.us-west-2.compute.internal
mock-configfedora-rawhide-x86_64
project-namefido-device-onboard-0.5.3-1.20250326143740827710.pr757.25.g0dd231b
store-results-to/tmp/tmpvk0nd2pw/fido-device-onboard-0.5.3-1.20250326143740827710.pr757.25.g0dd231b.tar.xz
time-created2025-03-26 15:05:01
time-finished2025-03-26 15:12:41
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,unicontrol,clippy,gcc' '-o' '/tmp/tmpvk0nd2pw/fido-device-onboard-0.5.3-1.20250326143740827710.pr757.25.g0dd231b.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpvk0nd2pw/fido-device-onboard-0.5.3-1.20250326143740827710.pr757.25.g0dd231b.src.rpm'
tool-versioncsmock-3.8.0-1.el9