Repocop reports by srpm

  rpm id test status message
talos-devel-1.10.6-alt1.noarch macos-ds-store-file-in-package warn There is a file in the package named .DS_Store or .DS_Store.gz, the file name used by Mac OS X to store folder attributes. Such files are generally useless in packages and were usually accidentally included by copying complete directories from the source tarball.
talos-devel-1.10.6-alt1.noarch unsafe-tmp-usage-in-scripts fail The test discovered scripts with errors which may be used by a user for damaging important system files. For example if a script uses in its work a temp file which is created in /tmp directory, then every user can create symlinks with the same name (pattern) in this directory in order to destroy or rewrite some system or another user's files. Scripts _must_ _use_ mktemp/tempfile or must use $TMPDIR. mktemp/tempfile is safest. $TMPDIR is safer than /tmp/ because libpam-tmpdir creates a subdirectory of /tmp that is only accessible by that user, and then sets TMPDIR and other variables to that. Hence, it doesn't matter nearly as much if you create a non-random filename, because nobody but you can access it. Found error in /usr/share/gocode/src/github.com/siderolabs/talos/hack/test/e2e-qemu.sh: $ grep /tmp/ /usr/share/gocode/src/github.com/siderolabs/talos/hack/test/e2e-qemu.sh case "${WITH_AIRGAPPED:-false}" in false) ;; *) "${TALOSCTL}" debug air-gapped 172.20.1.1 >/tmp/airgapped.log 2>&1 & sleep 5 # wait for the air-gapped server to start mv air-gapped-patch.yaml /tmp/air-gapped-patch.yaml QEMU_FLAGS+=("--config-patch=@/tmp/air-gapped-patch.yaml") ;; esac function create_cluster { build_registry_mirrors function destroy_cluster() { "${TALOSCTL}" cluster destroy \ --name "${CLUSTER_NAME}" \ --provisioner "${PROVISIONER}" \ --save-cluster-logs-archive-path="/tmp/logs-${LOG_ARCHIVE_SUFFIX}.tar.gz" \ --save-support-archive-path="/tmp/support-${LOG_ARCHIVE_SUFFIX}.zip" } trap destroy_cluster SIGINT EXIT create_cluster

generated by repocop at Tue Aug 19 02:33:58 2025