============================ 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 xsession.x86_64: W: non-etc-or-var-file-marked-as-conffile /usr/share/X11/app-defaults/XSession xsession.x86_64: W: non-etc-or-var-file-marked-as-conffile /usr/share/X11/app-defaults/XSession-color A file not in /etc or /var is marked as being a configuration file (%config). Please put your configuration files in /etc or /var. xsession.x86_64: W: no-url-tag xsession.src: W: no-url-tag The URL tag is missing. xsession.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. xsession.x86_64: E: missing-call-to-setgroups-before-setuid /usr/bin/xsession 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. xsession.x86_64: W: install-file-in-docs /usr/share/doc/packages/xsession/INSTALL A file whose name suggests that it contains installation instructions is included in the package. Such instructions are often not relevant for already installed packages. xsession.x86_64: W: files-duplicate /usr/share/doc/packages/xsession/examples/xsession /usr/share/doc/packages/xsession/examples/xinitrc xsession.x86_64: W: files-duplicate /usr/share/doc/packages/xsession/examples/xsession.safe /usr/share/doc/packages/xsession/examples/xinitrc.safe xsession.x86_64: W: files-duplicate /usr/share/doc/packages/xsession/examples/xsession.short /usr/share/doc/packages/xsession/examples/xinitrc.short Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. xsession.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/bin/xsession 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 0.2 67.3 TOTAL 0.3 100.0 2 packages and 0 specfiles checked; 1 errors, 10 warnings, 4 filtered, 1 badness; has taken 0.3 s