============================ rpmlint session starts ============================ rpmlint: 2.8.0 configuration: /opt/testing/lib64/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 checks: 42, packages: 8 xen.x86_64: W: unstripped-binary-or-object /boot/xen-4.21.0_02-1.efi.elf xen.x86_64: W: unstripped-binary-or-object /boot/xen-syms-4.21.0_02-1 xen.x86_64: W: unstripped-binary-or-object /boot/xen-syms-dbg-4.21.0_02-1 xen-tools.x86_64: W: unstripped-binary-or-object /usr/lib/xen/boot/hvmloader This executable should be stripped of debugging symbols, in order to take less space and be loaded faster. This is usually done automatically at buildtime by rpm. xen-tools-xendomains-wait-disk.noarch: E: systemd-service-without-service_del_preun xendomains-wait-disks.service xen-tools-domU.x86_64: E: systemd-service-without-service_del_preun xen-vcpu-watch.service The package contains a systemd service but doesn't contain a %preun with a call to service_del_preun. xen-tools-xendomains-wait-disk.noarch: E: systemd-service-without-service_del_postun xendomains-wait-disks.service xen-tools-domU.x86_64: E: systemd-service-without-service_del_postun xen-vcpu-watch.service The package contains a systemd service but doesn't contain a %postun with a call to service_del_postun. xen-tools-xendomains-wait-disk.noarch: E: systemd-service-without-service_add_pre xendomains-wait-disks.service xen-tools-domU.x86_64: E: systemd-service-without-service_add_pre xen-vcpu-watch.service The package contains a systemd service but doesn't contain a %pre with a call to service_add_pre. xen-tools-xendomains-wait-disk.noarch: E: systemd-service-without-service_add_post xendomains-wait-disks.service xen-tools-domU.x86_64: E: systemd-service-without-service_add_post xen-vcpu-watch.service The package contains a systemd service but doesn't contain a %post with a call to service_add_post. xen.x86_64: E: statically-linked-binary /boot/xen-4.21.0_02-1.efi.elf xen.x86_64: E: statically-linked-binary /boot/xen-syms-4.21.0_02-1 xen.x86_64: E: statically-linked-binary /boot/xen-syms-dbg-4.21.0_02-1 xen-tools.x86_64: E: statically-linked-binary /usr/lib/xen/boot/hvmloader The package installs a statically linked binary or object file. xen-tools.x86_64: E: script-without-shebang /etc/xen/scripts/block-npiv-common.sh 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. xen.x86_64: W: position-independent-executable-suggested /boot/xen-4.21.0_02-1.efi.elf xen.x86_64: W: position-independent-executable-suggested /boot/xen-syms-4.21.0_02-1 xen.x86_64: W: position-independent-executable-suggested /boot/xen-syms-dbg-4.21.0_02-1 xen-tools.x86_64: W: position-independent-executable-suggested /usr/lib/xen/boot/hvmloader This executable should be position independent (all binaries should). Check that it is built with -fPIE/-fpie in compiler flags and -pie in linker flags. xen.spec:94: E: obsolete-suse-version-check 1230 The specfile contains a comparison of %suse_version against a suse release that is no longer in maintenance. Consider removing obsolete parts of your spec file to make it more readable. xen-tools-xendomains-wait-disk.noarch: W: non-etc-or-var-file-marked-as-conffile /usr/lib/systemd/system/xendomains-wait-disks.service xen-tools-xendomains-wait-disk.noarch: W: non-etc-or-var-file-marked-as-conffile /usr/lib/xen/bin/xendomains-wait-disks xen-tools.x86_64: W: non-etc-or-var-file-marked-as-conffile /usr/lib/systemd/system/proc-xen.mount xen-tools.x86_64: W: non-etc-or-var-file-marked-as-conffile /usr/lib/systemd/system/xen-dom0-modules.service xen-tools.x86_64: W: non-etc-or-var-file-marked-as-conffile /usr/lib/systemd/system/xen-init-dom0.service xen-tools.x86_64: W: non-etc-or-var-file-marked-as-conffile /usr/lib/systemd/system/xen-qemu-dom0-disk-backend.service xen-tools.x86_64: W: non-etc-or-var-file-marked-as-conffile /usr/lib/systemd/system/xen-watchdog.service xen-tools.x86_64: W: non-etc-or-var-file-marked-as-conffile /usr/lib/systemd/system/xencommons.service xen-tools.x86_64: W: non-etc-or-var-file-marked-as-conffile /usr/lib/systemd/system/xenconsoled.service xen-tools.x86_64: W: non-etc-or-var-file-marked-as-conffile /usr/lib/systemd/system/xendomains.service xen-tools.x86_64: W: non-etc-or-var-file-marked-as-conffile /usr/lib/systemd/system/xenstored.service xen-tools-domU.x86_64: W: non-etc-or-var-file-marked-as-conffile /usr/lib/systemd/system/xen-vcpu-watch.service A file not in /etc or /var is marked as being a configuration file (%config). Please put your configuration files in /etc or /var. xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/block xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/block-common.sh xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/block-dmmd xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/block-drbd-probe xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/block-dummy xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/block-iscsi xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/block-npiv xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/block-npiv-common.sh xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/block-npiv-vport xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/block-tap xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/colo-proxy-setup xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/external-device-migrate xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/hotplugpath.sh xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/launch-xenstore xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/locking.sh xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/logging.sh xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/remus-netbuf-setup xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/vif-bridge xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/vif-common.sh xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/vif-nat xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/vif-openvswitch xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/vif-route xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/vif-setup xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/vscsi xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/xen-hotplug-common.sh xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/xen-network-common.sh xen-tools.x86_64: W: non-conffile-in-etc /etc/xen/scripts/xen-script-common.sh A non-executable file in your package is being installed in /etc, but is not a configuration file. All non-executable files in /etc should be configuration files. Mark the file as %config in the spec file. xen-doc-html.x86_64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. xen.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. xen.x86_64: W: name-repeated-in-summary Xen xen.src: W: name-repeated-in-summary Xen The name of the package is repeated in its summary. Make the summary brief and to the point without including redundant information in it. xen.x86_64: E: missing-PT_GNU_STACK-section /boot/xen-4.21.0_02-1.efi.elf xen.x86_64: E: missing-PT_GNU_STACK-section /boot/xen-syms-4.21.0_02-1 xen.x86_64: E: missing-PT_GNU_STACK-section /boot/xen-syms-dbg-4.21.0_02-1 The binary lacks a PT_GNU_STACK section. This forces the dynamic linker to make the stack executable. xen-tools.x86_64: E: env-script-interpreter (Badness: 9) /usr/bin/pygrub /usr/bin/env python This script uses 'env' as an interpreter. For the rpm runtime dependency detection to work, the shebang #!/usr/bin/env needs to be patched into #!/usr/bin/ otherwise the package dependency generator merely adds a dependency on /usr/bin/env rather than the actual interpreter /usr/bin/. Alternatively, if the file should not be executed, then ensure that it is not marked as executable or don't install it in a path that is reserved for executables. xen-tools.x86_64: W: dir-or-file-outside-snapshot /var/lib/xen xen-tools.x86_64: W: dir-or-file-outside-snapshot /var/lib/xen/dump xen-tools.x86_64: W: dir-or-file-outside-snapshot /var/lib/xen/images xen-tools.x86_64: W: dir-or-file-outside-snapshot /var/lib/xen/save xen-tools.x86_64: W: dir-or-file-outside-snapshot /var/lib/xen/xenpaging xen-tools.x86_64: W: dir-or-file-outside-snapshot /var/lib/xenstored xen-tools.x86_64: W: dir-or-file-outside-snapshot /var/log/xen xen-tools.x86_64: W: dir-or-file-outside-snapshot /var/log/xen/console The package contains files outside the snapshot, e.g. outside /etc and /usr or inside /usr/local. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 10.2 84.1 BinariesCheck 0.8 7.0 SignatureCheck 0.3 2.5 SpecCheck 0.2 1.8 BashismsCheck 0.2 1.7 TOTAL 12.1 100.0 8 packages and 0 specfiles checked; 19 errors, 58 warnings, 115 filtered, 27 badness; has taken 12.2 s