initial-setup-0.3.101-6.fc44

List of Findings

Error: SHELLCHECK_WARNING: [#def1]
/usr/libexec/initial-setup/run-gui-backend.guiweston:28:11: warning[SC3034]: In POSIX sh, $(<file) to read files is undefined.
#   26|   
#   27|   weston --config=${CONFIG_FILE} --socket=wl-firstboot-0
#   28|-> exit_code=$(< ${EXIT_CODE_SAVE})
#   29|   
#   30|   rm ${CONFIG_FILE} ${RUN_SCRIPT} ${EXIT_CODE_SAVE}

Error: SHELLCHECK_WARNING (CWE-571): [#def2]
/usr/libexec/initial-setup/run-initial-setup:19:16: warning[SC2155]: Declare and assign separately to avoid masking return values.
#   17|       # and there might not even be any displays connected
#   18|       if [ "$CURRENT_DEFAULT_TARGET" == "$GRAPHICAL_TARGET" ]; then
#   19|->         export XDG_RUNTIME_DIR=$(mktemp --directory --suffix="-initial-setup-runtime-dir")
#   20|           chmod 700 "$XDG_RUNTIME_DIR"
#   21|   

Scan Properties

analyzer-version-clippy1.90.0
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-193.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameinitial-setup-0.3.101-6.fc44
store-results-to/tmp/tmpcxbysc5o/initial-setup-0.3.101-6.fc44.tar.xz
time-created2025-10-28 18:16:56
time-finished2025-10-28 18:18:23
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpcxbysc5o/initial-setup-0.3.101-6.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpcxbysc5o/initial-setup-0.3.101-6.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9