============================ 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 checks: 41, packages: 9 lightdm.armv7hl: E: update-alternatives-requirement-missing The package does not have update-alternatives in Requires(post) or Requires(postun). This is needed for the proper scriptlet execution. lightdm.armv7hl: E: script-without-shebang /usr/lib/pam.d/lightdm lightdm.armv7hl: E: script-without-shebang /usr/lib/pam.d/lightdm-autologin This text file has executable bits set or is located in a path dedicated for executables, but lacks a shebang and cannot thus be executed. If the file is meant to be an executable script, add the shebang, otherwise remove the executable bits or move the file elsewhere. lightdm.armv7hl: I: package-supports-update-alternatives lightdm.armv7hl: W: obsolete-not-provided lxdm 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. lightdm-gobject-devel.armv7hl: E: no-binary lightdm-qt5-devel.armv7hl: E: no-binary typelib-1_0-LightDM-1.armv7hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. lightdm.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. liblightdm-gobject-1-0.armv7hl: E: missing-call-to-setgroups-before-setuid /usr/lib/liblightdm-gobject-1.so.0.0.0 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. lightdm.spec:43: W: macro-in-comment %{version} lightdm.spec:43: W: macro-in-comment %{name} lightdm.spec:43: W: macro-in-comment %{version} 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. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BashismsCheck 0.3 31.3 ExtractRpm 0.2 21.2 SignatureCheck 0.1 13.5 TOTAL 0.8 100.0 9 packages and 0 specfiles checked; 7 errors, 5 warnings, 39 filtered, 7 badness; has taken 0.9 s