============================ rpmlint session starts ============================ rpmlint: 2.6.1 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 /etc/xdg/rpmlint/scoring-strict.override.toml checks: 41, packages: 2 squid.aarch64: W: zero-perms-ghost Suggestion: "%ghost %attr(0700,squid,root) /run/squid" 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 squid.aarch64: W: permissions-missing-verifyscript missing %verify_permissions -e /usr/libexec/squid/pinger squid.aarch64: W: permissions-missing-verifyscript missing %verify_permissions -e /var/cache/squid squid.aarch64: W: permissions-missing-verifyscript missing %verify_permissions -e /var/log/squid Please add a %verifyscript section squid.aarch64: E: permissions-incorrect-owner /usr/libexec/squid/pinger belongs to root:root but should be root:squid please use the %attr macro to set the correct ownership. squid.aarch64: E: permissions-incorrect /usr/libexec/squid/pinger has mode 0755 but should be 0750 please use the %attr macro to set the correct permissions. squid.aarch64: E: missing-call-to-setgroups-before-setuid /usr/libexec/squid/pinger 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. squid.spec:172: W: macro-in-comment %{_prefix} 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. squid.aarch64: E: files-duplicated-waste (Badness: 100) 440382 Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. squid.aarch64: W: files-duplicate /etc/squid/cachemgr.conf.default /etc/squid/cachemgr.conf squid.aarch64: W: files-duplicate /etc/squid/errorpage.css.default /etc/squid/errorpage.css squid.aarch64: W: files-duplicate /usr/share/squid/errors/zh-hant/error-details.txt /usr/share/squid/errors/af/error-details.txt:/usr/share/squid/errors/ar/error-details.txt:/usr/share/squid/errors/az/error-details.txt:/usr/share/squid/errors/bg/error-details.txt:/usr/share/squid/errors/ca/error-details.txt:(and 41 more) squid.aarch64: W: files-duplicate /usr/share/squid/errors/zh-hant/ERR_DIR_LISTING /usr/share/squid/errors/ar/ERR_DIR_LISTING:/usr/share/squid/errors/da/ERR_DIR_LISTING:/usr/share/squid/errors/el/ERR_DIR_LISTING:/usr/share/squid/errors/en/ERR_DIR_LISTING:/usr/share/squid/errors/et/ERR_DIR_LISTING:(and 5 more) squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_FTP_PUT_CREATED /usr/share/squid/errors/ar/ERR_FTP_PUT_CREATED:/usr/share/squid/errors/en/ERR_FTP_PUT_CREATED:/usr/share/squid/errors/id/ERR_FTP_PUT_CREATED squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_FTP_PUT_MODIFIED /usr/share/squid/errors/ar/ERR_FTP_PUT_MODIFIED:/usr/share/squid/errors/en/ERR_FTP_PUT_MODIFIED squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_ACCESS_DENIED /usr/share/squid/errors/en/ERR_ACCESS_DENIED squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_ACL_TIME_QUOTA_EXCEEDED /usr/share/squid/errors/en/ERR_ACL_TIME_QUOTA_EXCEEDED:/usr/share/squid/errors/id/ERR_ACL_TIME_QUOTA_EXCEEDED squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_AGENT_CONFIGURE /usr/share/squid/errors/en/ERR_AGENT_CONFIGURE:/usr/share/squid/errors/id/ERR_AGENT_CONFIGURE squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_AGENT_WPAD /usr/share/squid/errors/en/ERR_AGENT_WPAD:/usr/share/squid/errors/id/ERR_AGENT_WPAD squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_CACHE_ACCESS_DENIED /usr/share/squid/errors/en/ERR_CACHE_ACCESS_DENIED squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_CACHE_MGR_ACCESS_DENIED /usr/share/squid/errors/en/ERR_CACHE_MGR_ACCESS_DENIED squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_CANNOT_FORWARD /usr/share/squid/errors/en/ERR_CANNOT_FORWARD:/usr/share/squid/errors/id/ERR_CANNOT_FORWARD squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_CONFLICT_HOST /usr/share/squid/errors/en/ERR_CONFLICT_HOST:/usr/share/squid/errors/id/ERR_CONFLICT_HOST squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_CONNECT_FAIL /usr/share/squid/errors/en/ERR_CONNECT_FAIL:/usr/share/squid/errors/id/ERR_CONNECT_FAIL squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_DNS_FAIL /usr/share/squid/errors/en/ERR_DNS_FAIL:/usr/share/squid/errors/id/ERR_DNS_FAIL squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_ESI /usr/share/squid/errors/en/ERR_ESI:/usr/share/squid/errors/id/ERR_ESI squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_FORWARDING_DENIED /usr/share/squid/errors/en/ERR_FORWARDING_DENIED:/usr/share/squid/errors/id/ERR_FORWARDING_DENIED squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_FTP_DISABLED /usr/share/squid/errors/en/ERR_FTP_DISABLED squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_FTP_FAILURE /usr/share/squid/errors/en/ERR_FTP_FAILURE squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_FTP_FORBIDDEN /usr/share/squid/errors/en/ERR_FTP_FORBIDDEN squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_FTP_NOT_FOUND /usr/share/squid/errors/en/ERR_FTP_NOT_FOUND:/usr/share/squid/errors/id/ERR_FTP_NOT_FOUND squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_FTP_PUT_ERROR /usr/share/squid/errors/en/ERR_FTP_PUT_ERROR squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_FTP_UNAVAILABLE /usr/share/squid/errors/en/ERR_FTP_UNAVAILABLE:/usr/share/squid/errors/id/ERR_FTP_UNAVAILABLE squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_GATEWAY_FAILURE /usr/share/squid/errors/en/ERR_GATEWAY_FAILURE:/usr/share/squid/errors/id/ERR_GATEWAY_FAILURE squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_ICAP_FAILURE /usr/share/squid/errors/en/ERR_ICAP_FAILURE squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_INVALID_REQ /usr/share/squid/errors/en/ERR_INVALID_REQ squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_INVALID_RESP /usr/share/squid/errors/en/ERR_INVALID_RESP squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_INVALID_URL /usr/share/squid/errors/en/ERR_INVALID_URL:/usr/share/squid/errors/id/ERR_INVALID_URL squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_LIFETIME_EXP /usr/share/squid/errors/en/ERR_LIFETIME_EXP:/usr/share/squid/errors/id/ERR_LIFETIME_EXP squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_NO_RELAY /usr/share/squid/errors/en/ERR_NO_RELAY:/usr/share/squid/errors/id/ERR_NO_RELAY squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_ONLY_IF_CACHED_MISS /usr/share/squid/errors/en/ERR_ONLY_IF_CACHED_MISS:/usr/share/squid/errors/id/ERR_ONLY_IF_CACHED_MISS squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_PRECONDITION_FAILED /usr/share/squid/errors/en/ERR_PRECONDITION_FAILED:/usr/share/squid/errors/id/ERR_PRECONDITION_FAILED squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_PROTOCOL_UNKNOWN /usr/share/squid/errors/en/ERR_PROTOCOL_UNKNOWN:/usr/share/squid/errors/id/ERR_PROTOCOL_UNKNOWN squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_READ_ERROR /usr/share/squid/errors/en/ERR_READ_ERROR:/usr/share/squid/errors/id/ERR_READ_ERROR squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_READ_TIMEOUT /usr/share/squid/errors/en/ERR_READ_TIMEOUT:/usr/share/squid/errors/id/ERR_READ_TIMEOUT squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_SECURE_CONNECT_FAIL /usr/share/squid/errors/en/ERR_SECURE_CONNECT_FAIL:/usr/share/squid/errors/id/ERR_SECURE_CONNECT_FAIL squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_SHUTTING_DOWN /usr/share/squid/errors/en/ERR_SHUTTING_DOWN:/usr/share/squid/errors/id/ERR_SHUTTING_DOWN squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_SOCKET_FAILURE /usr/share/squid/errors/en/ERR_SOCKET_FAILURE:/usr/share/squid/errors/id/ERR_SOCKET_FAILURE squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_TOO_BIG /usr/share/squid/errors/en/ERR_TOO_BIG:/usr/share/squid/errors/id/ERR_TOO_BIG squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_UNSUP_HTTPVERSION /usr/share/squid/errors/en/ERR_UNSUP_HTTPVERSION:/usr/share/squid/errors/id/ERR_UNSUP_HTTPVERSION squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_UNSUP_REQ /usr/share/squid/errors/en/ERR_UNSUP_REQ:/usr/share/squid/errors/id/ERR_UNSUP_REQ squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_URN_RESOLVE /usr/share/squid/errors/en/ERR_URN_RESOLVE squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_WRITE_ERROR /usr/share/squid/errors/en/ERR_WRITE_ERROR:/usr/share/squid/errors/id/ERR_WRITE_ERROR squid.aarch64: W: files-duplicate /usr/share/squid/errors/sr-cyrl/ERR_ZERO_SIZE_OBJECT /usr/share/squid/errors/en/ERR_ZERO_SIZE_OBJECT:/usr/share/squid/errors/id/ERR_ZERO_SIZE_OBJECT squid.aarch64: W: files-duplicate /usr/share/squid/errors/tr/ERR_FTP_PUT_MODIFIED /usr/share/squid/errors/tr/ERR_FTP_PUT_CREATED Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. squid.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/purge squid.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/libexec/squid/basic_radius_auth squid.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/libexec/squid/basic_smb_lm_auth squid.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/libexec/squid/cachemgr.cgi squid.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/libexec/squid/ntlm_smb_lm_auth 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 1.0 31.0 ExtractRpm 0.9 27.5 SUIDPermissionsCheck 0.4 11.7 BashismsCheck 0.3 9.3 FilesCheck 0.3 8.4 BuildRootAndDateCheck 0.1 3.5 TOTAL 3.2 100.0 2 packages and 0 specfiles checked; 4 errors, 56 warnings, 19 filtered, 103 badness; has taken 3.2 s