============================ rpmlint session starts ============================ rpmlint: 2.7.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/cockpit-rpmlintrc checks: 41, packages: 13 cockpit-ws.armv7hl: E: zero-length /usr/share/cockpit/branding/opensuse/default-1920x1200.jpg cockpit.src: E: unused-rpmlintrc-filter "explicit-lib-dependency.*libvirt-client" cockpit-ws.armv7hl: W: tmpfile-not-in-filelist /run/cockpit/active.issue Please add the specified file to your %files section as %ghost so users can easily query who created the file, it gets uninstalled on package removal and finally other rpmlint checks see it. cockpit-ws.armv7hl: E: systemd-service-without-service_del_preun cockpit-issue.service cockpit-ws.armv7hl: E: systemd-service-without-service_del_preun cockpit-session-socket-user.service cockpit-ws.armv7hl: E: systemd-service-without-service_del_preun cockpit-session.socket cockpit-ws.armv7hl: E: systemd-service-without-service_del_preun cockpit-wsinstance-http.service cockpit-ws.armv7hl: E: systemd-service-without-service_del_preun cockpit-wsinstance-http.socket cockpit-ws.armv7hl: E: systemd-service-without-service_del_preun cockpit-wsinstance-https-factory.socket cockpit-ws.armv7hl: E: systemd-service-without-service_del_preun cockpit-wsinstance-socket-user.service The package contains a systemd service but doesn't contain a %preun with a call to service_del_preun. cockpit-ws.armv7hl: E: systemd-service-without-service_add_pre cockpit-issue.service cockpit-ws.armv7hl: E: systemd-service-without-service_add_pre cockpit-session-socket-user.service cockpit-ws.armv7hl: E: systemd-service-without-service_add_pre cockpit-session.socket cockpit-ws.armv7hl: E: systemd-service-without-service_add_pre cockpit-wsinstance-http.service cockpit-ws.armv7hl: E: systemd-service-without-service_add_pre cockpit-wsinstance-http.socket cockpit-ws.armv7hl: E: systemd-service-without-service_add_pre cockpit-wsinstance-https-factory.socket cockpit-ws.armv7hl: E: systemd-service-without-service_add_pre cockpit-wsinstance-socket-user.service cockpit-ws.armv7hl: E: systemd-service-without-service_add_pre cockpit.service cockpit-ws.armv7hl: E: systemd-service-without-service_add_pre cockpit.socket The package contains a systemd service but doesn't contain a %pre with a call to service_add_pre. cockpit-ws.armv7hl: E: systemd-service-without-service_add_post cockpit-issue.service cockpit-ws.armv7hl: E: systemd-service-without-service_add_post cockpit-session-socket-user.service cockpit-ws.armv7hl: E: systemd-service-without-service_add_post cockpit-session.socket cockpit-ws.armv7hl: E: systemd-service-without-service_add_post cockpit-wsinstance-http.service cockpit-ws.armv7hl: E: systemd-service-without-service_add_post cockpit-wsinstance-http.socket cockpit-ws.armv7hl: E: systemd-service-without-service_add_post cockpit-wsinstance-https-factory.socket cockpit-ws.armv7hl: E: systemd-service-without-service_add_post cockpit-wsinstance-socket-user.service The package contains a systemd service but doesn't contain a %post with a call to service_add_post. cockpit.src: W: source-not-compressed gz cockpit-suse-theme.tar A source archive or file in your package is not compressed using the gz compression method (doesn't have the gz extension). cockpit-devel.armv7hl: W: potential-bashisms /usr/share/cockpit/devel/lib/kernelopt.sh cockpit-ws.armv7hl: W: potential-bashisms /usr/libexec/check_cockpit_users checkbashisms reported potential bashisms in a /bin/sh shell script, you might want to manually check this script for bashisms. cockpit-ws.armv7hl: W: permissions-missing-verifyscript missing %verify_permissions -e /usr/libexec/cockpit-session Please add a %verifyscript section cockpit-ws.armv7hl: E: permissions-incorrect-owner /usr/libexec/cockpit-session belongs to root:root but should be root:cockpit-wsinstance please use the %attr macro to set the correct ownership. cockpit-ws.armv7hl: E: permissions-incorrect /usr/libexec/cockpit-session has mode 0755 but should be 04750 please use the %attr macro to set the correct permissions. cockpit-ws.armv7hl: W: obsolete-not-provided cockpit-tests cockpit-ws-selinux.armv7hl: W: obsolete-not-provided cockpit-selinux-policies cockpit-system.noarch: W: obsolete-not-provided cockpit-tests 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. cockpit-devel.armv7hl: E: non-executable-script /usr/share/cockpit/devel/lib/credentials-ssh-private-keys.sh 644 /bin/sh cockpit-devel.armv7hl: E: non-executable-script /usr/share/cockpit/devel/lib/credentials-ssh-remove-key.sh 644 /bin/sh cockpit-bridge.noarch: E: non-executable-script /usr/lib/python3.13/site-packages/cockpit/_vendor/ferny/interaction_client.py 644 /usr/bin/python3 This text file contains a shebang or is located in a path dedicated for executables, but lacks the executable bits and cannot thus be executed. If the file is meant to be an executable script, add the executable bits, otherwise remove the shebang or move the file elsewhere. cockpit.armv7hl: E: no-binary cockpit-devel.armv7hl: E: no-binary cockpit-ws-selinux.armv7hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. cockpit.spec:29: W: macro-in-comment %{version} cockpit.spec:32: W: macro-in-comment %{centos} cockpit.spec:309: W: macro-in-comment %ghost cockpit.spec:615: 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. cockpit-ws-selinux.armv7hl: W: ghost-files-without-postin cockpit.armv7hl: W: files-duplicate /usr/share/licenses/cockpit/COPYING /usr/share/doc/packages/cockpit/COPYING cockpit-doc.noarch: W: files-duplicate /usr/share/doc/packages/cockpit/legal/users.js.LEGAL.txt /usr/share/doc/packages/cockpit/legal/apps.js.LEGAL.txt:/usr/share/doc/packages/cockpit/legal/firewall.js.LEGAL.txt:/usr/share/doc/packages/cockpit/legal/hwinfo.js.LEGAL.txt:/usr/share/doc/packages/cockpit/legal/index.js.LEGAL.txt:/usr/share/doc/packages/cockpit/legal/kdump.js.LEGAL.txt:(and 12 more) Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. cockpit-ws-selinux.armv7hl: E: explicit-lib-dependency libselinux-utils You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags. cockpit-ws.armv7hl: E: branding-requires-unversioned wallpaper-branding Please make sure that your requires entry is similar to: 'Requires: %name-branding = ' cockpit-ws.armv7hl: W: bin-sh-syntax-error /usr/libexec/check_cockpit_users A /bin/sh shell script contains a POSIX shell syntax error. This might indicate a potential bash-specific feature being used, try dash -n for more detailed error message. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 5.1 74.6 BashismsCheck 0.6 8.7 SignatureCheck 0.4 5.9 BinariesCheck 0.2 2.5 FilesCheck 0.1 2.0 TOTAL 6.9 100.0 13 packages and 0 specfiles checked; 35 errors, 16 warnings, 71 filtered, 35 badness; has taken 6.9 s