============================ rpmlint session starts ============================ rpmlint: 2.6.1 configuration: /opt/testing/lib/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 /etc/xdg/rpmlint/scoring-strict.override.toml rpmlintrc: /home/abuild/rpmbuild/SOURCES/postfix-rpmlintrc checks: 41, packages: 7 postfix.i586: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/aliases.lmdb" postfix.i586: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/postfix/*.lmdb" 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 postfix.src: E: unused-rpmlintrc-filter "executable-sourced-script .*/sbin/conf.d/SuSEconfig.postfix" postfix.src: E: unused-rpmlintrc-filter "sourced-script-with-shebang .*/sbin/conf.d/SuSEconfig.postfix" postfix.src: E: unused-rpmlintrc-filter "devel-file-in-non-devel-package .*/usr/lib/libpostfix*.so" postfix.src: E: unused-rpmlintrc-filter "devel-file-in-non-devel-package .*/usr/lib64/libpostfix*.so" postfix.i586: E: standard-dir-owned-by-package /var/spool/mail This package owns a directory that is part of the standard hierarchy, which can lead to default directory permissions or ownerships being changed to something non-standard. postfix.i586: W: permissions-missing-verifyscript missing %verify_permissions -e /etc/postfix/sasl_passwd postfix.i586: W: permissions-missing-verifyscript missing %verify_permissions -e /usr/sbin/postdrop postfix.i586: W: permissions-missing-verifyscript missing %verify_permissions -e /usr/sbin/postlog postfix.i586: W: permissions-missing-verifyscript missing %verify_permissions -e /usr/sbin/postqueue postfix.i586: W: permissions-missing-verifyscript missing %verify_permissions -e /usr/sbin/sendmail Please add a %verifyscript section postfix.i586: W: non-standard-dir-in-var adm Your package is creating a non-standard subdirectory in /var. The standard directories are: cache, lib, local, lock, log, opt, run, spool, tmp, account, crash, games, mail, yp. postfix.spec: W: no-%check-section The spec file does not contain an %check section. Please check if the package has a testsuite and what it takes to enable the testsuite as part of the package build. If it is not possible to run it in the build environment (OBS/koji) or no testsuite exists, then please ignore this warning. You should not insert an empty %check section. postfix.i586: E: filelist-forbidden-move-to-usr /etc/pam.d/smtp This directory has been moved to /usr. postfix.i586: E: filelist-forbidden-fhs23 /var/mail File violates FHS 2.3. postfix.i586: W: binary-or-shlib-calls-gethostbyname /usr/lib/libpostfix-util.so postfix.i586: W: binary-or-shlib-calls-gethostbyname /usr/lib/postfix/bin/local 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 BashismsCheck 3.9 62.6 BinariesCheck 1.1 17.3 ExtractRpm 0.4 6.6 FilesCheck 0.2 3.1 SpecCheck 0.2 2.7 SUIDPermissionsCheck 0.1 2.3 SignatureCheck 0.1 2.0 TOTAL 6.2 100.0 7 packages and 0 specfiles checked; 7 errors, 11 warnings, 278 filtered, 7 badness; has taken 6.3 s