Repocop reports by acl

  packager rpm id test status message
@core bootloader-utils-0.5.3-alt1.noarch missing-url info Missing Url: in a package.
@core file-5.40-alt4.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.
@core rpm-build-4.0.4.178-alt1.x86_64 file-in-usr-marked-as-conffile warn Files below /usr may not be marked as conffiles, since
/usr might be mounted read-only and thus, the local system
administrator would not have a chance to modify this configuration
file.
boyarsh update-kernel-0.9.20-alt1.noarch checkbashisms experimental checkbashisms utility found possible bashisms in: /usr/sbin/remove-old-kernels
boyarsh update-kernel-0.9.20-alt1.noarch missing-url info Missing Url: in a package.
shaba dracut-055-alt3.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/dracut/modules.d/90crypt/parse-keydev.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/90crypt/parse-keydev.sh fi # A keydev of '/' is treated as the initrd itself if [ "/" = "$keydev" ]; then [ -z "$luksdev" ] && luksdev='*' echo "$luksdev:$keydev:$keypath" >> /tmp/luks.keys continue elif [ -n "$keydev" ]; then udevmatch "$keydev" >&7 || { warn 'keydev incorrect!' continue Found error in /usr/lib/dracut/modules.d/90crypt/probe-keydev.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/90crypt/probe-keydev.sh info "Probing $real_keydev for $keypath..." test_dev -f "$real_keydev" "$keypath" || exit 1 info "Found $keypath on $real_keydev" echo "$luksdev:$real_keydev:$keypath" >> /tmp/luks.keys Found error in /usr/lib/dracut/modules.d/98syslog/rsyslogd-start.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/98syslog/rsyslogd-start.sh set -f for filter in $filters; do echo "${filter} @${server}" done ) #echo "*.* /tmp/syslog" } [ -f /tmp/syslog.type ] && read -r type < /tmp/syslog.type [ -f /tmp/syslog.server ] && read -r server < /tmp/syslog.server [ -f /tmp/syslog.filters ] && read -r filters < /tmp/syslog.filters [ -z "$filters" ] && filters="kern.*" [ -f /tmp/syslog.conf ] && read -r conf < /tmp/syslog.conf [ -z "$conf" ] && conf="/etc/rsyslog.conf" && echo "$conf" > /tmp/syslog.conf if [ "$type" = "rsyslogd" ]; then template=/etc/templates/rsyslog.conf if [ -n "$server" ]; then rsyslog_config "$server" "$template" "$filters" > $conf Found error in /usr/lib/dracut/modules.d/98syslog/parse-syslog-opts.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/98syslog/parse-syslog-opts.sh syslogserver=$(getarg syslog.server -d syslog) syslogfilters=$(getargs syslog.filter -d filter) syslogtype=$(getarg syslog.type -d syslogtype) [ -n "$syslogserver" ] && echo "$syslogserver" > /tmp/syslog.server [ -n "$syslogfilters" ] && echo "$syslogfilters" > /tmp/syslog.filters if [ -n "$syslogtype" ]; then echo "$syslogtype" > /tmp/syslog.type else syslogtype=$(detect_syslog) echo "$syslogtype" > /tmp/syslog.type fi Found error in /usr/lib/dracut/modules.d/90dmraid/dmraid.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/90dmraid/dmraid.sh type getarg > /dev/null 2>&1 || . /lib/dracut-lib.sh devenc=$(str_replace "$1" '/' '\2f') [ -e /tmp/dmraid."$devenc" ] && exit 0 : > /tmp/dmraid."$devenc" DM_RAIDS=$(getargs rd.dm.uuid -d rd_DM_UUID=) if [ -n "$DM_RAIDS" ] || getargbool 0 rd.auto; then # run dmraid if udev has settled Found error in /usr/lib/dracut/modules.d/95nvmf/parse-nvmf-boot-connections.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/95nvmf/parse-nvmf-boot-connections.sh [ -f "/etc/nvme/hostid" ] || exit 0 if [ -f "/etc/nvme/discovery.conf" ]; then /sbin/initqueue --settled --onetime --unique --name nvme-discover /usr/sbin/nvme connect-all if [ "$trtype" = "tcp" ]; then : > /tmp/net."$ifname".did-setup fi else # No nvme command line arguments present, try autodiscovery if [ "$trtype" = "fc" ]; then /sbin/initqueue --finished --onetime --unique --name nvme-fc-autoconnect /sbin/nvmf-autoconnect.sh Found error in /usr/lib/dracut/modules.d/04watchdog/watchdog.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/04watchdog/watchdog.sh #!/bin/sh if [ -e /dev/watchdog ]; then if [ ! -e /tmp/watchdog_timeout ]; then wdctl -s 60 /dev/watchdog > /dev/null 2>&1 : > /tmp/watchdog_timeout fi info "Triggering watchdog" : > /dev/watchdog else modprobe ib700wdt Found error in /usr/lib/dracut/modules.d/99base/init.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/99base/init.sh # # Copyright 2008-2010, Red Hat, Inc. # Harald Hoyer # Jeremy Katz export -p > /tmp/export.orig NEWROOT="/sysroot" [ -d $NEWROOT ] || mkdir -p -m 0755 $NEWROOT OLDPATH=$PATH -- echo "$line" >> /etc/cmdline.d/99-cmdline-ask.conf done fi if ! getargbool 1 'rd.hostonly'; then [ -f /etc/cmdline.d/99-cmdline-ask.conf ] && mv /etc/cmdline.d/99-cmdline-ask.conf /tmp/99-cmdline-ask.conf remove_hostonly_files [ -f /tmp/99-cmdline-ask.conf ] && mv /tmp/99-cmdline-ask.conf /etc/cmdline.d/99-cmdline-ask.conf fi # run scriptlets to parse the command line make_trace_mem "hook cmdline" '1+:mem' '1+:iomem' '3+:slab' getarg 'rd.break=cmdline' -d 'rdbreak=cmdline' && emergency_shell -n cmdline "Break before cmdline" -- *) unset "$i" ;; esac done . /tmp/export.orig 2> /dev/null || : rm -f -- /tmp/export.orig initargs="" read -r CLINE < /proc/cmdline if getarg init= > /dev/null; then ignoreargs="console BOOT_IMAGE"
shaba dracut-live-055-alt3.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/dracut/modules.d/90livenet/livenetroot.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/90livenet/livenetroot.sh PATH=/usr/sbin:/usr/bin:/sbin:/bin RETRIES=${RETRIES:-100} SLEEP=${SLEEP:-5} [ -e /tmp/livenet.downloaded ] && exit 0 # args get passed from 40network/netroot netroot="$2" liveurl="${netroot#livenet:}" info "fetching $liveurl" -- sleep "$SLEEP" fi i=$((i + 1)) done > /tmp/livenet.downloaded # TODO: couldn't dmsquash-live-root handle this? if [ "${imgfile##*.}" = "iso" ]; then root=$(losetup -f) losetup "$root" "$imgfile" Found error in /usr/lib/dracut/modules.d/90livenet/parse-livenet.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/90livenet/parse-livenet.sh # live updates updates=$(getarg live.updates=) if [ -n "$updates" ]; then # make sure network comes up even if we're doing a local live device if [ -z "$netroot" ]; then echo > /tmp/net.ifaces fi echo "$updates" > /tmp/liveupdates.info echo '[ -e /tmp/liveupdates.done ]' > \ "$hookdir"/initqueue/finished/liveupdates.sh fi str_starts "$root" "live:" && liveurl="$root" str_starts "$liveurl" "live:" || return Found error in /usr/lib/dracut/modules.d/90dmsquash-live/iso-scan.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/90dmsquash-live/iso-scan.sh do_iso_scan() { local _name local dev for dev in /dev/disk/by-uuid/*; do _name=$(dev_unit_name "$dev") [ -e /tmp/isoscan-"${_name}" ] && continue : > /tmp/isoscan-"${_name}" mount -t auto -o ro "$dev" "/run/initramfs/isoscan" || continue if [ -f "/run/initramfs/isoscan/$isofile" ]; then losetup -f "/run/initramfs/isoscan/$isofile" ln -s "$dev" /run/initramfs/isoscandev rm -f -- "$job" Found error in /usr/lib/dracut/modules.d/90dmsquash-live/dmsquash-live-root.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/90dmsquash-live/dmsquash-live-root.sh command -v unpack_archive > /dev/null || . /lib/img-lib.sh PATH=/usr/sbin:/usr/bin:/sbin:/bin if getargbool 0 rd.live.debug -n -y rdlivedebug; then exec > /tmp/liveroot.$$.out exec 2>> /tmp/liveroot.$$.out set -x fi [ -z "$1" ] && exit 1 livedev="$1"
shaba dracut-network-055-alt3.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/dracut/modules.d/45ifcfg/write-ifcfg.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/45ifcfg/write-ifcfg.sh #!/bin/sh # NFS root might have reached here before /tmp/net.ifaces was written type is_persistent_ethernet_name > /dev/null 2>&1 || . /lib/net-lib.sh udevadm settle --timeout=30 # shellcheck disable=SC2174 mkdir -m 0755 -p /tmp/ifcfg/ # shellcheck disable=SC2174 mkdir -m 0755 -p /tmp/ifcfg-leases/ get_config_line_by_subchannel() { local CHANNELS local line -- fi echo "DEVICE=\"$_netif\"" } for netup in /tmp/net.*.did-setup; do [ -f "$netup" ] || continue netif=${netup%%.did-setup} netif=${netif##*/net.} strglobin "$netif" ":*:*:*:*:" && continue [ -e /tmp/ifcfg/ifcfg-"$netif" ] && continue unset bridge unset bond unset bondslaves unset bondname unset bondoptions -- unset vlan unset vlanname unset phydevice # shellcheck disable=SC1090 [ -e /tmp/bond."${netif}".info ] && . /tmp/bond."${netif}".info # shellcheck disable=SC1090 [ -e /tmp/bridge."${netif}".info ] && . /tmp/bridge."${netif}".info # shellcheck disable=SC1090 [ -e /tmp/team."${netif}".info ] && . /tmp/team."${netif}".info uuid=$(cat /proc/sys/kernel/random/uuid) if [ "$netif" = "$bridgename" ]; then bridge=yes elif [ "$netif" = "$teammaster" ]; then -- elif [ "$netif" = "$bondname" ]; then # $netif can't be bridge and bond at the same time bond=yes fi for i in "/tmp/vlan.${netif}."*; do [ ! -e "$i" ] && continue # shellcheck disable=SC1090 . "$i" vlan=yes break -- [ -z "$vlan" ] && interface_bind "$netif" "$macaddr" echo "ONBOOT=yes" echo "NETBOOT=yes" echo "UUID=\"$uuid\"" strstr "$(ip -6 addr show dev "$netif")" 'inet6' && echo "IPV6INIT=yes" if [ -f /tmp/dhclient."$netif".lease ]; then # shellcheck disable=SC1090 [ -f /tmp/dhclient."$netif".dhcpopts ] && . /tmp/dhclient."$netif".dhcpopts if [ -f /tmp/net."$netif".has_ibft_config ]; then echo "BOOTPROTO=ibft" else echo "BOOTPROTO=dhcp" fi cp /tmp/dhclient."$netif".lease /tmp/ifcfg-leases/dhclient-"$uuid"-"$netif".lease else # If we've booted with static ip= lines, the override file is there # shellcheck disable=SC1090 [ -e /tmp/net."$netif".override ] && . /tmp/net."$netif".override if strglobin "$ip" '*:*:*'; then echo "IPV6INIT=yes" echo "IPV6_AUTOCONF=no" echo "IPV6ADDR=\"$ip/$mask\"" else if [ -f /tmp/net."$netif".has_ibft_config ]; then echo "BOOTPROTO=ibft" else echo "BOOTPROTO=none" echo "IPADDR=\"$ip\"" if strstr "$mask" "."; then -- elif [ -n "$gw" ]; then echo "GATEWAY=\"$gw\"" fi fi [ -n "$mtu" ] && echo "MTU=\"$mtu\"" } > /tmp/ifcfg/ifcfg-"$netif" # bridge needs different things written to ifcfg if [ -z "$bridge" ] && [ -z "$bond" ] && [ -z "$vlan" ] && [ -z "$team" ]; then # standard interface echo "TYPE=Ethernet" >> /tmp/ifcfg/ifcfg-"$netif" fi if [ -n "$vlan" ]; then { echo "TYPE=Vlan" echo "DEVICE=\"$netif\"" echo "VLAN=yes" echo "PHYSDEV=\"$phydevice\"" } >> /tmp/ifcfg/ifcfg-"$netif" fi if [ -n "$bond" ]; then # bond interface { # This variable is an indicator of a bond interface for initscripts echo "BONDING_OPTS=\"$bondoptions\"" echo "NAME=\"$netif\"" echo "TYPE=Bond" } >> /tmp/ifcfg/ifcfg-"$netif" for slave in $bondslaves; do # write separate ifcfg file for the raw eth interface ( echo "# Generated by dracut initrd" -- echo "SLAVE=yes" echo "MASTER=\"$netif\"" echo "UUID=\"$(cat /proc/sys/kernel/random/uuid)\"" unset macaddr # shellcheck disable=SC1090 [ -e /tmp/net."$slave".override ] && . /tmp/net."$slave".override interface_bind "$slave" "$macaddr" ) >> /tmp/ifcfg/ifcfg-"$slave" done fi if [ -n "$bridge" ]; then # bridge { echo "TYPE=Bridge" echo "NAME=\"$netif\"" } >> /tmp/ifcfg/ifcfg-"$netif" for slave in $bridgeslaves; do # write separate ifcfg file for the raw eth interface ( echo "# Generated by dracut initrd" echo "NAME=\"$slave\"" -- echo "NETBOOT=yes" echo "BRIDGE=\"$bridgename\"" echo "UUID=\"$(cat /proc/sys/kernel/random/uuid)\"" unset macaddr # shellcheck disable=SC1090 [ -e /tmp/net."$slave".override ] && . /tmp/net."$slave".override interface_bind "$slave" "$macaddr" ) >> /tmp/ifcfg/ifcfg-"$slave" done fi i=1 for ns in $(getargs nameserver) $dns1 $dns2; do echo "DNS${i}=\"${ns}\"" >> /tmp/ifcfg/ifcfg-"$netif" i=$((i + 1)) done [ -f /tmp/net.route6."$netif" ] && cp /tmp/net.route6."$netif" /tmp/ifcfg/route6-"$netif" [ -f /tmp/net.route."$netif" ] && cp /tmp/net.route."$netif" /tmp/ifcfg/route-"$netif" done # Pass network opts mkdir -m 0755 -p /run/initramfs/state/etc/sysconfig/network-scripts mkdir -m 0755 -p /run/initramfs/state/var/lib/dhclient echo "files /etc/sysconfig/network-scripts" >> /run/initramfs/rwtab echo "files /var/lib/dhclient" >> /run/initramfs/rwtab { cp /tmp/net.* /run/initramfs/ for i in /tmp/net.*.resolv.conf; do [ -f "$i" ] && cat "$i" done | awk '!($0 in a) { a[$0]; print }' > /run/initramfs/state/etc/resolv.conf [ -s /run/initramfs/state/etc/resolv.conf ] || rm -f /run/initramfs/state/etc/resolv.conf copytree /tmp/ifcfg /run/initramfs/state/etc/sysconfig/network-scripts cp /tmp/ifcfg-leases/* /run/initramfs/state/var/lib/dhclient } > /dev/null 2>&1 Found error in /usr/lib/dracut/modules.d/40network/net-lib.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/40network/net-lib.sh #!/bin/sh # shellcheck disable=SC2034 IFNETFILE="/tmp/bootnetif" is_ip() { echo "$1" | { IFS=. read -r a b c d test "$a" -ge 0 -a "$a" -le 255 \ -- } # list the configured interfaces configured_ifaces() { local IFACES="" iface_id="" rv=1 [ -e "/tmp/net.ifaces" ] && read -r IFACES < /tmp/net.ifaces if { pidof udevd || pidof systemd-udevd; } > /dev/null; then for iface_id in $IFACES; do printf "%s\n" "$(iface_name "$iface_id")" rv=0 done -- return $rv } all_ifaces_up() { local iface="" IFACES="" [ -e "/tmp/net.ifaces" ] && read -r IFACES < /tmp/net.ifaces for iface in $IFACES; do [ -e /tmp/net."$iface".up ] || return 1 done } all_ifaces_setup() { local iface="" IFACES="" [ -e "/tmp/net.ifaces" ] && read -r IFACES < /tmp/net.ifaces for iface in $IFACES; do [ -e /tmp/net."$iface".did-setup ] || return 1 done } get_netroot_ip() { local prefix="" server="" rest="" -- local netif="$1" # ip down/flush ensures that routing info goes away as well ip link set "$netif" down ip addr flush dev "$netif" echo "#empty" > /etc/resolv.conf rm -f -- /tmp/net."$netif".did-setup [ -z "$DO_VLAN" ] \ && [ -e /sys/class/net/"$netif"/address ] \ && rm -f -- "/tmp/net.$(cat /sys/class/net/"$netif"/address).did-setup" # TODO: send "offline" uevent? } setup_net() { local netif="$1" f="" gw_ip="" netroot_ip="" iface="" IFACES="" local _p [ -e /tmp/net."$netif".did-setup ] && return [ -z "$DO_VLAN" ] \ && [ -e /sys/class/net/"$netif"/address ] \ && [ -e "/tmp/net.$(cat /sys/class/net/"$netif"/address).did-setup" ] && return [ -e "/tmp/net.ifaces" ] && read -r IFACES < /tmp/net.ifaces [ -z "$IFACES" ] && IFACES="$netif" # run the scripts written by ifup # shellcheck disable=SC1090 [ -e /tmp/net."$netif".hostname ] && . /tmp/net."$netif".hostname # shellcheck disable=SC1090 [ -e /tmp/net."$netif".override ] && . /tmp/net."$netif".override # shellcheck disable=SC1090 [ -e /tmp/dhclient."$netif".dhcpopts ] && . /tmp/dhclient."$netif".dhcpopts # set up resolv.conf [ -e /tmp/net."$netif".resolv.conf ] \ && awk '!array[$0]++' /tmp/net."$netif".resolv.conf > /etc/resolv.conf # shellcheck disable=SC1090 [ -e /tmp/net."$netif".gw ] && . /tmp/net."$netif".gw # add static route for _p in $(getargs rd.route); do route_to_var "$_p" || continue [ -n "$route_dev" ] && [ "$route_dev" != "$netif" ] && continue ip route add "$route_mask" ${route_gw:+via $route_gw} ${route_dev:+dev $route_dev} if strstr "$route_mask" ":"; then printf -- "%s\n" "$route_mask ${route_gw:+via $route_gw} ${route_dev:+dev $route_dev}" \ > /tmp/net.route6."$netif" else printf -- "%s\n" "$route_mask ${route_gw:+via $route_gw} ${route_dev:+dev $route_dev}" \ > /tmp/net.route."$netif" fi done # If a static route was necessary to reach the gateway, the # first gateway setup call will have failed with # RTNETLINK answers: Network is unreachable # Replace the default route again after static routes to cover # this scenario. # shellcheck disable=SC1090 [ -e /tmp/net."$netif".gw ] && . /tmp/net."$netif".gw # Handle STP Timeout: arping the default gateway. # (or the root server, if a) it's local or b) there's no gateway.) # Note: This assumes that if no router is present the # root server is on the same subnet. -- arping -q -f -w 60 -I "$netif" "$dest" || info "Resolving $dest via ARP on $netif failed" fi fi unset layer2 : > /tmp/net."$netif".did-setup [ -z "$DO_VLAN" ] \ && [ -e /sys/class/net/"$netif"/address ] \ && : > "/tmp/net.$(cat /sys/class/net/"$netif"/address).did-setup" } save_netinfo() { local netif="$1" IFACES="" f="" i="" [ -e /tmp/net.ifaces ] && read -r IFACES < /tmp/net.ifaces # Add $netif to the front of IFACES (if it's not there already). set -- "$netif" for i in $IFACES; do [ "$i" != "$netif" ] && set -- "$@" "$i"; done IFACES="$*" for i in $IFACES; do for f in "/tmp/dhclient.$i."*; do [ -f "$f" ] && cp -f "$f" /tmp/net."${f#/tmp/dhclient.}" done done echo "$IFACES" > /tmp/.net.ifaces.new mv /tmp/.net.ifaces.new /tmp/net.ifaces } set_ifname() { local name="$1" mac="$2" num=-1 n="" # if it's already set, return the existing name -- [ -e "${iface}"/mac ] || continue read -r mac < "${iface}"/mac [ -z "$mac" ] && continue dev=$(set_ifname ibft "$mac") [ -e /tmp/net."${dev}".has_ibft_config ] && continue [ -e "${iface}"/flags ] && read -r flags < "${iface}"/flags # Skip invalid interfaces awk -- 'BEGIN { exit (!and('"$flags"',1)) }' || continue # Skip interfaces not used for booting unless using multipath -- read -r vlan < "${iface}"/vlan if [ "$vlan" -ne "0" ]; then case "$vlan" in [0-9]*) echo "vlan=$dev.$vlan:$dev" echo "$mac" > /tmp/net."${dev}"."${vlan}".has_ibft_config ;; *) echo "vlan=$vlan:$dev" echo "$mac" > /tmp/net."${vlan}".has_ibft_config ;; esac else echo "$mac" > /tmp/net."${dev}".has_ibft_config fi else echo "$mac" > /tmp/net."${dev}".has_ibft_config fi done ) >> /etc/cmdline.d/40-ibft.conf } Found error in /usr/lib/dracut/modules.d/40network/ifname-genrules.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/40network/ifname-genrules.sh { for p in $(getargs ifname=); do parse_ifname_opts "$p" if [ -f /tmp/ifname-"$ifname_mac" ]; then read -r oldif < /tmp/ifname-"$ifname_mac" fi if [ -f /tmp/ifname-"$ifname_if" ]; then read -r oldmac < /tmp/ifname-"$ifname_if" fi if [ -n "$oldif" -a -n "$oldmac" -a "$oldif" = "$ifname_if" -a "$oldmac" = "$ifname_mac" ]; then # skip same ifname= declaration continue fi [ -n "$oldif" ] && warn "Multiple interface names specified for MAC $ifname_mac: $oldif" [ -n "$oldmac" ] && warn "Multiple MAC specified for $ifname_if: $oldmac" printf 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="%s", ATTR{type}=="1", NAME="%s"\n' "$ifname_mac" "$ifname_if" echo "$ifname_if" > /tmp/ifname-"$ifname_mac" echo "$ifname_mac" > /tmp/ifname-"$ifname_if" done } >> /etc/udev/rules.d/80-ifname.rules Found error in /usr/lib/dracut/modules.d/95iscsi/parse-iscsiroot.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/95iscsi/parse-iscsiroot.sh [ -z "$netroot" ] && netroot=iscsi: fi modprobe -b -q iscsi_boot_sysfs 2> /dev/null modprobe -b -q iscsi_ibft # if no ip= is given, but firmware echo "${DRACUT_SYSTEMD+systemctl is-active initrd-root-device.target || }[ -f '/tmp/iscsistarted-firmware' ]" > "$hookdir"/initqueue/finished/iscsi_started.sh initqueue --unique --online /sbin/iscsiroot online "iscsi:" "$NEWROOT" initqueue --unique --onetime --timeout /sbin/iscsiroot timeout "iscsi:" "$NEWROOT" initqueue --unique --onetime --settled /sbin/iscsiroot online "iscsi:" "'$NEWROOT'" fi -- sleep 1 fi fi # If not given on the cmdline and initiator-name available via iBFT if [ -z "$iscsi_initiator" ] && [ -f /sys/firmware/ibft/initiator/initiator-name ] && ! [ -f /tmp/iscsi_set_initiator ]; then iscsi_initiator=$(while read -r line || [ -n "$line" ]; do echo "$line"; done < /sys/firmware/ibft/initiator/initiator-name) if [ -n "$iscsi_initiator" ]; then echo "InitiatorName=$iscsi_initiator" > /run/initiatorname.iscsi rm -f /etc/iscsi/initiatorname.iscsi mkdir -p /etc/iscsi ln -fs /run/initiatorname.iscsi /etc/iscsi/initiatorname.iscsi : > /tmp/iscsi_set_initiator if [ -n "$DRACUT_SYSTEMD" ]; then systemctl try-restart iscsid # FIXME: iscsid is not yet ready, when the service is :-/ sleep 1 fi -- for nroot in $(getargs netroot); do [ "${nroot%%:*}" = "iscsi" ] || continue type parse_iscsi_root > /dev/null 2>&1 || . /lib/net-lib.sh parse_iscsi_root "$nroot" || return 1 netroot_enc=$(str_replace "$nroot" '/' '\2f') echo "${DRACUT_SYSTEMD+systemctl is-active initrd-root-device.target || }[ -f '/tmp/iscsistarted-$netroot_enc' ]" > "$hookdir"/initqueue/finished/iscsi_started.sh done # Done, all good! # shellcheck disable=SC2034 rootok=1 Found error in /usr/lib/dracut/modules.d/95iscsi/iscsiroot.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/95iscsi/iscsiroot.sh modprobe crc32c 2> /dev/null # start iscsiuio if needed if [ -z "${DRACUT_SYSTEMD}" ] \ && { [ -e /sys/module/bnx2i ] || [ -e /sys/module/qedi ]; } \ && ! [ -e /tmp/iscsiuio-started ]; then iscsiuio : > /tmp/iscsiuio-started fi handle_firmware() { local ifaces retry -- else ifaces=$( set -- /sys/firmware/ibft/ethernet* echo $# ) retry=$(cat /tmp/session-retry) if [ "$retry" -lt "$ifaces" ]; then retry=$((retry + 1)) echo $retry > /tmp/session-retry return 1 else rm /tmp/session-retry fi if ! iscsiadm -m fw -l; then warn "iscsiadm: Log-in to iscsi target failed" else need_shutdown fi fi [ -d /sys/class/iscsi_session ] || return 1 echo 'started' > "/tmp/iscsistarted-iscsi:" echo 'started' > "/tmp/iscsistarted-firmware" return 0 } handle_netroot() { -- # XXX is this needed? getarg ro && iscsirw=ro getarg rw && iscsirw=rw fsopts=${fsopts:+$fsopts,}${iscsirw} if [ -z "$iscsi_initiator" ] && [ -f /sys/firmware/ibft/initiator/initiator-name ] && ! [ -f /tmp/iscsi_set_initiator ]; then iscsi_initiator=$(while read -r line || [ -n "$line" ]; do echo "$line"; done < /sys/firmware/ibft/initiator/initiator-name) echo "InitiatorName=$iscsi_initiator" > /run/initiatorname.iscsi rm -f /etc/iscsi/initiatorname.iscsi mkdir -p /etc/iscsi ln -fs /run/initiatorname.iscsi /etc/iscsi/initiatorname.iscsi : > /tmp/iscsi_set_initiator if [ -n "$DRACUT_SYSTEMD" ]; then systemctl try-restart iscsid # FIXME: iscsid is not yet ready, when the service is :-/ sleep 1 fi -- iscsi_initiator=$(iscsi-iname) echo "InitiatorName=$iscsi_initiator" > /run/initiatorname.iscsi rm -f /etc/iscsi/initiatorname.iscsi mkdir -p /etc/iscsi ln -fs /run/initiatorname.iscsi /etc/iscsi/initiatorname.iscsi : > /tmp/iscsi_set_initiator if [ -n "$DRACUT_SYSTEMD" ]; then systemctl try-restart iscsid # FIXME: iscsid is not yet ready, when the service is :-/ sleep 1 fi -- return 1 fi : > "$hookdir"/initqueue/work netroot_enc=$(str_replace "$1" '/' '\2f') echo 'started' > "/tmp/iscsistarted-iscsi:${netroot_enc}" return 0 } ret=0 -- sleep 2 fi if getargbool 0 rd.iscsi.firmware -d -y iscsi_firmware; then if [ "$netif" = "timeout" ] || [ "$netif" = "online" ] || [ "$netif" = "dummy" ]; then [ -f /tmp/session-retry ] || echo 1 > /tmp/session-retry handle_firmware ret=$? fi fi Found error in /usr/lib/dracut/modules.d/35network-wicked/wicked-config.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/35network-wicked/wicked-config.sh #!/bin/sh getcmdline > /tmp/cmdline.$$.conf wicked show-config --ifconfig dracut:cmdline:/tmp/cmdline.$$.conf > /tmp/dracut.xml rm -f /tmp/cmdline.$$.conf Found error in /usr/lib/dracut/modules.d/35network-legacy/parse-ip-opts.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/35network-legacy/parse-ip-opts.sh IFACES="${IFACES%$BOOTDEV*} ${IFACES#*$BOOTDEV}" IFACES="$BOOTDEV $IFACES" fi # Store BOOTDEV and IFACES for later use [ -n "$BOOTDEV" ] && echo "$BOOTDEV" > /tmp/net.bootdev [ -n "$IFACES" ] && echo "$IFACES" > /tmp/net.ifaces Found error in /usr/lib/dracut/modules.d/35network-legacy/dhcp-multi.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/35network-legacy/dhcp-multi.sh dhclient "$arg" \ ${_timeout:+--timeout "$_timeout"} \ -q \ -1 \ -cf /etc/dhclient.conf \ -pf /tmp/dhclient."$netif".pid \ -lf /tmp/dhclient."$netif".lease \ "$netif" & wait $! 2> /dev/null # wait will return the return value of dhclient retv=$? -- fi # If dhclient exited before wait was called, or it was killed by # another thread for interface whose DHCP succeeded, then it will not # find the process with that pid and return error code 127. In that # case we need to check if /tmp/dhclient.$netif.lease exists. If it # does, it means dhclient finished executing before wait was called, # and it was successful (return 0). If /tmp/dhclient.$netif.lease # does not exist, then it means dhclient was killed by another thread # or it finished execution but failed dhcp on that interface. if [ $retv -eq 127 ]; then pid=$(cat /tmp/dhclient."$netif".pid) info "PID $pid was not found by wait for $netif" if [ -e /tmp/dhclient."$netif".lease ]; then info "PID $pid not found but DHCP successful on $netif" return 0 fi fi -- [ $_COUNT -lt "$_DHCPRETRY" ] && sleep 1 done warn "dhcp for interface $netif failed" # nuke those files since we failed; we might retry dhcp again if it's e.g. # `ip=dhcp,dhcp6` and we check for the PID file earlier rm -f /tmp/dhclient."$netif".pid /tmp/dhclient."$netif".lease return 1 } do_dhclient ret=$? # setup nameserver for s in "$dns1" "$dns2" $(getargs nameserver); do [ -n "$s" ] || continue echo nameserver "$s" >> /tmp/net."$netif".resolv.conf done if [ $ret -eq 0 ]; then : > /tmp/net."${netif}".up if [ -z "$do_vlan" ] && [ -e /sys/class/net/"${netif}"/address ]; then : > "/tmp/net.$(cat /sys/class/net/"${netif}"/address).up" fi # Check if DHCP also suceeded on another interface before this one. # We will always use the first one on which DHCP succeeded, by using # a commom file $IFNETFILE, to synchronize between threads. -- # Also, the link points to the interface name, which will tell us which # interface succeeded. if ln -s "$netif" "$IFNETFILE" 2> /dev/null; then intf=$(readlink "$IFNETFILE") if [ -e /tmp/dhclient."$intf".lease ]; then info "DHCP successful on interface $intf" # Kill all existing dhclient calls for other interfaces, since we # already got one successful interface npid=$(cat /tmp/dhclient."$netif".pid) pidlist=$(pgrep dhclient) for pid in $pidlist; do [ "$pid" -eq "$npid" ] && continue kill -9 "$pid" > /dev/null 2>&1 done else echo "ERROR! $IFNETFILE exists but /tmp/dhclient.$intf.lease does not exist!!!" fi else info "DHCP success on $netif, and also on $intf" exit 0 fi Found error in /usr/lib/dracut/modules.d/35network-legacy/parse-vlan.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/35network-legacy/parse-vlan.sh unset phydevice if [ ! "$vlan" = "vlan" ]; then parsevlan "$vlan" fi echo "phydevice=\"$phydevice\"" > /tmp/vlan."${phydevice}".phy { echo "vlanname=\"$vlanname\"" echo "phydevice=\"$phydevice\"" } > /tmp/vlan."${vlanname}"."${phydevice}" done Found error in /usr/lib/dracut/modules.d/35network-legacy/dhclient-script.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/35network-legacy/dhclient-script.sh [ -n "$new_max_life" ] && lease_time=$new_max_life preferred_lft=$lease_time [ -n "$new_preferred_life" ] && preferred_lft=$new_preferred_life # shellcheck disable=SC1090 [ -f /tmp/net."$netif".override ] && . /tmp/net."$netif".override # Taken from debian dhclient-script: # The 576 MTU is only used for X.25 and dialup connections # where the admin wants low latency. Such a low MTU can cause # problems with UDP traffic, among other things. As such, -- ${preferred_lft:+preferred_lft ${preferred_lft}} if [ -n "$gw" ]; then if [ "$mask" = "255.255.255.255" ]; then # point-to-point connection => set explicit route to gateway echo ip route add "$gw" dev "$netif" > /tmp/net."$netif".gw fi echo "$gw" | { IFS=' ' read -r main_gw other_gw echo ip route replace default via "$main_gw" dev "$netif" >> /tmp/net."$netif".gw if [ -n "$other_gw" ]; then for g in $other_gw; do echo ip route add default via "$g" dev "$netif" >> /tmp/net."$netif".gw done fi } fi if getargbool 1 rd.peerdns; then [ -n "${search}${domain}" ] && echo "search $search $domain" > /tmp/net."$netif".resolv.conf if [ -n "$namesrv" ]; then for s in $namesrv; do echo nameserver "$s" done fi >> /tmp/net."$netif".resolv.conf fi # Note: hostname can be fqdn OR short hostname, so chop off any # trailing domain name and explicity add any domain if set. [ -n "$hostname" ] && echo "echo ${hostname%.$domain}${domain:+.$domain} > /proc/sys/kernel/hostname" > /tmp/net."$netif".hostname } setup_interface6() { domain=$new_domain_name # get rid of control chars -- [ -n "$new_max_life" ] && lease_time=$new_max_life preferred_lft=$lease_time [ -n "$new_preferred_life" ] && preferred_lft=$new_preferred_life # shellcheck disable=SC1090 [ -f /tmp/net."$netif".override ] && . /tmp/net."$netif".override ip -6 addr add "${new_ip6_address}"/"${new_ip6_prefixlen}" \ dev "${netif}" scope global \ ${lease_time:+valid_lft $lease_time} \ ${preferred_lft:+preferred_lft ${preferred_lft}} if getargbool 1 rd.peerdns; then [ -n "${search}${domain}" ] && echo "search $search $domain" > /tmp/net."$netif".resolv.conf if [ -n "$namesrv" ]; then for s in $namesrv; do echo nameserver "$s" done fi >> /tmp/net."$netif".resolv.conf fi # Note: hostname can be fqdn OR short hostname, so chop off any # trailing domain name and explicity add any domain if set. [ -n "$hostname" ] && echo "echo ${hostname%.$domain}${domain:+.$domain} > /proc/sys/kernel/hostname" > /tmp/net."$netif".hostname } parse_option_121() { while [ $# -ne 0 ]; do mask="$1" -- unset layer2 setup_interface set | while read -r line || [ -n "$line" ]; do [ "${line#new_}" = "$line" ] && continue echo "$line" done > /tmp/dhclient."$netif".dhcpopts { echo '. /lib/net-lib.sh' echo "setup_net $netif" if [ -n "$new_classless_static_routes" ]; then -- IFS=".$IFS" parse_option_121 "$new_classless_static_routes" IFS="$OLDIFS" fi echo "source_hook initqueue/online $netif" [ -e /tmp/net."$netif".manualup ] || echo "/sbin/netroot $netif" echo "rm -f -- $hookdir/initqueue/setup_net_$netif.sh" } > "$hookdir"/initqueue/setup_net_"$netif".sh echo "[ -f /tmp/net.$netif.did-setup ]" > "$hookdir"/initqueue/finished/dhclient-"$netif".sh : > /tmp/net."$netif".up if [ -e /sys/class/net/"${netif}"/address ]; then : > "/tmp/net.$(cat /sys/class/net/"${netif}"/address).up" fi ;; RENEW | REBIND) -- setup_interface6 set | while read -r line || [ -n "$line" ]; do [ "${line#new_}" = "$line" ] && continue echo "$line" done > /tmp/dhclient."$netif".dhcpopts { echo '. /lib/net-lib.sh' echo "setup_net $netif" echo "source_hook initqueue/online $netif" [ -e /tmp/net."$netif".manualup ] || echo "/sbin/netroot $netif" echo "rm -f -- $hookdir/initqueue/setup_net_$netif.sh" } > "$hookdir"/initqueue/setup_net_"$netif".sh echo "[ -f /tmp/net.$netif.did-setup ]" > "$hookdir"/initqueue/finished/dhclient-"$netif".sh : > /tmp/net."$netif".up if [ -e /sys/class/net/"${netif}"/address ]; then : > "/tmp/net.$(cat /sys/class/net/"${netif}"/address).up" fi ;; RENEW6 | REBIND6) unset lease_time Found error in /usr/lib/dracut/modules.d/35network-legacy/parse-team.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/35network-legacy/parse-team.sh { echo "teammaster=$teammaster" echo "teamslaves=\"$teamslaves\"" echo "teamrunner=\"$teamrunner\"" } > /tmp/team."${teammaster}".info if ! [ -e /etc/teamd/"${teammaster}".conf ]; then warn "Team master $teammaster specified, but no /etc/teamd/$teammaster.conf present. Using $teamrunner." mkdir -p /etc/teamd printf -- "%s" "{\"runner\": {\"name\": \"$teamrunner\"}, \"link_watch\": {\"name\": \"ethtool\"}}" > "/tmp/${teammaster}.conf" fi done Found error in /usr/lib/dracut/modules.d/35network-legacy/parse-bridge.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/35network-legacy/parse-bridge.sh bridgeslaves=$iface fi { echo "bridgename=$bridgename" echo "bridgeslaves=\"$bridgeslaves\"" } > /tmp/bridge.${bridgename}.info done
shaba dracut-network-manager-055-alt3.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/dracut/modules.d/35network-manager/nm-run.sh: $ grep -A5 -B5 /tmp/ /usr/lib/dracut/modules.d/35network-manager/nm-run.sh #!/bin/sh type source_hook > /dev/null 2>&1 || . /lib/dracut-lib.sh if [ -e /tmp/nm.done ]; then return fi if [ -z "$DRACUT_SYSTEMD" ]; then # Only start NM if networking is needed -- for _i in /sys/class/net/*; do state=/run/NetworkManager/devices/$(cat "$_i"/ifindex) grep -q connection-uuid= "$state" 2> /dev/null || continue ifname=${_i##*/} sed -n 's/root-path/new_root_path/p;s/next-server/new_next_server/p' < "$state" > /tmp/dhclient."$ifname".dhcpopts source_hook initqueue/online "$ifname" /sbin/netroot "$ifname" done : > /tmp/nm.done
shrek tuned-2.16.0-alt1.noarch init-lsb warn /etc/rc.d/init.d/tuned: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
vt burp-2.5.4-alt1.src specfile-useradd-n warn -n in useradd is compat option and can be removed any time. Use -N instead.
vt capnproto-libs-0.8.0-alt3.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
vt cpupower-5.14-alt1.x86_64 rpm-obsolete-live-package info The package obsoletes the package cpufrequtils-008-alt3.x86_64, but the package cpufrequtils-008-alt3.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.
vt dkms-2.8.3-alt4.noarch checkbashisms experimental checkbashisms utility found possible bashisms in: /etc/rc.d/init.d/dkms
vt dkms-2.8.3-alt4.noarch init-condrestart fail /etc/rc.d/init.d/dkms: 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/dkms: missing condstop target. ERROR: alt-specific script %_sbindir/preun_service (used in your %preun_service macro) depends on condstop. Please, fix.
vt findsym-1.2-alt2.noarch missing-url info Missing Url: in a package.
vt girar-summary-1.9-alt1.x86_64 missing-url info Missing Url: in a package.
vt girar-summary-debuginfo-1.9-alt1.x86_64 missing-url info Missing Url: in a package.
vt ispc-1.16.1-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.
vt kernel-headers-modules-xenomai-4.19.192-alt3.cip50.18.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/src/linux-4.19.192-xenomai-alt3.cip50.18/tools/testing/selftests/intel_pstate/run.sh: $ grep -A5 -B5 /tmp/ /usr/src/linux-4.19.192-xenomai-alt3.cip50.18/tools/testing/selftests/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 lib usr max_freq)) EOF done # print the table pr -aTt -5 < /tmp/result.tab exit 0 Found error in /usr/src/linux-4.19.192-xenomai-alt3.cip50.18/samples/bpf/test_cgrp2_sock2.sh: $ grep -A5 -B5 /tmp/ /usr/src/linux-4.19.192-xenomai-alt3.cip50.18/samples/bpf/test_cgrp2_sock2.sh ip addr add 172.16.1.101/24 dev veth0b ip addr add 2401:db00::2/64 dev veth0b nodad } function config_cgroup { rm -rf /tmp/cgroupv2 mkdir -p /tmp/cgroupv2 mount -t cgroup2 none /tmp/cgroupv2 mkdir -p /tmp/cgroupv2/foo echo $$ >> /tmp/cgroupv2/foo/cgroup.procs } function attach_bpf { test_cgrp2_sock2 /tmp/cgroupv2/foo sock_flags_kern.o $1 [ $? -ne 0 ] && exit 1 } function cleanup { if [ -d /tmp/cgroupv2/foo ]; then test_cgrp2_sock -d /tmp/cgroupv2/foo fi ip link del veth0b ip netns delete at_ns0 umount /tmp/cgroupv2 rm -rf /tmp/cgroupv2 } cleanup 2>/dev/null set -e
vt kernel-headers-xenomai-4.19.192-alt3.cip50.18.x86_64 buildroot fail found paths to buildroot: /usr/include/linux-4.19.192-xenomai/include/rdma/hfi/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/rdma/hfi/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/rdma/hfi ./include/uapi/rdma/hfi hfi1_ioctl.h hfi1_user.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/rdma/hfi ./include/generated/uapi/rdma/hfi ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/rdma/hfi/.install /usr/include/linux-4.19.192-xenomai/include/rdma/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/rdma/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/rdma ./include/uapi/rdma bnxt_re-abi.h cxgb3-abi.h cxgb4-abi.h hns-abi.h i40iw-abi.h ib_user_cm.h ib_user_ioctl_cmds.h ib_user_ioctl_verbs.h ib_user_mad.h ib_user_sa.h ib_user_verbs.h mlx4-abi.h mlx5-abi.h mlx5_user_ioctl_cmds.h mlx5_user_ioctl_verbs.h mthca-abi.h nes-abi.h ocrdma-abi.h qedr-abi.h rdma_netlink.h rdma_user_cm.h rdma_user_ioctl.h rdma_user_ioctl_cmds.h rdma_user_rxe.h vmw_pvrdma-abi.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/rdma ./include/generated/uapi/rdma ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/rdma/.install /usr/include/linux-4.19.192-xenomai/include/sound/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/sound/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/sound ./include/uapi/sound asequencer.h asoc.h asound.h asound_fm.h compress_offload.h compress_params.h emu10k1.h firewire.h hdsp.h hdspm.h sb16_csp.h sfnt_info.h skl-tplg-interface.h snd_sst_tokens.h tlv.h usb_stream.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/sound ./include/generated/uapi/sound ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/sound/.install /usr/include/linux-4.19.192-xenomai/include/xen/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/xen/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/xen ./include/uapi/xen evtchn.h gntalloc.h gntdev.h privcmd.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/xen ./include/generated/uapi/xen ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/xen/.install /usr/include/linux-4.19.192-xenomai/include/mtd/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/mtd/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/mtd ./include/uapi/mtd inftl-user.h mtd-abi.h mtd-user.h nftl-user.h ubi-user.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/mtd ./include/generated/uapi/mtd ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/mtd/.install /usr/include/linux-4.19.192-xenomai/include/linux/tc_act/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/tc_act/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/tc_act ./include/uapi/linux/tc_act tc_bpf.h tc_connmark.h tc_csum.h tc_defact.h tc_gact.h tc_ife.h tc_ipt.h tc_mirred.h tc_nat.h tc_pedit.h tc_sample.h tc_skbedit.h tc_skbmod.h tc_tunnel_key.h tc_vlan.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/tc_act ./include/generated/uapi/linux/tc_act ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/tc_act/.install /usr/include/linux-4.19.192-xenomai/include/linux/nfsd/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/nfsd/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/nfsd ./include/uapi/linux/nfsd cld.h debug.h export.h nfsfh.h stats.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/nfsd ./include/generated/uapi/linux/nfsd ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/nfsd/.install /usr/include/linux-4.19.192-xenomai/include/linux/hsi/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/hsi/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/hsi ./include/uapi/linux/hsi cs-protocol.h hsi_char.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/hsi ./include/generated/uapi/linux/hsi ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/hsi/.install /usr/include/linux-4.19.192-xenomai/include/linux/sched/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/sched/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/sched ./include/uapi/linux/sched types.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/sched ./include/generated/uapi/linux/sched ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/sched/.install /usr/include/linux-4.19.192-xenomai/include/linux/cifs/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/cifs/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/cifs ./include/uapi/linux/cifs cifs_mount.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/cifs ./include/generated/uapi/linux/cifs ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/cifs/.install /usr/include/linux-4.19.192-xenomai/include/linux/byteorder/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/byteorder/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/byteorder ./include/uapi/linux/byteorder big_endian.h little_endian.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/byteorder ./include/generated/uapi/linux/byteorder ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/byteorder/.install /usr/include/linux-4.19.192-xenomai/include/linux/tc_ematch/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/tc_ematch/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/tc_ematch ./include/uapi/linux/tc_ematch tc_em_cmp.h tc_em_ipt.h tc_em_meta.h tc_em_nbyte.h tc_em_text.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/tc_ematch ./include/generated/uapi/linux/tc_ematch ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/tc_ematch/.install /usr/include/linux-4.19.192-xenomai/include/linux/usb/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/usb/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/usb ./include/uapi/linux/usb audio.h cdc-wdm.h cdc.h ch11.h ch9.h charger.h functionfs.h g_printer.h g_uvc.h gadgetfs.h midi.h tmc.h video.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/usb ./include/generated/uapi/linux/usb ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/usb/.install /usr/include/linux-4.19.192-xenomai/include/linux/android/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/android/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/android ./include/uapi/linux/android binder.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/android ./include/generated/uapi/linux/android ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/android/.install /usr/include/linux-4.19.192-xenomai/include/linux/isdn/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/isdn/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/isdn ./include/uapi/linux/isdn capicmd.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/isdn ./include/generated/uapi/linux/isdn ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/isdn/.install /usr/include/linux-4.19.192-xenomai/include/linux/netfilter_ipv6/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter_ipv6/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter_ipv6 ./include/uapi/linux/netfilter_ipv6 ip6_tables.h ip6t_HL.h ip6t_LOG.h ip6t_NPT.h ip6t_REJECT.h ip6t_ah.h ip6t_frag.h ip6t_hl.h ip6t_ipv6header.h ip6t_mh.h ip6t_opts.h ip6t_rt.h ip6t_srh.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter_ipv6 ./include/generated/uapi/linux/netfilter_ipv6 ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter_ipv6/.install /usr/include/linux-4.19.192-xenomai/include/linux/can/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/can/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/can ./include/uapi/linux/can bcm.h error.h gw.h netlink.h raw.h vxcan.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/can ./include/generated/uapi/linux/can ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/can/.install /usr/include/linux-4.19.192-xenomai/include/linux/genwqe/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/genwqe/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/genwqe ./include/uapi/linux/genwqe genwqe_card.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/genwqe ./include/generated/uapi/linux/genwqe ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/genwqe/.install /usr/include/linux-4.19.192-xenomai/include/linux/sunrpc/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/sunrpc/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/sunrpc ./include/uapi/linux/sunrpc debug.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/sunrpc ./include/generated/uapi/linux/sunrpc ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/sunrpc/.install /usr/include/linux-4.19.192-xenomai/include/linux/hdlc/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/hdlc/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/hdlc ./include/uapi/linux/hdlc ioctl.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/hdlc ./include/generated/uapi/linux/hdlc ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/hdlc/.install /usr/include/linux-4.19.192-xenomai/include/linux/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux ./include/uapi/linux a.out.h acct.h adb.h adfs_fs.h affs_hardblocks.h agpgart.h aio_abi.h am437x-vpfe.h apm_bios.h arcfb.h arm_sdei.h aspeed-lpc-ctrl.h atalk.h atm.h atm_eni.h atm_he.h atm_idt77105.h atm_nicstar.h atm_tcp.h atm_zatm.h atmapi.h atmarp.h atmbr2684.h atmclip.h atmdev.h atmioc.h atmlec.h atmmpc.h atmppp.h atmsap.h atmsvc.h audit.h auto_dev-ioctl.h auto_fs.h auto_fs4.h auxvec.h ax25.h b1lli.h batadv_packet.h batman_adv.h baycom.h bcache.h bcm933xx_hcs.h bfs_fs.h binfmts.h blkpg.h blktrace_api.h blkzoned.h bpf.h bpf_common.h bpf_perf_event.h bpfilter.h bpqether.h bsg.h bt-bmc.h btf.h btrfs.h btrfs_tree.h can.h capability.h capi.h cciss_defs.h cciss_ioctl.h cdrom.h cec-funcs.h cec.h cgroupstats.h chio.h cm4000_cs.h cn_proc.h coda.h coda_psdev.h coff.h connector.h const.h coresight-stm.h cramfs_fs.h cryptouser.h cuda.h cyclades.h cycx_cfm.h dcbnl.h dccp.h devlink.h dlm.h dlm_device.h dlm_netlink.h dlm_plock.h dlmconstants.h dm-ioctl.h dm-log-userspace.h dma-buf.h dn.h dqblk_xfs.h edd.h efs_fs_sb.h elf-em.h elf-fdpic.h elf.h elfcore.h errno.h errqueue.h erspan.h ethtool.h eventpoll.h fadvise.h falloc.h fanotify.h fb.h fcntl.h fd.h fdreg.h fib_rules.h fiemap.h filter.h firewire-cdev.h firewire-constants.h flat.h fou.h fpga-dfl.h fs.h fsi.h fsl_hypervisor.h fsmap.h fuse.h futex.h gameport.h gen_stats.h genetlink.h gfs2_ondisk.h gigaset_dev.h gpio.h gsmmux.h gtp.h hash_info.h hdlc.h hdlcdrv.h hdreg.h hid.h hiddev.h hidraw.h hpet.h hsr_netlink.h hw_breakpoint.h hyperv.h hysdn_if.h i2c-dev.h i2c.h i2o-dev.h i8k.h icmp.h icmpv6.h if.h if_addr.h if_addrlabel.h if_alg.h if_arcnet.h if_arp.h if_bonding.h if_bridge.h if_cablemodem.h if_eql.h if_ether.h if_fc.h if_fddi.h if_frad.h if_hippi.h if_infiniband.h if_link.h if_ltalk.h if_macsec.h if_packet.h if_phonet.h if_plip.h if_ppp.h if_pppol2tp.h if_pppox.h if_slip.h if_team.h if_tun.h if_tunnel.h if_vlan.h if_x25.h if_xdp.h ife.h igmp.h ila.h in.h in6.h in_route.h inet_diag.h inotify.h input-event-codes.h input.h ioctl.h ip.h ip6_tunnel.h ip_vs.h ipc.h ipmi.h ipmi_bmc.h ipmi_msgdefs.h ipsec.h ipv6.h ipv6_route.h ipx.h irqnr.h isdn.h isdn_divertif.h isdn_ppp.h isdnif.h iso_fs.h ivtv.h ivtvfb.h jffs2.h joystick.h kcm.h kcmp.h kcov.h kd.h kdev_t.h kernel-page-flags.h kernel.h kernelcapi.h kexec.h keyboard.h keyctl.h kfd_ioctl.h kvm.h kvm_para.h l2tp.h libc-compat.h lightnvm.h limits.h lirc.h llc.h loop.h lp.h lwtunnel.h magic.h major.h map_to_7segment.h matroxfb.h max2175.h mdio.h media-bus-format.h media.h mei.h membarrier.h memfd.h mempolicy.h meye.h mic_common.h mic_ioctl.h mii.h minix_fs.h mman.h mmtimer.h module.h mpls.h mpls_iptunnel.h mqueue.h mroute.h mroute6.h msdos_fs.h msg.h mtio.h n_r3964.h nbd-netlink.h nbd.h ncsi.h ndctl.h neighbour.h net.h net_dropmon.h net_namespace.h net_tstamp.h netconf.h netdevice.h netfilter.h netfilter_arp.h netfilter_bridge.h netfilter_decnet.h netfilter_ipv4.h netfilter_ipv6.h netlink.h netlink_diag.h netrom.h nfc.h nfs.h nfs2.h nfs3.h nfs4.h nfs4_mount.h nfs_fs.h nfs_idmap.h nfs_mount.h nfsacl.h nilfs2_api.h nilfs2_ondisk.h nl80211.h nsfs.h nubus.h nvme_ioctl.h nvram.h omap3isp.h omapfb.h oom.h openvswitch.h packet_diag.h param.h parport.h patchkey.h pci.h pci_regs.h pcitest.h perf_event.h personality.h pfkeyv2.h pg.h phantom.h phonet.h pkt_cls.h pkt_sched.h pktcdvd.h pmu.h poll.h posix_acl.h posix_acl_xattr.h posix_types.h ppdev.h ppp-comp.h ppp-ioctl.h ppp_defs.h pps.h pr.h prctl.h psample.h psci.h psp-sev.h ptp_clock.h ptrace.h qemu_fw_cfg.h qnx4_fs.h qnxtypes.h qrtr.h quota.h radeonfb.h random.h raw.h rds.h reboot.h reiserfs_fs.h reiserfs_xattr.h resource.h rfkill.h rio_cm_cdev.h rio_mport_cdev.h romfs_fs.h rose.h route.h rpmsg.h rseq.h rtc.h rtnetlink.h rxrpc.h scc.h sched.h scif_ioctl.h screen_info.h sctp.h sdla.h seccomp.h securebits.h sed-opal.h seg6.h seg6_genl.h seg6_hmac.h seg6_iptunnel.h seg6_local.h selinux_netlink.h sem.h serial.h serial_core.h serial_reg.h serio.h shm.h signal.h signalfd.h smc.h smc_diag.h smiapp.h snmp.h sock_diag.h socket.h sockios.h sonet.h sonypi.h sound.h soundcard.h stat.h stddef.h stm.h string.h suspend_ioctls.h swab.h switchtec_ioctl.h sync_file.h synclink.h sysctl.h sysinfo.h target_core_user.h taskstats.h tcp.h tcp_metrics.h tee.h termios.h thermal.h time.h timerfd.h times.h timex.h tiocl.h tipc.h tipc_config.h tipc_netlink.h tipc_sockets_diag.h tls.h toshiba.h tty.h tty_flags.h types.h udf_fs_i.h udp.h uhid.h uinput.h uio.h uleds.h ultrasound.h un.h unistd.h unix_diag.h usbdevice_fs.h usbip.h userfaultfd.h userio.h utime.h utsname.h uuid.h uvcvideo.h v4l2-common.h v4l2-controls.h v4l2-dv-timings.h v4l2-mediabus.h v4l2-subdev.h vbox_err.h vbox_vmmdev_types.h vboxguest.h veth.h vfio.h vfio_ccw.h vhost.h videodev2.h virtio_9p.h virtio_balloon.h virtio_blk.h virtio_config.h virtio_console.h virtio_crypto.h virtio_gpu.h virtio_ids.h virtio_input.h virtio_mmio.h virtio_net.h virtio_pci.h virtio_ring.h virtio_rng.h virtio_scsi.h virtio_types.h virtio_vsock.h vm_sockets.h vm_sockets_diag.h vmcore.h vsockmon.h vt.h vtpm_proxy.h wait.h wanrouter.h watchdog.h wimax.h wireless.h wmi.h x25.h xattr.h xfrm.h xilinx-v4l2-controls.h zorro.h zorro_ids.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux ./include/generated/uapi/linux version.h; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/.install /usr/include/linux-4.19.192-xenomai/include/linux/wimax/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/wimax/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/wimax ./include/uapi/linux/wimax i2400m.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/wimax ./include/generated/uapi/linux/wimax ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/wimax/.install /usr/include/linux-4.19.192-xenomai/include/linux/netfilter_ipv4/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter_ipv4/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter_ipv4 ./include/uapi/linux/netfilter_ipv4 ip_tables.h ipt_CLUSTERIP.h ipt_ECN.h ipt_LOG.h ipt_REJECT.h ipt_TTL.h ipt_ah.h ipt_ecn.h ipt_ttl.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter_ipv4 ./include/generated/uapi/linux/netfilter_ipv4 ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter_ipv4/.install /usr/include/linux-4.19.192-xenomai/include/linux/dvb/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/dvb/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/dvb ./include/uapi/linux/dvb audio.h ca.h dmx.h frontend.h net.h osd.h version.h video.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/dvb ./include/generated/uapi/linux/dvb ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/dvb/.install /usr/include/linux-4.19.192-xenomai/include/linux/netfilter_arp/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter_arp/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter_arp ./include/uapi/linux/netfilter_arp arp_tables.h arpt_mangle.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter_arp ./include/generated/uapi/linux/netfilter_arp ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter_arp/.install /usr/include/linux-4.19.192-xenomai/include/linux/netfilter_bridge/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter_bridge/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter_bridge ./include/uapi/linux/netfilter_bridge ebt_802_3.h ebt_among.h ebt_arp.h ebt_arpreply.h ebt_ip.h ebt_ip6.h ebt_limit.h ebt_log.h ebt_mark_m.h ebt_mark_t.h ebt_nat.h ebt_nflog.h ebt_pkttype.h ebt_redirect.h ebt_stp.h ebt_vlan.h ebtables.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter_bridge ./include/generated/uapi/linux/netfilter_bridge ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter_bridge/.install /usr/include/linux-4.19.192-xenomai/include/linux/caif/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/caif/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/caif ./include/uapi/linux/caif caif_socket.h if_caif.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/caif ./include/generated/uapi/linux/caif ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/caif/.install /usr/include/linux-4.19.192-xenomai/include/linux/spi/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/spi/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/spi ./include/uapi/linux/spi spidev.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/spi ./include/generated/uapi/linux/spi ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/spi/.install /usr/include/linux-4.19.192-xenomai/include/linux/netfilter/ipset/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter/ipset/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter/ipset ./include/uapi/linux/netfilter/ipset ip_set.h ip_set_bitmap.h ip_set_hash.h ip_set_list.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter/ipset ./include/generated/uapi/linux/netfilter/ipset ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter/ipset/.install /usr/include/linux-4.19.192-xenomai/include/linux/netfilter/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter ./include/uapi/linux/netfilter nf_conntrack_common.h nf_conntrack_ftp.h nf_conntrack_sctp.h nf_conntrack_tcp.h nf_conntrack_tuple_common.h nf_log.h nf_nat.h nf_tables.h nf_tables_compat.h nfnetlink.h nfnetlink_acct.h nfnetlink_compat.h nfnetlink_conntrack.h nfnetlink_cthelper.h nfnetlink_cttimeout.h nfnetlink_log.h nfnetlink_osf.h nfnetlink_queue.h x_tables.h xt_AUDIT.h xt_CHECKSUM.h xt_CLASSIFY.h xt_CONNMARK.h xt_CONNSECMARK.h xt_CT.h xt_DSCP.h xt_HMARK.h xt_IDLETIMER.h xt_LED.h xt_LOG.h xt_MARK.h xt_NFLOG.h xt_NFQUEUE.h xt_RATEEST.h xt_SECMARK.h xt_SYNPROXY.h xt_TCPMSS.h xt_TCPOPTSTRIP.h xt_TEE.h xt_TPROXY.h xt_addrtype.h xt_bpf.h xt_cgroup.h xt_cluster.h xt_comment.h xt_connbytes.h xt_connlabel.h xt_connlimit.h xt_connmark.h xt_conntrack.h xt_cpu.h xt_dccp.h xt_devgroup.h xt_dscp.h xt_ecn.h xt_esp.h xt_hashlimit.h xt_helper.h xt_ipcomp.h xt_iprange.h xt_ipvs.h xt_l2tp.h xt_length.h xt_limit.h xt_mac.h xt_mark.h xt_multiport.h xt_nfacct.h xt_osf.h xt_owner.h xt_physdev.h xt_pkttype.h xt_policy.h xt_quota.h xt_rateest.h xt_realm.h xt_recent.h xt_rpfilter.h xt_sctp.h xt_set.h xt_socket.h xt_state.h xt_statistic.h xt_string.h xt_tcpmss.h xt_tcpudp.h xt_time.h xt_u32.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter ./include/generated/uapi/linux/netfilter ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/netfilter/.install /usr/include/linux-4.19.192-xenomai/include/linux/mmc/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/mmc/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/mmc ./include/uapi/linux/mmc ioctl.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/mmc ./include/generated/uapi/linux/mmc ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/mmc/.install /usr/include/linux-4.19.192-xenomai/include/linux/raid/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/raid/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/raid ./include/uapi/linux/raid md_p.h md_u.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/raid ./include/generated/uapi/linux/raid ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/raid/.install /usr/include/linux-4.19.192-xenomai/include/linux/iio/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/iio/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/iio ./include/uapi/linux/iio events.h types.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/iio ./include/generated/uapi/linux/iio ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/linux/iio/.install /usr/include/linux-4.19.192-xenomai/include/video/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/video/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/video ./include/uapi/video edid.h sisfb.h uvesafb.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/video ./include/generated/uapi/video ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/video/.install /usr/include/linux-4.19.192-xenomai/include/scsi/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/scsi/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/scsi ./include/uapi/scsi cxlflash_ioctl.h scsi_bsg_fc.h scsi_netlink.h scsi_netlink_fc.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/scsi ./include/generated/uapi/scsi ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/scsi/.install /usr/include/linux-4.19.192-xenomai/include/scsi/fc/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/scsi/fc/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/scsi/fc ./include/uapi/scsi/fc fc_els.h fc_fs.h fc_gs.h fc_ns.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/scsi/fc ./include/generated/uapi/scsi/fc ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/scsi/fc/.install /usr/include/linux-4.19.192-xenomai/include/drm/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/drm/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/drm ./include/uapi/drm amdgpu_drm.h armada_drm.h drm.h drm_fourcc.h drm_mode.h drm_sarea.h etnaviv_drm.h exynos_drm.h i810_drm.h i915_drm.h mga_drm.h msm_drm.h nouveau_drm.h omap_drm.h qxl_drm.h r128_drm.h radeon_drm.h savage_drm.h sis_drm.h tegra_drm.h v3d_drm.h vc4_drm.h vgem_drm.h via_drm.h virtgpu_drm.h vmwgfx_drm.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/drm ./include/generated/uapi/drm ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/drm/.install /usr/include/linux-4.19.192-xenomai/include/asm-generic/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/asm-generic/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/asm-generic ./include/uapi/asm-generic auxvec.h bitsperlong.h bpf_perf_event.h errno-base.h errno.h fcntl.h hugetlb_encode.h int-l64.h int-ll64.h ioctl.h ioctls.h ipcbuf.h kvm_para.h mman-common.h mman.h msgbuf.h param.h poll.h posix_types.h resource.h sembuf.h setup.h shmbuf.h shmparam.h siginfo.h signal-defs.h signal.h socket.h sockios.h stat.h statfs.h swab.h termbits.h termios.h types.h ucontext.h unistd.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/asm-generic ./include/generated/uapi/asm-generic ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/asm-generic/.install /usr/include/linux-4.19.192-xenomai/include/misc/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/misc/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/misc ./include/uapi/misc cxl.h ocxl.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/misc ./include/generated/uapi/misc ; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/misc/.install /usr/include/linux-4.19.192-xenomai/include/asm/..install.cmd: cmd_/usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/asm/.install := /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/asm ./arch/x86/include/uapi/asm a.out.h auxvec.h bitsperlong.h boot.h bootparam.h byteorder.h debugreg.h e820.h errno.h fcntl.h hw_breakpoint.h hwcap2.h ioctl.h ioctls.h ipcbuf.h ist.h kvm.h kvm_para.h kvm_perf.h ldt.h mce.h mman.h msgbuf.h msr.h mtrr.h param.h perf_regs.h posix_types.h posix_types_32.h posix_types_64.h posix_types_x32.h prctl.h processor-flags.h ptrace-abi.h ptrace.h resource.h sembuf.h setup.h shmbuf.h sigcontext.h sigcontext32.h siginfo.h signal.h socket.h sockios.h stat.h statfs.h svm.h swab.h termbits.h termios.h types.h ucontext.h unistd.h vm86.h vmx.h vsyscall.h; /bin/sh scripts/headers_install.sh /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/asm ./arch/x86/include/generated/uapi/asm bpf_perf_event.h poll.h unistd_32.h unistd_64.h unistd_x32.h; touch /usr/src/tmp/kernel-image-xenomai-buildroot/usr/include/linux-4.19.192-xenomai/include/asm/.install
vt kernel-modules-lkrg-std-debug-0.9.1.0.19.git51ea889-alt1.330304.1.src unmet-dependency-build-no-suitable-version fail build dependency kernel-headers-modules-std-debug has no suitable version.
vt kernel-modules-lkrg-std-debug-0.9.1.0.19.git51ea889-alt1.330304.1.x86_64 init-lsb warn /etc/rc.d/init.d/lkrg-5.10.64-std-debug-alt1: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
vt kernelshark-2.9.1-alt5.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).
vt kselftests-5.14-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/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 Found error in /usr/lib/kselftests/net/mptcp/mptcp_connect.sh: $ grep -A5 -B5 /tmp/ /usr/lib/kselftests/net/mptcp/mptcp_connect.sh rm -f "$capout" local netns for netns in "$ns1" "$ns2" "$ns3" "$ns4";do ip netns del $netns rm -f /tmp/$netns.{nstat,out} done } ip -Version > /dev/null 2>&1 if [ $? -ne 0 ];then -- 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=$(get_mib_counter "${listener_ns}" "MPTcpExtMPCapableSYNRX") local stat_ackrx_last_l=$(get_mib_counter "${listener_ns}" "MPTcpExtMPCapableACKRX") -- 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)) printf "(duration %05sms) " "${duration}" if [ ${rets} -ne 0 ] || [ ${retc} -ne 0 ]; then echo "[ FAIL ] client exit code $retc, server $rets" 1>&2 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" return 1 fi Found error in /usr/lib/kselftests/net/mptcp/mptcp_join.sh: $ grep -A5 -B5 /tmp/ /usr/lib/kselftests/net/mptcp/mptcp_join.sh { rm -f "$capout" for netns in "$ns1" "$ns2"; do ip netns del $netns rm -f /tmp/$netns.{nstat,out} done } cleanup() { -- cappid=$! sleep 1 fi NSTAT_HISTORY=/tmp/${listener_ns}.nstat ip netns exec ${listener_ns} \ nstat -n NSTAT_HISTORY=/tmp/${connector_ns}.nstat ip netns exec ${connector_ns} \ nstat -n if [ $speed = "fast" ]; then mptcp_connect="./mptcp_connect -j" elif [ $speed = "slow" ]; then -- if [ $capture -eq 1 ]; 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 echo " client exit code $retc, server $rets" 1>&2 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" ret=1 return 1 fi
vt libcpupower-devel-5.14-alt1.x86_64 rpm-filesystem-conflict-file-file warn File /usr/include/cpufreq.h conflicts with the package libcpufreq-devel-008-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.
vt ltp-20210524-alt4.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/ltp/testcases/bin/smack_file_access.sh: $ grep -A5 -B5 /tmp/ /usr/lib/ltp/testcases/bin/smack_file_access.sh testfile="testfile" tst_tmpdir TST_CLEANUP=cleanup smack_notroot /bin/sh -c "echo InitialData 2>/tmp/smack_fail.log > $testfile" if [ ! -f "$testfile" ]; then tst_brkm TFAIL "Test file \"$testfile\" can not be created." fi setfattr --name=security.SMACK64 --value=TheOther "$testfile" Found error in /usr/lib/ltp/testcases/bin/sched_stress.sh: $ grep -A5 -B5 /tmp/ /usr/lib/ltp/testcases/bin/sched_stress.sh # their bootfiles other locations. export KERNEL=./sched_datafile touch $KERNEL echo 0.000000 > sch.measure export RAWDEV=`df / | grep dev | awk {'print $1'}` sched_driver -s 0.9 -t 0.02 -p 2 > /tmp/tmp$$ tail -n 5 /tmp/tmp$$ rm -rf /tmp/tmp$$ ./sched_datafile sch.measure Found error in /usr/lib/ltp/testcases/bin/run_cpuctl_test_fj.sh: $ grep -A5 -B5 /tmp/ /usr/lib/ltp/testcases/bin/run_cpuctl_test_fj.sh export TCID="cpuctl_test_fj" export TST_TOTAL=22 export TST_COUNT=1 CPUCTL="/dev/cpuctl" CPUCTL_TMP="/tmp/cpuctl_tmp" SLEEP_SEC=5 # Create $CPUCTL & mount the cgroup file system with cpu controller # clean any group created earlier (if any) setup() -- then tst_resm TFAIL "Err: Init value is not 1024" return 1; fi ps -eo pid,rtprio > /tmp/pids_file1 & pspid=$! wait $pspid cat /tmp/pids_file1 | grep '-' | tr -d '-' | tr -d ' ' | \ grep -v "$pspid" > /tmp/pids_file2 while read pid do task=`cat $CPUCTL/tasks | grep "\b$pid\b"` if [ -z $task ] then tst_resm TFAIL "Err: Some normal tasks aren't in the root group" return 1 fi done < /tmp/pids_file2 } # create a child directory case2 () { -- return 1; fi [ -d "$CPUCTL/tmp" ] || return 1 [ -f "$CPUCTL/tmp/cpu.shares" ] || return 1 shares=`cat $CPUCTL/tmp/cpu.shares` if [ $shares -ne 1024 ] then return 1; fi task=`cat $CPUCTL/tmp/tasks` if [ "$task" != "" ] then return 1 fi } -- if [ $? -ne 0 ] then return 1; fi mkdir $CPUCTL/tmp/tmp1 if [ $? -ne 0 ] then return 1; fi [ -d "$CPUCTL/tmp/tmp1" ] || return 1 [ -f "$CPUCTL/tmp/tmp1/cpu.shares" ] || return 1 shares=`cat $CPUCTL/tmp/tmp1/cpu.shares` if [ $shares -ne 1024 ] then return 1; fi task=`cat $CPUCTL/tmp/tmp1/tasks` if [ "$task" != "" ] then return 1 fi } -- if [ $? -ne 0 ] then return 1; fi echo 1 > $CPUCTL/tmp/tasks if [ $? -ne 0 ] then return 1; fi tasks=`cat $CPUCTL/tmp/tasks` if [ $tasks -ne 1 ] then return 1; fi } -- if [ $? -ne 0 ] then return 1; fi ./cpuctl_fj_simple_echo 3 $CPUCTL/tmp/tasks if [ $? -ne 22 ] # define EINVAL 22 /ALT /bin /boot /dev /etc /home /lib /lib64 /libx32 /media /mnt /opt /proc /root /run /sbin /selinux /srv /sys /tmp /usr /var Invalid argument usr/ then return 1; fi tasks=`cat $CPUCTL/tmp/tasks` if [ "$tasks" != "" ] then return 1; fi } -- # echo negative into shares case7 () { mkdir $CPUCTL/tmp ./cpuctl_fj_simple_echo -1 $CPUCTL/tmp/cpu.shares if [ $? -ne 22 ] # define EINVAL 22 /ALT /bin /boot /dev /etc /home /lib /lib64 /libx32 /media /mnt /opt /proc /root /run /sbin /selinux /srv /sys /tmp /usr /var Invalid argument usr/ then return 1; fi shares=`cat $CPUCTL/tmp/cpu.shares` if [ $shares -ne 1024 ] then return 1; fi ./cpuctl_fj_cpu-hog & pid=$! echo $pid > $CPUCTL/tmp/tasks /bin/kill -s SIGUSR1 $pid sleep $SLEEP_SEC /bin/kill -s SIGUSR1 $pid wait $pid -- # echo 0 into shares case8 () { mkdir $CPUCTL/tmp echo 0 > $CPUCTL/tmp/cpu.shares if [ $? -ne 0 ] then return 1; fi shares=`cat $CPUCTL/tmp/cpu.shares` if [ $shares -ne 2 ] then return 1; fi ./cpuctl_fj_cpu-hog & pid=$! echo $pid > $CPUCTL/tmp/tasks /bin/kill -s SIGUSR1 $pid sleep $SLEEP_SEC /bin/kill -s SIGUSR1 $pid wait $pid -- # echo 1 into shares case9 () { mkdir $CPUCTL/tmp echo 1 > $CPUCTL/tmp/cpu.shares if [ $? -ne 0 ] then return 1; fi shares=`cat $CPUCTL/tmp/cpu.shares` if [ $shares -ne 2 ] then return 1; fi ./cpuctl_fj_cpu-hog & pid=$! echo $pid > $CPUCTL/tmp/tasks /bin/kill -s SIGUSR1 $pid sleep $SLEEP_SEC /bin/kill -s SIGUSR1 $pid wait $pid -- # echo 2 into shares case10 () { mkdir $CPUCTL/tmp echo 2 > $CPUCTL/tmp/cpu.shares if [ $? -ne 0 ] then return 1; fi shares=`cat $CPUCTL/tmp/cpu.shares` if [ $shares -ne 2 ] then return 1; fi ./cpuctl_fj_cpu-hog & pid=$! echo $pid > $CPUCTL/tmp/tasks /bin/kill -s SIGUSR1 $pid sleep $SLEEP_SEC /bin/kill -s SIGUSR1 $pid wait $pid -- # echo 3 into shares case11 () { mkdir $CPUCTL/tmp echo 3 > $CPUCTL/tmp/cpu.shares if [ $? -ne 0 ] then return 1; fi shares=`cat $CPUCTL/tmp/cpu.shares` if [ $shares -ne 3 ] then return 1; fi ./cpuctl_fj_cpu-hog & pid=$! echo $pid > $CPUCTL/tmp/tasks /bin/kill -s SIGUSR1 $pid sleep $SLEEP_SEC /bin/kill -s SIGUSR1 $pid wait $pid -- # echo 2048 into shares case12 () { mkdir $CPUCTL/tmp echo 2048 > $CPUCTL/tmp/cpu.shares if [ $? -ne 0 ] then return 1; fi shares=`cat $CPUCTL/tmp/cpu.shares` if [ $shares -ne 2048 ] then return 1; fi ./cpuctl_fj_cpu-hog & pid=$! echo $pid > $CPUCTL/tmp/tasks /bin/kill -s SIGUSR1 $pid sleep $SLEEP_SEC /bin/kill -s SIGUSR1 $pid wait $pid -- # echo MAX_SHARES into shares case13 () { mkdir $CPUCTL/tmp echo $max_shares > $CPUCTL/tmp/cpu.shares if [ $? -ne 0 ] then return 1; fi shares=`cat $CPUCTL/tmp/cpu.shares` if [ "$shares" != "$max_shares" ] then return 1; fi ./cpuctl_fj_cpu-hog & pid=$! echo $pid > $CPUCTL/tmp/tasks /bin/kill -s SIGUSR1 $pid sleep $SLEEP_SEC /bin/kill -s SIGUSR1 $pid wait $pid -- # echo MAX_SHARES+1 into shares case14 () { mkdir $CPUCTL/tmp echo $(($max_shares+1)) > $CPUCTL/tmp/cpu.shares if [ $? -ne 0 ] then return 1; fi shares=`cat $CPUCTL/tmp/cpu.shares` if [ "$shares" != "$max_shares" ] then return 1; fi ./cpuctl_fj_cpu-hog & pid=$! echo $pid > $CPUCTL/tmp/tasks /bin/kill -s SIGUSR1 $pid sleep $SLEEP_SEC /bin/kill -s SIGUSR1 $pid wait $pid -- # echo float number into shares case15 () { mkdir $CPUCTL/tmp ./cpuctl_fj_simple_echo 2048.23 $CPUCTL/tmp/cpu.shares if [ $? -ne 22 ] # define EINVAL 22 /ALT /bin /boot /dev /etc /home /lib /lib64 /libx32 /media /mnt /opt /proc /root /run /sbin /selinux /srv /sys /tmp /usr /var Invalid argument usr/ then return 1; fi shares=`cat $CPUCTL/tmp/cpu.shares` if [ $shares -ne 1024 ] then return 1; fi ./cpuctl_fj_cpu-hog & pid=$! echo $pid > $CPUCTL/tmp/tasks /bin/kill -s SIGUSR1 $pid sleep $SLEEP_SEC /bin/kill -s SIGUSR1 $pid wait $pid -- # charactor. case16 () { mkdir $CPUCTL/tmp ./cpuctl_fj_simple_echo 2048ABC $CPUCTL/tmp/cpu.shares if [ $? -ne 22 ] # define EINVAL 22 /ALT /bin /boot /dev /etc /home /lib /lib64 /libx32 /media /mnt /opt /proc /root /run /sbin /selinux /srv /sys /tmp /usr /var Invalid argument usr/ then return 1; fi shares=`cat $CPUCTL/tmp/cpu.shares` if [ $shares -ne 1024 ] then return 1; fi ./cpuctl_fj_cpu-hog & pid=$! echo $pid > $CPUCTL/tmp/tasks /bin/kill -s SIGUSR1 $pid sleep $SLEEP_SEC /bin/kill -s SIGUSR1 $pid wait $pid -- # echo a string into shares. This string begins with charactors. case17 () { mkdir $CPUCTL/tmp ./cpuctl_fj_simple_echo ABC $CPUCTL/tmp/cpu.shares if [ $? -ne 22 ] # define EINVAL 22 /ALT /bin /boot /dev /etc /home /lib /lib64 /libx32 /media /mnt /opt /proc /root /run /sbin /selinux /srv /sys /tmp /usr /var Invalid argument usr/ then return 1; fi shares=`cat $CPUCTL/tmp/cpu.shares` if [ $shares -ne 1024 ] then return 1; fi ./cpuctl_fj_cpu-hog & pid=$! echo $pid > $CPUCTL/tmp/tasks /bin/kill -s SIGUSR1 $pid sleep $SLEEP_SEC /bin/kill -s SIGUSR1 $pid wait $pid Found error in /usr/lib/ltp/testcases/bin/run_io_throttle_test.sh: $ grep -A5 -B5 /tmp/ /usr/lib/ltp/testcases/bin/run_io_throttle_test.sh echo "ERROR: could not set i/o bandwidth limit for cgroup-$i. Exiting test." cleanup exit 1 fi # exec i/o benchmark ./iobw -direct $tasks $BUFSIZE $DATASIZE > /tmp/$MYGROUP.out & PID[$i]=$! done /bin/echo $$ > /dev/blockioctl/tasks # wait for children completion -- if [ $ret -ne 0 ]; then echo "ERROR: error code $ret during test $tasks.$strategy.$i. Exiting test." cleanup exit 1 fi iorate=`grep parent /tmp/${MYGROUP}.out | awk '{print $7}'` diff=$((${IOBW[$i]} - $iorate)) echo "($MYGROUP) i/o-bw ${IOBW[$i]} KiB/s, i/o-rate $iorate KiB/s, err $diff KiB/s" if [ ${IOBW[$i]} -ge $iorate ]; then echo "TPASS Block device I/O bandwidth controller: test $tasks.$strategy.$i PASSED"; else
vt openquantumsafe-openssh-8.6p1.202108-alt2.src specfile-useradd-n warn -n in useradd is compat option and can be removed any time. Use -N instead.
vt openquantumsafe-openssh-clients-8.6p1.202108-alt2.x86_64 checkbashisms experimental checkbashisms utility found possible bashisms in: /usr/bin/rescp
vt openquantumsafe-openssh-server-8.6p1.202108-alt2.x86_64 checkbashisms experimental checkbashisms utility found possible bashisms in: /etc/rc.d/init.d/sshd
vt openquantumsafe-openssh-server-8.6p1.202108-alt2.x86_64 init-lsb warn /etc/rc.d/init.d/sshd: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
vt rpm-pesign-checkinstall-3-alt1.x86_64 checkbashisms experimental checkbashisms utility found possible bashisms in: /usr/bin/check-pesign-helper
vt rpm-pesign-checkinstall-3-alt1.x86_64 missing-url info Missing Url: in a package.
vt rtcheck-0.7.7-alt2.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.
vt rtcheck-0.7.7-alt2.x86_64 missing-url info Missing Url: in a package.
vt rtcheck-debuginfo-0.7.7-alt2.x86_64 missing-url info Missing Url: in a package.
vt sparse-0.6.4-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.
vt sslscan-2.0.10-alt1.x86_64 missing-url info Missing Url: in a package.
vt sslscan-debuginfo-2.0.10-alt1.x86_64 missing-url info Missing Url: in a package.
vt unit-1.25.0-alt1.src specfile-useradd-n warn -n in useradd is compat option and can be removed any time. Use -N instead.
vt unit-1.25.0-alt1.x86_64 checkbashisms experimental checkbashisms utility found possible bashisms in: /etc/rc.d/init.d/unit
vt unit-1.25.0-alt1.x86_64 init-condrestart fail /etc/rc.d/init.d/unit: missing condstop target. ERROR: alt-specific script %_sbindir/preun_service (used in your %preun_service macro) depends on condstop. Please, fix.
vt unit-1.25.0-alt1.x86_64 subdir-in-var-run info Found a subdir in /var/run or /var/lock. /var/run and /var/lock may be mounted as temporary filesystems, so the init.d scripts must handle this correctly. This will typically amount to creating any required subdirectories dynamically when the init.d script is run, rather than including them in the package and relying on rpm to create them.
vt xenomai-cobalt-3.1.1-alt2.x86_64 init-but-no-native-systemd info The package have SysV init script(s) but no native systemd files.
vt xenomai-cobalt-3.1.1-alt2.x86_64 init-condrestart warn /etc/rc.d/init.d/xenomai: 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/rc.d/init.d/xenomai: 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.
vt xenomai-cobalt-3.1.1-alt2.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/xenomai/cobalt/testsuite/dohell: $ grep -A5 -B5 /tmp/ /usr/lib/xenomai/cobalt/testsuite/dohell else echo netcat or nc not found exit 1 fi seq 1 399999 > /tmp/netcat.data ( while :; do cat /tmp/netcat.data; sleep 15; done | $nc $server $port ) & pids="$!" fi if [ -n "$mntpoint" ]; then while :; do dd if=/dev/zero of=$mntpoint/bigfile bs=1024000 count=100; sync; done &

generated by repocop at Sat Sep 18 04:56:23 2021