Repocop reports by srpm

  rpm id test Status message
bacula7-7.4.7-alt3.M80P.1.src specfile-macros-get_dep-is-deprecated experimental Versioned Requires: foo >= %{get_dep something} using %get_dep and %get_version macros on a library are deprecated by set:versions. You probably should drop %get_dep/%get_version Requires: to avoid RPM database pollution.
bacula7-bat-7.4.7-alt3.M80P.1.x86_64 freedesktop-categories warn Menu-related Additional Categories (http://standards.freedesktop.org/menu-spec/latest/apa.html) not found in /usr/share/applications/bat.desktop. Please add it or report a bug against this test if you already have registered one (not including menu unrelated ones as Core or Qt).
bacula7-bat-7.4.7-alt3.M80P.1.x86_64 freedesktop-desktop info desktop-file-validate utility printed the following message(s): /usr/share/applications/bat.desktop: hint: value "System;Utility;X-Red-Hat-Base;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu
bacula7-bat-7.4.7-alt3.M80P.1.x86_64 rpm-filesystem-conflict-file-file warn File /usr/bin/bat conflicts with the package alsa-bat-1.1.0-alt1.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
bacula7-client-7.4.7-alt3.M80P.1.x86_64 init-lsb warn /etc/rc.d/init.d/bacula-fd: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
bacula7-common-7.4.7-alt3.M80P.1.x86_64 subdir-in-var-run info Found a subdir in /var/run or /var/lock. /var/run and /var/lock may be mounted as temporary filesystems, so the init.d scripts must handle this correctly. This will typically amount to creating any required subdirectories dynamically when the init.d script is run, rather than including them in the package and relying on rpm to create them.
bacula7-common-debuginfo-7.4.7-alt3.M80P.1.x86_64 rpm-filesystem-conflict-symlink-symlink warn value of symlink /usr/lib/debug/usr/lib64/libbac.so.debug is different from the same symlink in the package bacula-common-debuginfo-5.2.13-alt9.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
value of symlink /usr/lib/debug/usr/lib64/libbac.so.debug is different from the same symlink in the package bacula9-common-debuginfo-9.0.6-alt1.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
value of symlink /usr/lib/debug/usr/lib64/libbaccfg.so.debug is different from the same symlink in the package bacula-common-debuginfo-5.2.13-alt9.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
value of symlink /usr/lib/debug/usr/lib64/libbaccfg.so.debug is different from the same symlink in the package bacula9-common-debuginfo-9.0.6-alt1.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
value of symlink /usr/lib/debug/usr/lib64/libbacfind.so.debug is different from the same symlink in the package bacula-common-debuginfo-5.2.13-alt9.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
value of symlink /usr/lib/debug/usr/lib64/libbacfind.so.debug is different from the same symlink in the package bacula9-common-debuginfo-9.0.6-alt1.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
bacula7-director-common-7.4.7-alt3.M80P.1.x86_64 unsafe-tmp-usage-in-scripts fail The test discovered scripts with errors which may be used by a user for damaging important system files. For example if a script uses in its work a temp file which is created in /tmp directory, then every user can create symlinks with the same name (pattern) in this directory in order to destroy or rewrite some system or another user's files. Scripts _must_ _use_ mktemp/tempfile or must use $TMPDIR. mktemp/tempfile is safest. $TMPDIR is safer than /tmp/ because libpam-tmpdir creates a subdirectory of /tmp that is only accessible by that user, and then sets TMPDIR and other variables to that. Hence, it doesn't matter nearly as much if you create a non-random filename, because nobody but you can access it. Found error in /usr/share/doc/bacula7-director-common-7.4.7/updatedb/update_mysql_tables_11_to_12: $ grep -A5 -B5 /tmp/ /usr/share/doc/bacula7-director-common-7.4.7/updatedb/update_mysql_tables_11_to_12 echo " " bindir=/usr/bin PATH="$bindir:$PATH" db_name=${db_name:-bacula} mysql $* -D ${db_name} -e "select VersionId from Version\G" >/tmp/$$ DBVERSION=`sed -n -e 's/^VersionId: \(.*\)$/\1/p' /tmp/$$` if [ $DBVERSION != 11 ] ; then echo " " echo "The existing database is version $DBVERSION !!" echo "This script can only update an existing version 11 database to version 12." echo "Error. Cannot upgrade this database."
bacula7-director-common-debuginfo-7.4.7-alt3.M80P.1.x86_64 rpm-filesystem-conflict-symlink-symlink warn value of symlink /usr/lib/debug/usr/lib64/libbacsql.so.debug is different from the same symlink in the package bacula-director-common-debuginfo-5.2.13-alt9.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
value of symlink /usr/lib/debug/usr/lib64/libbacsql.so.debug is different from the same symlink in the package bacula9-director-common-debuginfo-9.0.6-alt1.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
bacula7-director-mysql-7.4.7-alt3.M80P.1.x86_64 init-but-no-native-systemd info The package have SysV init script(s) but no native systemd files.
bacula7-director-mysql-7.4.7-alt3.M80P.1.x86_64 init-lsb warn /etc/rc.d/init.d/bacula-dir: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
bacula7-director-mysql-7.4.7-alt3.M80P.1.x86_64 rpm-filesystem-conflict-file-file warn File /etc/rc.d/init.d/bacula-dir conflicts with the package bacula-director-postgresql-5.2.13-alt9.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
File /etc/rc.d/init.d/bacula-dir conflicts with the package bacula-director-sqlite3-5.2.13-alt9.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
bacula7-director-mysql-7.4.7-alt3.M80P.1.x86_64 unsafe-tmp-usage-in-scripts fail The test discovered scripts with errors which may be used by a user for damaging important system files. For example if a script uses in its work a temp file which is created in /tmp directory, then every user can create symlinks with the same name (pattern) in this directory in order to destroy or rewrite some system or another user's files. Scripts _must_ _use_ mktemp/tempfile or must use $TMPDIR. mktemp/tempfile is safest. $TMPDIR is safer than /tmp/ because libpam-tmpdir creates a subdirectory of /tmp that is only accessible by that user, and then sets TMPDIR and other variables to that. Hence, it doesn't matter nearly as much if you create a non-random filename, because nobody but you can access it. Found error in /usr/share/bacula/scripts/update_mysql_tables: $ grep -A5 -B5 /tmp/ /usr/share/bacula/scripts/update_mysql_tables ARGS=$* getVersion() { mysql $ARGS -D ${db_name} -e "select VersionId from Version LIMIT 1\G" >/tmp/$$ DBVERSION=`sed -n -e 's/^VersionId: \(.*\)$/\1/p' /tmp/$$` } getVersion if [ "x$DBVERSION" = x ]; then
bacula7-director-mysql-debuginfo-7.4.7-alt3.M80P.1.x86_64 rpm-filesystem-conflict-symlink-symlink warn value of symlink /usr/lib/debug/usr/lib64/libbaccats-mysql.so.debug is different from the same symlink in the package bacula-director-mysql-debuginfo-5.2.13-alt9.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
value of symlink /usr/lib/debug/usr/lib64/libbaccats-mysql.so.debug is different from the same symlink in the package bacula9-director-mysql-debuginfo-9.0.6-alt1.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
bacula7-director-postgresql-7.4.7-alt3.M80P.1.x86_64 init-but-no-native-systemd info The package have SysV init script(s) but no native systemd files.
bacula7-director-postgresql-7.4.7-alt3.M80P.1.x86_64 init-lsb warn /etc/rc.d/init.d/bacula-dir: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
bacula7-director-postgresql-7.4.7-alt3.M80P.1.x86_64 rpm-filesystem-conflict-file-file warn File /etc/rc.d/init.d/bacula-dir conflicts with the package bacula-director-mysql-5.2.13-alt9.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
File /etc/rc.d/init.d/bacula-dir conflicts with the package bacula-director-sqlite3-5.2.13-alt9.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
bacula7-director-postgresql-debuginfo-7.4.7-alt3.M80P.1.x86_64 rpm-filesystem-conflict-symlink-symlink warn value of symlink /usr/lib/debug/usr/lib64/libbaccats-postgresql.so.debug is different from the same symlink in the package bacula-director-postgresql-debuginfo-5.2.13-alt9.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
value of symlink /usr/lib/debug/usr/lib64/libbaccats-postgresql.so.debug is different from the same symlink in the package bacula9-director-postgresql-debuginfo-9.0.6-alt1.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
bacula7-director-sqlite3-7.4.7-alt3.M80P.1.x86_64 init-but-no-native-systemd info The package have SysV init script(s) but no native systemd files.
bacula7-director-sqlite3-7.4.7-alt3.M80P.1.x86_64 init-lsb warn /etc/rc.d/init.d/bacula-dir: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
bacula7-director-sqlite3-7.4.7-alt3.M80P.1.x86_64 rpm-filesystem-conflict-file-file warn File /etc/rc.d/init.d/bacula-dir conflicts with the package bacula-director-mysql-5.2.13-alt9.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
File /etc/rc.d/init.d/bacula-dir conflicts with the package bacula-director-postgresql-5.2.13-alt9.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
bacula7-director-sqlite3-debuginfo-7.4.7-alt3.M80P.1.x86_64 rpm-filesystem-conflict-symlink-symlink warn value of symlink /usr/lib/debug/usr/lib64/libbaccats-sqlite3.so.debug is different from the same symlink in the package bacula-director-sqlite3-debuginfo-5.2.13-alt9.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
value of symlink /usr/lib/debug/usr/lib64/libbaccats-sqlite3.so.debug is different from the same symlink in the package bacula9-director-sqlite3-debuginfo-9.0.6-alt1.M80P.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
bacula7-storage-7.4.7-alt3.M80P.1.x86_64 init-lsb warn /etc/rc.d/init.d/bacula-sd: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.

generated by repocop at Sat Feb 23 06:30:55 2019