============================ rpmlint session starts ============================ rpmlint: 2.5.0 configuration: /opt/testing/lib64/python3.11/rpmlint/configdefaults.toml /opt/testing/share/rpmlint/cron-whitelist.toml /opt/testing/share/rpmlint/dbus-services.toml /opt/testing/share/rpmlint/device-files-whitelist.toml /opt/testing/share/rpmlint/licenses.toml /opt/testing/share/rpmlint/opensuse.toml /opt/testing/share/rpmlint/pam-modules.toml /opt/testing/share/rpmlint/permissions-whitelist.toml /opt/testing/share/rpmlint/pie-executables.toml /opt/testing/share/rpmlint/polkit-rules-whitelist.toml /opt/testing/share/rpmlint/scoring.toml /opt/testing/share/rpmlint/security.toml /opt/testing/share/rpmlint/sudoers-whitelist.toml /opt/testing/share/rpmlint/sysctl-whitelist.toml /opt/testing/share/rpmlint/systemd-tmpfiles.toml /opt/testing/share/rpmlint/users-groups.toml /opt/testing/share/rpmlint/world-writable-whitelist.toml /opt/testing/share/rpmlint/zypper-plugins.toml rpmlintrc: /home/abuild/rpmbuild/SOURCES/util-linux-rpmlintrc checks: 41, packages: 18 util-linux.src: E: unused-rpmlintrc-filter "library-without-ldconfig-postin /usr/libexec/build/staging/.*" util-linux.src: E: unused-rpmlintrc-filter "library-without-ldconfig-postun /usr/libexec/build/staging/.*" util-linux.src: E: unused-rpmlintrc-filter "invalid-spec-name" util-linux.src: E: unused-rpmlintrc-filter "non-etc-or-var-file-marked-as-conffile /usr/libexec/build/staging/.*" libblkid1.x86_64: W: unstripped-binary-or-object /usr/lib64/libblkid.so.1.1.0 libfdisk1.x86_64: W: unstripped-binary-or-object /usr/lib64/libfdisk.so.1.1.0 libmount1.x86_64: W: unstripped-binary-or-object /usr/lib64/libmount.so.1.1.0 libsmartcols1.x86_64: W: unstripped-binary-or-object /usr/lib64/libsmartcols.so.1.1.0 libuuid1.x86_64: W: unstripped-binary-or-object /usr/lib64/libuuid.so.1.3.0 util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/cal util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/chmem util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/choom util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/chrt util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/col util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/colcrt util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/colrm util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/column util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/dmesg util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/eject util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/enosys util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/exch util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/fadvise util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/fallocate util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/fincore util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/flock util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/getopt util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/hardlink util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/hexdump util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/ionice util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/ipcmk util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/ipcrm util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/ipcs util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/irqtop util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/isosize util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/kill util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/line util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/login util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/look util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/lsclocks util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/lscpu util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/lsfd util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/lsipc util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/lsirq util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/lslocks util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/lsmem util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/lsns util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/mcookie util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/more util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/mount util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/mountpoint util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/namei util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/nsenter util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/pipesz util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/prlimit util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/rename util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/renice util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/rev util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/script util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/scriptlive util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/scriptreplay util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/setarch util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/setpgid util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/setpriv util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/setsid util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/setterm util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/su util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/taskset util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/uclampset util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/ul util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/umount util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/unshare util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/utmpdump util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/uuidgen util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/uuidparse util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/waitpid util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/wdctl util-linux.x86_64: W: unstripped-binary-or-object /usr/bin/whereis util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/addpart util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/agetty util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/blkdiscard util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/blkid util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/blkpr util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/blkzone util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/blockdev util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/cfdisk util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/chcpu util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/ctrlaltdel util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/delpart util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/fdformat util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/fdisk util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/findfs util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/fsck util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/fsck.cramfs util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/fsck.minix util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/fsfreeze util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/fstrim util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/hwclock util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/ldattach util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/losetup util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/mkfs util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/mkfs.bfs util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/mkfs.cramfs util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/mkfs.minix util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/mkswap util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/nologin util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/partx util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/pivot_root util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/readprofile util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/resizepart util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/rfkill util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/rtcwake util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/runuser util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/sfdisk util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/sulogin util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/swaplabel util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/swapoff util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/swapon util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/switch_root util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/tunelp util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/wipefs util-linux.x86_64: W: unstripped-binary-or-object /usr/sbin/zramctl This executable should be stripped from debugging symbols, in order to take less space and be loaded faster. This is usually done automatically at buildtime by rpm. libblkid-devel-static.x86_64: E: static-library-without-debuginfo /usr/lib64/libblkid.a libfdisk-devel-static.x86_64: E: static-library-without-debuginfo /usr/lib64/libfdisk.a libmount-devel-static.x86_64: E: static-library-without-debuginfo /usr/lib64/libmount.a libsmartcols-devel-static.x86_64: E: static-library-without-debuginfo /usr/lib64/libsmartcols.a libuuid-devel-static.x86_64: E: static-library-without-debuginfo /usr/lib64/libuuid.a The static library doesn't contain any debuginfo. Binaries linking against this static library can't be properly debugged. util-linux.x86_64: W: self-obsoletion eject <= 2.1.0 obsoletes eject = 2.1.0 util-linux.x86_64: W: self-obsoletion login <= 4.0 obsoletes login = 4.0 util-linux.x86_64: W: self-obsoletion rfkill <= 0.5 obsoletes rfkill = 0.5 The package obsoletes itself. This is known to cause errors in various tools and should thus be avoided, usually by using appropriately versioned Obsoletes and/or Provides and avoiding unversioned ones. util-linux.spec:81: W: python-module-def %{?!python_module:%define python_module() python-%{**} python3-%{**}} The spec file contains a conditional definition of python_module macro, this macro is present in recent versions of python-rpm-macros. The following conditional python_module macro definition can be removed: %{?!python_module:%define python_module() python-%{**} python3-%{**}} util-linux.x86_64: W: missing-call-to-setgroups-before-setuid /usr/bin/mount util-linux.x86_64: W: missing-call-to-setgroups-before-setuid /usr/bin/umount libblkid1.x86_64: E: missing-call-to-setgroups-before-setuid /usr/lib64/libblkid.so.1.1.0 libmount1.x86_64: E: missing-call-to-setgroups-before-setuid /usr/lib64/libmount.so.1.1.0 util-linux.x86_64: E: missing-call-to-setgroups-before-setuid /usr/bin/eject util-linux.x86_64: E: missing-call-to-setgroups-before-setuid /usr/bin/more util-linux.x86_64: E: missing-call-to-setgroups-before-setuid /usr/sbin/swapon This executable is calling setuid and setgid without setgroups or initgroups. This means it didn't relinquish all groups, and this would be a potential security issue. util-linux.x86_64: W: files-duplicate /usr/share/licenses/util-linux/COPYING.GPL-2.0-or-later /usr/share/licenses/util-linux/COPYING:/usr/share/licenses/util-linux/COPYING.GPL-2.0-only Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. util-linux.spec:664: W: deprecated-grep ['egrep'] util-linux.spec:667: W: deprecated-grep ['egrep'] Direct use of grep as egrep or fgrep is deprecated in GNU grep and historical in POSIX, use grep -E and grep -F instead. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BinariesCheck 1.0 59.1 ExtractRpm 0.2 12.8 SignatureCheck 0.1 7.9 TOTAL 1.7 100.0 18 packages and 0 specfiles checked; 14 errors, 126 warnings, 75 filtered, 14 badness; has taken 1.7 s