Repocop reports for by-leader vt

  rpm id test status message
burp-2.5.4-alt4.src specfile-useradd-n warn -n in useradd is compat option and can be removed any time. Use -N instead.
cbmc-6.4.1-alt1.x86_64 bin-permissions info not executable file /usr/bin/ls_parse.py
certspotter-0.18.0-alt1.x86_64 systemd-but-no-native-init experimental The package have native systemd file(s) but no SysV init scripts.
coccinelle-1.3.0-alt2.x86_64 rpm-filesystem-conflict-file-file warn Files /usr/bin/spatch /usr/share/man/man1/spatch.1.xz conflict with the package schilytools-2024.03.21-alt2.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
cpufrequtils-008-alt4.x86_64 rpm-package-is-obsoleted warn The package is obsoleted by the package cpupower-6.11-alt1.x86_64, but is still alive and in the repository. Consider removing the package, or, if you want the package to be alive, ask the maintainer of cpupower-6.11-alt1.x86_64 to remove Obsoletes: tag.
cpupower-6.11-alt1.x86_64 rpm-obsolete-live-package info The package obsoletes the package cpufrequtils-008-alt4.x86_64, but the package cpufrequtils-008-alt4.x86_64 is still alive and in the repository. Ask its maintainer to remove it, or, if it should not be removed, remove the Obsoletes: tag. Do not forget to add explicit conflicts with the other package if nessessary.
disable-modprobe-1-alt1.noarch init-lsb warn /etc/rc.d/init.d/disable-modprobe: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
disable-modprobe-1-alt1.noarch missing-url info Missing Url: in a package.
dm-secdel-1.0.11-alt2.noarch systemd-but-no-native-init experimental The package have native systemd file(s) but no SysV init scripts.
drgn-0.0.30-alt1.x86_64 uncompressed-manpages info Package contains uncompressed manual pages.
etckeeper-1.18.22-alt1.noarch systemd-but-no-native-init experimental The package have native systemd file(s) but no SysV init scripts.
findsym-1.2-alt2.noarch missing-url info Missing Url: in a package.
fio-3.38-alt1.x86_64 arch-dep-package-has-big-usr-share info The package has a significant amount of architecture-independent data in /usr/share, while it is an architecture-dependent package. This is wasteful of mirror space and bandwidth, as we then end up with multiple copies of this data, one for each architecture. If the data in /usr/share is not architecture-independent, it is a policy violation, and in this case, you should move that data elsewhere.
girar-summary-1.10-alt1.x86_64 missing-url info Missing Url: in a package.
girar-summary-debuginfo-1.10-alt1.x86_64 missing-url info Missing Url: in a package.
git-delta-0.18.2-alt1.x86_64 rpm-filesystem-conflict-file-file warn File /usr/bin/delta conflicts with the package schilytools-2024.03.21-alt2.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
hypervfcopyd-6.11-alt1.x86_64 sisyphus_check fail sisyphus_check failed: /ALT/Sisyphus/files/x86_64/RPMS/hypervfcopyd-6.11-alt1.x86_64.rpm: invalid udev rules path: /usr/lib/udev/rules.d/hypervfcopyd.rules sisyphus_check: check-udev ERROR: udev rules path violation
hypervkvpd-6.11-alt1.x86_64 sisyphus_check fail sisyphus_check failed: /ALT/Sisyphus/files/x86_64/RPMS/hypervkvpd-6.11-alt1.x86_64.rpm: invalid udev rules path: /usr/lib/udev/rules.d/hypervkvpd.rules sisyphus_check: check-udev ERROR: udev rules path violation
hypervvssd-6.11-alt1.x86_64 sisyphus_check fail sisyphus_check failed: /ALT/Sisyphus/files/x86_64/RPMS/hypervvssd-6.11-alt1.x86_64.rpm: invalid udev rules path: /usr/lib/udev/rules.d/hypervvssd.rules sisyphus_check: check-udev ERROR: udev rules path violation
kdump-tools-1.8-alt8.x86_64 init-condrestart warn warning: found files in /etc/init.d/; better to use %_initdir=/etc/rc.d/init.d/etc/init.d/kdump-tools: missing condrestart target. Note: alt-specific script %_sbindir/post_service (used in %post_service macro) depends on condrestart. It is wise to add condrestart anyway./etc/init.d/kdump-tools: missing condstop target. Note: alt-specific script %_sbindir/preun_service (used in %preun_service macro) depends on condstop. It is wise to add condstop anyway.
kdump-tools-1.8-alt8.x86_64 missing-url info Missing Url: in a package.
kdump-tools-1.8-alt8.x86_64 sisyphus_check fail sisyphus_check failed: /ALT/Sisyphus/files/x86_64/RPMS/kdump-tools-1.8-alt8.x86_64.rpm: invalid udev rules path: /usr/lib/udev/rules.d/50-kdump-tools.rules sisyphus_check: check-udev ERROR: udev rules path violation
kdump-tools-1.8-alt8.x86_64 systemd-but-no-native-init experimental The package have native systemd file(s) but no SysV init scripts.
kdump-tools-checkinstall-1.8-alt8.x86_64 missing-url info Missing Url: in a package.
kernel-modules-dm-secdel-6.6-1.0.11-alt1.394819.1.src unmet-dependency-build-no-suitable-version fail build dependency kernel-image-6.6 has no suitable version.
kernelshark-2.3.1-alt1.x86_64 freedesktop-categories warn Menu-related Additional Categories (http://standards.freedesktop.org/menu-spec/latest/apa.html) not found in /usr/share/applications/kernelshark.desktop. Please add it or report a bug against this test if you already have registered one (not including menu unrelated ones as Core or Qt).
kselftests-6.11-alt1.x86_64 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/lib/kselftests/net/mptcp/mptcp_join.sh: $ grep /tmp/ /usr/lib/kselftests/net/mptcp/mptcp_join.sh cappid=$! sleep 1 fi NSTAT_HISTORY=/tmp/${listener_ns}.nstat ip netns exec ${listener_ns} \ nstat NSTAT_HISTORY=/tmp/${connector_ns}.nstat ip netns exec ${connector_ns} \ nstat local extra_args if [ $speed = "fast" ]; then extra_args="-j" if $capture; then sleep 1 kill $cappid fi NSTAT_HISTORY=/tmp/${listener_ns}.nstat ip netns exec ${listener_ns} \ nstat | grep Tcp > /tmp/${listener_ns}.out NSTAT_HISTORY=/tmp/${connector_ns}.nstat ip netns exec ${connector_ns} \ nstat | grep Tcp > /tmp/${connector_ns}.out if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then fail_test "client exit code $retc, server $rets" echo -e "\nnetns ${listener_ns} socket stat for ${port}:" 1>&2 ip netns exec ${listener_ns} ss -Menita 1>&2 -o "sport = :$port" cat /tmp/${listener_ns}.out echo -e "\nnetns ${connector_ns} socket stat for ${port}:" 1>&2 ip netns exec ${connector_ns} ss -Menita 1>&2 -o "dport = :$port" cat /tmp/${connector_ns}.out cat "$capout" return 1 fi Found error in /usr/lib/kselftests/net/mptcp/mptcp_connect.sh: $ grep -A5 -B5 /tmp/ /usr/lib/kselftests/net/mptcp/mptcp_connect.sh local cappid_connector=$! sleep 1 fi NSTAT_HISTORY=/tmp/${listener_ns}.nstat ip netns exec ${listener_ns} \ nstat -n if [ ${listener_ns} != ${connector_ns} ]; then NSTAT_HISTORY=/tmp/${connector_ns}.nstat ip netns exec ${connector_ns} \ nstat -n fi local stat_synrx_last_l local stat_ackrx_last_l -- sleep 1 kill ${cappid_listener} kill ${cappid_connector} fi NSTAT_HISTORY=/tmp/${listener_ns}.nstat ip netns exec ${listener_ns} \ nstat | grep Tcp > /tmp/${listener_ns}.out if [ ${listener_ns} != ${connector_ns} ]; then NSTAT_HISTORY=/tmp/${connector_ns}.nstat ip netns exec ${connector_ns} \ nstat | grep Tcp > /tmp/${connector_ns}.out fi local duration duration=$((stop-start)) result_msg+=" # time=${duration}ms" printf "(duration %05sms) " "${duration}" if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then mptcp_lib_pr_fail "client exit code $retc, server $rets" echo -e "\nnetns ${listener_ns} socket stat for ${port}:" 1>&2 ip netns exec ${listener_ns} ss -Menita 1>&2 -o "sport = :$port" cat /tmp/${listener_ns}.out echo -e "\nnetns ${connector_ns} socket stat for ${port}:" 1>&2 ip netns exec ${connector_ns} ss -Menita 1>&2 -o "dport = :$port" [ ${listener_ns} != ${connector_ns} ] && cat /tmp/${connector_ns}.out echo cat "$capout" mptcp_lib_result_fail "${TEST_GROUP}: ${result_msg}" return 1 Found error in /usr/lib/kselftests/intel_pstate/run.sh: $ grep -A5 -B5 /tmp/ /usr/lib/kselftests/intel_pstate/run.sh # and the value of MSR 0x199 (MSR_IA32_PERF_CTL) which indicates what # pstate the cpu is in, and the value of # /sys/devices/system/cpu/intel_pstate/max_perf_pct X maximum turbo state # # Notes: In some cases several frequency values may be placed in the # /tmp/result.X files. This is done on purpose in order to catch cases # where the pstate driver may not be working at all. There is the case # where, for example, several "similar" frequencies are in the file: # # #/tmp/result.3100:1:cpu MHz : 2899.980 #/tmp/result.3100:2:cpu MHz : 2900.000 #/tmp/result.3100:3:msr 0x199: 0x1e00 #/tmp/result.3100:4:max_perf_pct 94 # # and the test will error out in those cases. The result.X file can be checked # for consistency and modified to remove the extra MHz values. The result.X # files can be re-evaluated by setting EVALUATE_ONLY to 1 below. -- ./aperf $cpu & done echo "sleeping for 5 seconds" sleep 5 grep MHz /proc/cpuinfo | sort -u > /tmp/result.freqs num_freqs=$(wc -l /tmp/result.freqs | awk ' { print $1 } ') if [ $num_freqs -ge 2 ]; then tail -n 1 /tmp/result.freqs > /tmp/result.$1 else cp /tmp/result.freqs /tmp/result.$1 fi ./msr 0 >> /tmp/result.$1 max_perf_pct=$(cat /sys/devices/system/cpu/intel_pstate/max_perf_pct) echo "max_perf_pct $max_perf_pct" >> /tmp/result.$1 for job in `jobs -p` do echo "waiting for job id $job" wait $job -- echo "The marketing frequency of the cpu is $mkt_freq MHz" echo "The maximum frequency of the cpu is $max_freq MHz" echo "The minimum frequency of the cpu is $min_freq MHz" # make a pretty table echo "Target Actual Difference MSR(0x199) max_perf_pct" | tr " " "\n" > /tmp/result.tab for freq in `seq $max_freq -100 $min_freq` do result_freq=$(cat /tmp/result.${freq} | grep "cpu MHz" | awk ' { print $4 } ' | awk -F "." ' { print $1 } ') msr=$(cat /tmp/result.${freq} | grep "msr" | awk ' { print $3 } ') max_perf_pct=$(cat /tmp/result.${freq} | grep "max_perf_pct" | awk ' { print $2 } ' ) cat >> /tmp/result.tab << EOF $freq $result_freq $((result_freq - freq)) $msr $((max_perf_pct usr max_freq)) EOF done # print the table pr -aTt -5 < /tmp/result.tab exit 0
libtracefs-doc-1.8.1-alt1.x86_64 arch-dep-package-consists-of-usr-share info The package consists of architecture-independent data in /usr/share, while it is an architecture-dependent package. This is wasteful of mirror space and bandwidth, as we then end up with multiple copies of this data, one for each architecture. If the data in /usr/share is not architecture-independent, it is a policy violation, and in this case, you should move that data elsewhere.
linux-tools-host-6.11-alt1.x86_64 systemd-but-no-native-init experimental The package have native systemd file(s) but no SysV init scripts.
neomutt-20241212-alt1.x86_64 arch-dep-package-has-big-usr-share info The package has a significant amount of architecture-independent data in /usr/share, while it is an architecture-dependent package. This is wasteful of mirror space and bandwidth, as we then end up with multiple copies of this data, one for each architecture. If the data in /usr/share is not architecture-independent, it is a policy violation, and in this case, you should move that data elsewhere.
neomutt-20241212-alt1.x86_64 iconsdir experimental Please, move pixmaps from /usr/share/pixmaps to %_liconsdir, %_niconsdir, %_miconsdir according to their size. See http://www.altlinux.org/IconPathsPolicy.
netperf-2.7.0-alt2.x86_64 init-lsb warn /etc/rc.d/init.d/netserver: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
ollama-0.5.1-alt1.x86_64 systemd-but-no-native-init experimental The package have native systemd file(s) but no SysV init scripts.
openquantumsafe-openssh-8.9p1.202310-alt3.src specfile-useradd-n warn -n in useradd is compat option and can be removed any time. Use -N instead.
openquantumsafe-openssh-server-8.9p1.202310-alt3.x86_64 init-lsb fail /etc/rc.d/init.d/sshd: not systemd compatible: lsb init header missing and sshd.service is not present. See http://www.altlinux.org/Services_Policy for details.
pup-0.4.0-alt1.x86_64 rpm-filesystem-conflict-file-file warn File /usr/bin/pup conflicts with the package libxforms-demos-1.2.4-alt1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
rclone-1.65.2-alt1.1.x86_64 arch-dep-package-has-big-usr-share info The package has a significant amount of architecture-independent data in /usr/share, while it is an architecture-dependent package. This is wasteful of mirror space and bandwidth, as we then end up with multiple copies of this data, one for each architecture. If the data in /usr/share is not architecture-independent, it is a policy violation, and in this case, you should move that data elsewhere.
rosenpass-0.2.2-alt1.x86_64 rpm-filesystem-conflict-file-file warn File /usr/bin/rp conflicts with the package RTags-2.41-alt3.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
rpm-build-vm-checkinstall-1.75-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/lib/vm-run.ci/checkinstall: $ grep /tmp/ /usr/lib/vm-run.ci/checkinstall # Bringing up secondary CPUs" message. ls /dev/kvm set | grep ^LD_ # Simulate filetrigger run find /boot > /tmp/filelist /usr/lib/rpm/posttrans-filetriggers /tmp/filelist rm /tmp/filelist # Remove trigger so it does not re-create '/tmp/vm-ext4.img'. > /usr/lib/rpm/z-vm-createimage.filetrigger kvm-ok timeout 300 vm-run <<-'EOF' uname ! timeout --preserve-status 300 vm-run "true; false; true" || exit 1 timeout 300 vm-run --mem=max free -g timeout 300 vm-run --cpu=max lscpu df -h /tmp timeout 300 vm-run --tmp=max df -h /tmp rm /tmp/vm-tmpfs.qcow2 timeout 300 vm-run --verbose --overlay=ext4 uname -a rmdir /mnt/0 rm /usr/src/ext4.0.img timeout 300 vm-run --rootfs --verbose df rm /tmp/vm-ext4.img timeout 300 vm-run --hvc --no-quiet 'dmesg -r | grep -E "printk:( legacy)? console \[hvc0\] enabled"' timeout 300 vm-run --tcg --mem='' --cpu=1 cat /proc/cpuinfo if [ "$ALT_BRANCH_ID" = sisyphus ]; then rpm -qa PROVIDES=kernel-latest | grep '^kernel-image-' fi # Clean up without '-f' ensures these files existed. rm /tmp/initramfs-*-*-alt*.img # SCRIPT and exit code files form each vm-run invocation. Each SCRIPT file # should correspond to '.ret' file. find /tmp/vm.?????????? -maxdepth 0 | xargs -t -i -n1 rm {} {}.ret
rpm-pesign-checkinstall-3-alt1.x86_64 missing-url info Missing Url: in a package.
rtcheck-0.7.7-alt4.x86_64 init-condrestart fail /etc/rc.d/init.d/rtcheck: missing condrestart target. ERROR: alt-specific script %_sbindir/post_service (used in your %post_service macro) depends on condrestart. Please, fix./etc/rc.d/init.d/rtcheck: missing condstop target. ERROR: alt-specific script %_sbindir/preun_service (used in your %preun_service macro) depends on condstop. Please, fix.
rtcheck-0.7.7-alt4.x86_64 missing-url info Missing Url: in a package.
rtcheck-debuginfo-0.7.7-alt4.x86_64 missing-url info Missing Url: in a package.
shadowsocks-libev-3.3.5-alt4.x86_64 systemd-but-no-native-init experimental The package have native systemd file(s) but no SysV init scripts.
shadowsocks-rust-1.21.2-alt1.x86_64 systemd-but-no-native-init experimental The package have native systemd file(s) but no SysV init scripts.
sparse-0.6.4-alt2.x86_64 arch-dep-package-has-big-usr-share info The package has a significant amount of architecture-independent data in /usr/share, while it is an architecture-dependent package. This is wasteful of mirror space and bandwidth, as we then end up with multiple copies of this data, one for each architecture. If the data in /usr/share is not architecture-independent, it is a policy violation, and in this case, you should move that data elsewhere.
stalld-1.19.7-alt1.x86_64 systemd-but-no-native-init experimental The package have native systemd file(s) but no SysV init scripts.
tuned-2.24.1-alt1.noarch init-lsb fail /etc/rc.d/init.d/tuned: not systemd compatible: lsb init header missing and tuned.service is not present. See http://www.altlinux.org/Services_Policy for details.
tuned-2.24.1-alt1.noarch sisyphus_check fail sisyphus_check failed: /ALT/Sisyphus/files/noarch/RPMS/tuned-2.24.1-alt1.noarch.rpm: Invalid path names: /usr/lib/tmpfiles.d/tuned.conf sisyphus_check: check-fhs ERROR: FHS violation
ubdsrv-1.2-alt1.x86_64 library-pkgnames info package contains public library which is used in external packages: name should be lib* according to http://altlinux.org/Drafts/SharedLibs
webhook-2.8.2-alt1.x86_64 rpm-filesystem-conflict-file-file warn File /usr/bin/webhook conflicts with the package cert-manager-1.15.3-alt1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
webhook-2.8.2-alt1.x86_64 systemd-but-no-native-init experimental The package have native systemd file(s) but no SysV init scripts.

generated by repocop at Sun Dec 22 02:18:48 2024