============================ rpmlint session starts ============================ rpmlint: 2.2.0 configuration: /opt/testing/lib/python3.8/site-packages/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/users-groups.toml /opt/testing/share/rpmlint/world-writable-whitelist.toml /etc/xdg/rpmlint/scoring-strict.override.toml rpmlintrc: /home/abuild/rpmbuild/SOURCES/mariadb-rpmlintrc checks: 39, packages: 11 mariadb.src: E: unused-rpmlintrc-filter "arch-dependent-file-in-usr-share .* /usr/share/mysql-test/lib/My/SafeProcess/wsrep_check_version" mariadb.src: E: unused-rpmlintrc-filter "arch-dependent-file-in-usr-share .* /usr/share/mysql-test/lib/My/SafeProcess/my_safe_process" mariadb.src: E: unused-rpmlintrc-filter "arch-dependent-file-in-usr-share .* /usr/share/mysql-test/suite/plugins/pam/pam_mariadb_mtr.so" mariadb.armv6hl: W: tmpfile-not-in-filelist /run/mysql 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. mariadb.armv6hl: E: systemd-service-without-service_del_preun mysql.service The package contains a systemd service but doesn't contain a %preun with a call to service_del_preun. mariadb.armv6hl: E: systemd-service-without-service_del_postun mysql.service The package contains a systemd service but doesn't contain a %postun with a call to service_del_postun. mariadb.armv6hl: E: systemd-service-without-service_add_pre mysql.service The package contains a systemd service but doesn't contain a %pre with a call to service_add_pre. mariadb.armv6hl: E: systemd-service-without-service_add_post mysql.service The package contains a systemd service but doesn't contain a %post with a call to service_add_post. mariadb-bench.armv6hl: E: script-without-shebang /usr/share/sql-bench/myisam.cnf 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. mariadb.armv6hl: W: potential-bashisms /usr/bin/mariadbd-safe mariadb.armv6hl: W: potential-bashisms /usr/bin/mariadb-secure-installation checkbashisms reported potential bashisms in a /bin/sh shell script, you might want to manually check this script for bashisms. mariadb.armv6hl: W: non-standard-dir-in-var adm Your package is creating a non-standard subdirectory in /var. The standard directories are: cache, lib, local, lock, log, opt, run, spool, tmp, account, crash, games, mail, yp. mariadb.armv6hl: W: name-repeated-in-summary MariaDB mariadb.src: W: name-repeated-in-summary MariaDB The name of the package is repeated in its summary. Make the summary brief and to the point without including redundant information in it. mariadb-bench.armv6hl: W: files-duplicate /usr/share/sql-bench/Data/ATIS/stop1.txt /usr/share/sql-bench/Data/ATIS/stop.txt mariadb-test.armv6hl: E: file-parent-ownership-mismatch Path "/usr/share/mysql-test/valgrind.supp" owned by "root" is stored in directory owned by "mysql" A file or directory is stored in a directory owned by another unprivileged user. This is a security issue since the owner of the parent directory can replace this file/directory with a different one. mariadb-galera.armv6hl: E: env-script-interpreter (Badness: 9) /usr/bin/wsrep_sst_mariabackup /usr/bin/env bash mariadb-galera.armv6hl: E: env-script-interpreter (Badness: 9) /usr/bin/wsrep_sst_mysqldump /usr/bin/env bash mariadb-galera.armv6hl: E: env-script-interpreter (Badness: 9) /usr/bin/wsrep_sst_rsync /usr/bin/env bash 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. mariadb.armv6hl: W: binary-or-shlib-calls-gethostbyname /usr/bin/resolveip 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 140.3 55.1 89 rpm2cpio 34.9 13.7 BuildRootAndDateCheck 19.5 7.7 18448 BashismsCheck 15.1 5.9 18448 FilesCheck 14.9 5.8 SharedLibraryPolicyCheck 14.7 5.8 FilelistCheck 7.8 3.1 TOTAL 254.8 100.0 18448 11 packages and 0 specfiles checked; 12 errors, 8 warnings, 36 badness; has taken 260.3 s