============================ rpmlint session starts ============================ rpmlint: 2.9.0 configuration: /opt/testing/lib/python3.13/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 /etc/xdg/rpmlint/scoring-strict.override.toml rpmlintrc: /home/abuild/rpmbuild/SOURCES/systemd-rpmlintrc checks: 42, packages: 19 systemd.i586: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/systemd/journald.conf" systemd.i586: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/systemd/logind.conf" systemd.i586: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/systemd/system.conf" systemd.i586: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/systemd/user.conf" systemd-experimental.i586: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/systemd/oomd.conf" systemd-journal-remote.i586: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/systemd/journal-remote.conf" systemd-journal-remote.i586: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/systemd/journal-upload.conf" systemd-networkd.i586: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/systemd/networkd.conf" udev.i586: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/systemd/pstore.conf" udev.i586: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/systemd/sleep.conf" udev.i586: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/systemd/timesyncd.conf" udev.i586: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/udev/iocost.conf" Your package contains a file with no permissions. This is usually an error because the file won't be accessible by any user. You should check the file permissions and ensure that are correct or fix it using "%attr" macro in %files section. http://ftp.rpm.org/max-rpm/s1-rpm-anywhere-specifying-file-attributes.html systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/integration-tests/TEST-17-UDEV/deny-list-ubuntu-ci-ppc64el systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/integration-tests/TEST-64-UDEV-STORAGE/deny-list-ubuntu-ci systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-01-dev-nfs.expected/initrd-usr-fs.target.requires/sysroot.mount systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-02-dhcp.expected/initrd-usr-fs.target.requires/sysroot.mount systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-03-dhcp6.expected/initrd-usr-fs.target.requires/sysroot.mount systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-04-nfs.expected/initrd-usr-fs.target.requires/sysroot.mount systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-05-nfs4.expected/initrd-usr-fs.target.requires/sysroot.mount systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-06-ipv4.expected/initrd-usr-fs.target.requires/sysroot.mount systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-07-ipv6.expected/initrd-usr-fs.target.requires/sysroot.mount systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-08-implicit-nfs.expected/initrd-usr-fs.target.requires/sysroot.mount systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-09-cifs.expected/initrd-usr-fs.target.requires/sysroot.mount systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-10-iscsi.expected/initrd-usr-fs.target.requires/sysroot.mount systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-11-live.expected/initrd-usr-fs.target.requires/sysroot.mount systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-17-initrd-sysroot.fstab.expected.sysroot/local-fs.target.wants/systemd-remount-fs.service systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-18-options.fstab.expected.sysroot/local-fs.target.wants/systemd-remount-fs.service systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-18-options.fstab.expected.sysroot/mnt-growfs.mount.wants/systemd-growfs@mnt-growfs.service systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-18-options.fstab.expected/mnt-growfs.mount.wants/systemd-growfs@mnt-growfs.service systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-20-swap-from-cmdline.expected.container/initrd-usr-fs.target.requires/sysroot.mount systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-fstab-generator/test-20-swap-from-cmdline.expected/initrd-usr-fs.target.requires/sysroot.mount systemd-testsuite.i586: E: zero-length /usr/lib/systemd/tests/testdata/test-umount/empty.mountinfo systemd.src: E: unused-rpmlintrc-filter ".*files-duplicated-waste.*" systemd.src: E: unused-rpmlintrc-filter "libsystemd0-mini\..*: E: shlib-policy-name-error SONAME: libsystemd.so.0.*" systemd.src: E: unused-rpmlintrc-filter "libudev.*-mini\..*: E: shlib-policy-name-error SONAME: libudev.*" systemd.src: E: unused-rpmlintrc-filter "systemd-container\..*: E: shlib-policy-name-error .* libnss_mymachines" systemd.src: E: unused-rpmlintrc-filter "systemd-resolved\..*: E: shlib-policy-name-error .* libnss_resolve" systemd.spec: E: superfluous-%clean-section The spec section %clean should not be used any longer. RPM provides its own clean logic. systemd.i586: E: postun-without-ldconfig /usr/lib/libnss_myhostname.so.2 systemd.i586: E: postun-without-ldconfig /usr/lib/libnss_systemd.so.2 This package contains a library and its %postun doesn't call ldconfig. systemd.i586: W: obsolete-not-provided pm-utils systemd.i586: W: obsolete-not-provided suspend If a package is obsoleted by a compatible replacement, the obsoleted package should also be provided in order to not cause unnecessary dependency breakage. If the obsoleting package is not a compatible replacement for the old one, leave out the Provides. systemd.spec:1633: W: non-break-space line 1633, char 15 The spec file contains a non-break space, which looks like a regular space in some editors but can lead to obscure errors. It should be replaced by a regular space. systemd-boot.i586: E: no-binary systemd-devel.i586: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. systemd.spec:1033: W: macro-in-comment %post There is a unescaped macro after a shell style comment in the specfile. Macros are expanded everywhere, so check if it can cause a problem in this case and escape the macro with another leading % if appropriate. systemd-testsuite.i586: W: hidden-file-or-dir /usr/lib/systemd/tests/mkosi/mkosi.extra/root/.gdbinit The file or directory is hidden. You should see if this is normal, and delete it from the package if not. systemd-experimental.i586: W: ghost-files-without-postin systemd.i586: E: filelist-forbidden-systemd-userdirs /etc/systemd/system systemd.i586: E: filelist-forbidden-systemd-userdirs /etc/systemd/user systemd-container.i586: E: filelist-forbidden-systemd-userdirs /etc/systemd/nspawn systemd-networkd.i586: E: filelist-forbidden-systemd-userdirs /etc/systemd/network udev.i586: E: filelist-forbidden-systemd-userdirs /etc/systemd/network This directory is for user files, use the system directory under /usr/lib. systemd.i586: W: dir-or-file-outside-snapshot /var/lib/systemd The package contains files outside the snapshot, e.g. outside /etc and /usr or inside /usr/local. systemd.i586: E: branding-requires-unversioned systemd-default-settings-branding systemd.i586: E: branding-requires-unversioned systemd-presets-branding Please make sure that your requires entry is similar to: 'Requires: %name-branding = ' systemd.i586: W: binary-or-shlib-calls-gethostbyname /usr/lib/libnss_myhostname.so.2 systemd-container.i586: W: binary-or-shlib-calls-gethostbyname /usr/lib/libnss_mymachines.so.2 systemd-resolved.i586: W: binary-or-shlib-calls-gethostbyname /usr/lib/libnss_resolve.so.2 The binary calls gethostbyname. Please port the code to use getaddrinfo. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BinariesCheck 11.4 33.0 ExtractRpm 6.7 19.4 SUIDPermissionsCheck 4.5 12.9 FilesCheck 4.1 11.7 BashismsCheck 1.6 4.6 SpecCheck 1.3 3.8 FilelistCheck 1.0 2.9 BuildRootAndDateCheck 1.0 2.7 SystemdInstallCheck 0.8 2.3 FileDigestCheck 0.4 1.2 TagsCheck 0.4 1.2 TOTAL 34.6 100.0 19 packages and 0 specfiles checked; 37 errors, 22 warnings, 2283 filtered, 37 badness; has taken 35.1 s