============================ 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/samba-client-rpmlintrc checks: 41, packages: 25 ctdb.armv7hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /run/ctdb" ctdb.armv7hl: W: zero-perms-ghost Suggestion: "%ghost %attr(0755,root,root) /run/ctdbd" 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 samba-client.armv7hl: E: zero-length /usr/share/samba/templates/default-global samba-client.armv7hl: E: zero-length /usr/share/samba/templates/default-groups samba-client.armv7hl: E: zero-length /usr/share/samba/templates/default-homes samba-client.armv7hl: E: zero-length /usr/share/samba/templates/default-print$ samba-client.armv7hl: E: zero-length /usr/share/samba/templates/default-printers samba-client.armv7hl: E: zero-length /usr/share/samba/templates/default-profiles samba-client.armv7hl: E: zero-length /usr/share/samba/templates/default-users samba.src: E: unused-rpmlintrc-filter "shlib-policy-name-error" libldb2.armv7hl: W: shlib-unversioned-lib rdn_name.so libldb2.armv7hl: W: shlib-unversioned-lib skel.so libldb2.armv7hl: W: shlib-unversioned-lib tdb.so libldb2.armv7hl: W: shlib-unversioned-lib paged_searches.so libldb2.armv7hl: W: shlib-unversioned-lib asq.so libldb2.armv7hl: W: shlib-unversioned-lib libldb-tdb-err-map-private-samba.so libldb2.armv7hl: W: shlib-unversioned-lib ldb.so libldb2.armv7hl: W: shlib-unversioned-lib libldb-tdb-int-private-samba.so libldb2.armv7hl: W: shlib-unversioned-lib libldb-key-value-private-samba.so libldb2.armv7hl: W: shlib-unversioned-lib sample.so libldb2.armv7hl: W: shlib-unversioned-lib server_sort.so Your package matches the Shared Library Policy Naming Scheme but contains an unversioned library. Therefore it is very unlikely that your package can be installed in parallel to another version of this library package. Consider moving unversioned parts into another package. ctdb.armv7hl: W: self-obsoletion ctdb-tests <= 4.22.1+git.393.a3fcbaec1e5 obsoletes ctdb-tests = 4.22.1+git.393.a3fcbaec1e5 The package obsoletes itself. This is known to cause errors in various tools and should thus be avoided, usually by using appropriately versioned Obsoletes and/or Provides and avoiding unversioned ones. ctdb.armv7hl: W: potential-bashisms /etc/ctdb/debug_locks.sh ctdb.armv7hl: W: potential-bashisms /etc/ctdb/nfs-linux-kernel-callout ctdb.armv7hl: W: potential-bashisms /usr/share/ctdb/events/legacy/95.database.script ctdb.armv7hl: W: potential-bashisms /usr/share/ctdb/events/legacy/91.lvs.script samba-doc.noarch: W: potential-bashisms /usr/share/doc/packages/samba/examples/scripts/debugging/linux/backtrace checkbashisms reported potential bashisms in a /bin/sh shell script, you might want to manually check this script for bashisms. samba-client.armv7hl: W: post-without-tmpfile-creation /usr/lib/tmpfiles.d/samba.conf Please use the %tmpfiles_create macro in %post for each of your tmpfiles.d files if you expect this file or directory to be available after package installation (and before reboot). libldb2.armv7hl: W: obsolete-not-provided libldb1 python3-ldb.armv7hl: W: obsolete-not-provided python-ldb python3-ldb.armv7hl: W: obsolete-not-provided python3-ldb-devel samba.armv7hl: W: obsolete-not-provided samba-32bit samba.armv7hl: W: obsolete-not-provided samba-gplv3 samba-client.armv7hl: W: obsolete-not-provided samba-client-gplv2 samba-client.armv7hl: W: obsolete-not-provided samba-gplv3-client samba-client-libs.armv7hl: W: obsolete-not-provided libndr0 samba-client-libs.armv7hl: W: obsolete-not-provided libndr1 samba-client-libs.armv7hl: W: obsolete-not-provided libsamba-credentials0 samba-client-libs.armv7hl: W: obsolete-not-provided libsamba-policy0-python3 samba-client-libs.armv7hl: W: obsolete-not-provided libsmbldap0 samba-devel.armv7hl: W: obsolete-not-provided libsamba-policy-python3-devel samba-winbind.armv7hl: W: obsolete-not-provided samba-gplv3-winbind samba-doc.noarch: W: obsolete-not-provided samba-doc-gplv2 samba-doc.noarch: W: obsolete-not-provided samba-gplv3-doc 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. samba-winbind.armv7hl: W: non-standard-gid /var/lib/samba/winbindd_privileged winbind A file in this package is owned by an unregistered group id. To register the group, please make a pull request to the rpmlint config file configs/openSUSE/users-groups.toml in the opensuse branch of the rpmlint repository. ctdb-pcp-pmda.armv7hl: E: non-executable-script /var/lib/pcp/pmdas/ctdb/Install 644 /bin/sh ctdb-pcp-pmda.armv7hl: E: non-executable-script /var/lib/pcp/pmdas/ctdb/Remove 644 /bin/sh samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/subunit/run.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/auth_log.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/blackbox/claims.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/blackbox/rpcd_witness_samba_only.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/dcerpc/raw_protocol.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/alias_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/as_canonicalization_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/as_req_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/authn_policy_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/claims_in_pac.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/claims_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/compatability_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/conditional_ace_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/device_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/etype_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/fast_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/gkdi_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/gmsa_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/group_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/kcrypto.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/kdc_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/kdc_tgs_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/kdc_tgt_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/kpasswd_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/lockout_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/ms_kile_client_principal_lookup_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/netlogon.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/nt_hash_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/pac_align_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/pkinit_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/protected_users_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/rodc_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/s4u_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/salt_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/simple_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/spn_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/test_ccache.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/test_idmap_nss.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/test_ldap.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/test_min_domain_uid.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/test_rpc.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/test_smb.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/krb5/xrealm_tests.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/ndr/gkdi.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/ndr/gmsa.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/smb-notify.py 644 /usr/bin/env python3 samba-python3.armv7hl: E: non-executable-script /usr/lib/python3.13/site-packages/samba/tests/source_chars.py 644 /usr/bin/env 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. samba-client.armv7hl: W: non-etc-or-var-file-marked-as-conffile /usr/share/samba/LDAP/samba-nds.schema A file not in /etc or /var is marked as being a configuration file (%config). Please put your configuration files in /etc or /var. ctdb.armv7hl: W: non-conffile-in-etc /etc/ctdb/config_migrate.sh ctdb.armv7hl: W: non-conffile-in-etc /etc/ctdb/ctdb-backup-persistent-tdbs.sh ctdb.armv7hl: W: non-conffile-in-etc /etc/ctdb/ctdb-crash-cleanup.sh ctdb.armv7hl: W: non-conffile-in-etc /etc/ctdb/debug-hung-script.sh ctdb.armv7hl: W: non-conffile-in-etc /etc/ctdb/debug_locks.sh ctdb.armv7hl: W: non-conffile-in-etc /etc/ctdb/events/notification/README ctdb.armv7hl: W: non-conffile-in-etc /etc/ctdb/functions ctdb.armv7hl: W: non-conffile-in-etc /etc/ctdb/nfs-checks.d/README ctdb.armv7hl: W: non-conffile-in-etc /etc/ctdb/nfs-linux-kernel-callout ctdb.armv7hl: W: non-conffile-in-etc /etc/ctdb/notify.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. samba-devel.armv7hl: W: no-version-dependency-on samba*/samba-libs/libsamba* 4.22.1+git.393.a3fcbaec1e5 libldb-devel.armv7hl: E: no-binary samba-devel.armv7hl: E: no-binary samba-gpupdate.armv7hl: E: no-binary samba-tool.armv7hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. samba.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. samba.spec:50: W: macro-in-comment %with_dc samba.spec:50: W: macro-in-comment %with_mit_dc samba.spec:50: W: macro-in-comment %with_mitkrb5 samba.spec:592: W: macro-in-comment %{version} samba.spec:921: W: macro-in-comment %{DOCDIR} 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. ctdb.armv7hl: E: env-script-interpreter (Badness: 9) /usr/bin/onnode /usr/bin/env bash samba-doc.noarch: E: env-script-interpreter (Badness: 9) /usr/share/doc/packages/samba/examples/logon/ntlogon/ntlogon.py /usr/bin/env python3 samba-doc.noarch: E: env-script-interpreter (Badness: 9) /usr/share/doc/packages/samba/examples/scripts/debugging/smbXsrvdump /usr/bin/env python3 samba-doc.noarch: E: env-script-interpreter (Badness: 9) /usr/share/doc/packages/samba/examples/scripts/nmb/findsmb /usr/bin/env perl 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. ctdb-pcp-pmda.armv7hl: E: devel-file-in-non-devel-package (Badness: 50) /var/lib/pcp/pmdas/ctdb/domain.h A file that is needed only e.g. when developing or building software is included in a non-devel package. These files should go in devel packages. samba-client-libs.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/samba/libsamba-sockets-private-samba.so 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 14.3 44.3 ExtractRpm 9.0 27.7 BashismsCheck 6.1 18.8 SignatureCheck 0.6 1.7 FilesCheck 0.5 1.6 SpecCheck 0.4 1.3 TagsCheck 0.4 1.1 BuildRootAndDateCheck 0.3 1.0 TOTAL 32.4 100.0 25 packages and 0 specfiles checked; 66 errors, 56 warnings, 346 filtered, 147 badness; has taken 32.6 s