Пакет resource-agents: Repocop

Статус
Имя теста
Сообщение
ldirectord-4.14.0-alt1noarch
ok
init-lsb25 апреля 2024 г. 2:29See http://www.altlinux.org/Services_Policy for details.;
ldirectord-4.14.0-alt1noarch
skip
iconsdir25 апреля 2024 г. 2:29-
ldirectord-4.14.0-alt1noarch
ok
sisyphus_check25 апреля 2024 г. 2:29-
ldirectord-4.14.0-alt1noarch
ok
buildroot25 апреля 2024 г. 2:29-
ldirectord-4.14.0-alt1noarch
ok
unsafe-tmp-usage-in-scripts25 апреля 2024 г. 2:29-
ldirectord-4.14.0-alt1noarch
ok
init-condrestart25 апреля 2024 г. 2:29-
ldirectord-4.14.0-alt1noarch
ok
checkbashisms25 апреля 2024 г. 2:29-
resource-agents-4.14.0-alt1x86_64
ok
buildroot25 апреля 2024 г. 2:29-
resource-agents-4.14.0-alt1x86_64
error
unsafe-tmp-usage-in-scripts25 апреля 2024 г. 2:29The 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/lib/ocf/resource.d/heartbeat/rabbitmq-server-ha: $ grep /tmp/ /usr/lib/ocf/resource.d/heartbeat/rabbitmq-server-ha </parameter> <parameter name="debug" unique="0" required="0"> <longdesc lang="en"> The debug flag for agent (${OCF_RESKEY_binary}) instance. In the /tmp/ directory will be created rmq-* files for log some operations and ENV values inside OCF-script. </longdesc> <shortdesc lang="en">AMQP server (${OCF_RESKEY_binary}) debug flag</shortdesc> <content type="boolean" default="${OCF_RESKEY_debug_default}" /> </parameter> local rc=$OCF_ERR_GENERIC local LH="${LL} monitor:" ocf_log debug "${LH} action start." if ocf_is_true "${OCF_RESKEY_debug}"; then d=`date '+%Y%m%d %H:%M:%S'` echo $d >> /tmp/rmq-monitor.log env >> /tmp/rmq-monitor.log echo "$d [monitor] start='${OCF_RESKEY_CRM_meta_notify_start_uname}' stop='${OCF_RESKEY_CRM_meta_notify_stop_uname}' active='${OCF_RESKEY_CRM_meta_notify_active_uname}' inactive='${OCF_RESKEY_CRM_meta_notify_inactive_uname}'" >> /tmp/rmq-ocf.log fi get_monitor rc=$? ocf_log debug "${LH} role: ${OCF_RESKEY_CRM_meta_role}" ocf_log debug "${LH} result: $rc" -- local LH="${LL} start:" local nowtime if ocf_is_true "${OCF_RESKEY_debug}"; then d=`date '+%Y%m%d %H:%M:%S'` echo $d >> /tmp/rmq-start.log env >> /tmp/rmq-start.log echo "$d [start] start='${OCF_RESKEY_CRM_meta_notify_start_uname}' stop='${OCF_RESKEY_CRM_meta_notify_stop_uname}' active='${OCF_RESKEY_CRM_meta_notify_active_uname}' inactive='${OCF_RESKEY_CRM_meta_notify_inactive_uname}'" >> /tmp/rmq-ocf.log fi ocf_log info "${LH} action begin." get_status -- local rc=$OCF_ERR_GENERIC local LH="${LL} stop:" if ocf_is_true "${OCF_RESKEY_debug}"; then d=$(date '+%Y%m%d %H:%M:%S') echo $d >> /tmp/rmq-stop.log env >> /tmp/rmq-stop.log echo "$d [stop] start='${OCF_RESKEY_CRM_meta_notify_start_uname}' stop='${OCF_RESKEY_CRM_meta_notify_stop_uname}' active='${OCF_RESKEY_CRM_meta_notify_active_uname}' inactive='${OCF_RESKEY_CRM_meta_notify_inactive_uname}'" >> /tmp/rmq-ocf.log fi ocf_log info "${LH} action begin." ocf_log info "${LH} Deleting master attribute" -- local LH="${LL} notify:" local nodelist if ocf_is_true "${OCF_RESKEY_debug}"; then d=`date '+%Y%m%d %H:%M:%S'` echo $d >> /tmp/rmq-notify.log env >> /tmp/rmq-notify.log echo "$d [notify] ${OCF_RESKEY_CRM_meta_notify_type}-${OCF_RESKEY_CRM_meta_notify_operation} promote='${OCF_RESKEY_CRM_meta_notify_promote_uname}' demote='${OCF_RESKEY_CRM_meta_notify_demote_uname}' master='${OCF_RESKEY_CRM_meta_notify_master_uname}' slave='${OCF_RESKEY_CRM_meta_notify_slave_uname}' start='${OCF_RESKEY_CRM_meta_notify_start_uname}' stop='${OCF_RESKEY_CRM_meta_notify_stop_uname}' active='${OCF_RESKEY_CRM_meta_notify_active_uname}' inactive='${OCF_RESKEY_CRM_meta_notify_inactive_uname}'" >> /tmp/rmq-ocf.log fi if [ "${OCF_RESKEY_CRM_meta_notify_type}" = 'post' ] ; then # POST- anything notify section case "$OCF_RESKEY_CRM_meta_notify_operation" in -- local rc=$OCF_ERR_GENERIC local LH="${LL} promote:" if ocf_is_true "${OCF_RESKEY_debug}"; then d=$(date '+%Y%m%d %H:%M:%S') echo $d >> /tmp/rmq-promote.log env >> /tmp/rmq-promote.log echo "$d [promote] start='${OCF_RESKEY_CRM_meta_notify_start_uname}' stop='${OCF_RESKEY_CRM_meta_notify_stop_uname}' active='${OCF_RESKEY_CRM_meta_notify_active_uname}' inactive='${OCF_RESKEY_CRM_meta_notify_inactive_uname}'" >> /tmp/rmq-ocf.log fi ocf_log info "${LH} action begin." get_monitor;
resource-agents-4.14.0-alt1x86_64
skip
iconsdir25 апреля 2024 г. 2:29-
resource-agents-4.14.0-alt1x86_64
ok
checkbashisms25 апреля 2024 г. 2:29-
resource-agents-4.14.0-alt1x86_64
skip
init-condrestart25 апреля 2024 г. 2:29-
resource-agents-4.14.0-alt1x86_64
ok
sisyphus_check25 апреля 2024 г. 2:29-
resource-agents-CTDB-4.14.0-alt1noarch
skip
init-condrestart25 апреля 2024 г. 2:29-
resource-agents-CTDB-4.14.0-alt1noarch
skip
iconsdir25 апреля 2024 г. 2:29-
resource-agents-CTDB-4.14.0-alt1noarch
ok
sisyphus_check25 апреля 2024 г. 2:29-
resource-agents-CTDB-4.14.0-alt1noarch
ok
checkbashisms25 апреля 2024 г. 2:29-
resource-agents-CTDB-4.14.0-alt1noarch
ok
buildroot25 апреля 2024 г. 2:29-
resource-agents-CTDB-4.14.0-alt1noarch
ok
unsafe-tmp-usage-in-scripts25 апреля 2024 г. 2:29-
resource-agents-WinPopup-4.14.0-alt1noarch
ok
buildroot25 апреля 2024 г. 2:29-
resource-agents-WinPopup-4.14.0-alt1noarch
ok
checkbashisms25 апреля 2024 г. 2:29-
resource-agents-WinPopup-4.14.0-alt1noarch
skip
iconsdir25 апреля 2024 г. 2:29-
resource-agents-WinPopup-4.14.0-alt1noarch
ok
sisyphus_check25 апреля 2024 г. 2:29-
resource-agents-WinPopup-4.14.0-alt1noarch
ok
unsafe-tmp-usage-in-scripts25 апреля 2024 г. 2:29-
resource-agents-WinPopup-4.14.0-alt1noarch
skip
init-condrestart25 апреля 2024 г. 2:29-
resource-agents-debuginfo-4.14.0-alt1x86_64
ok
checkbashisms25 апреля 2024 г. 2:29-
resource-agents-debuginfo-4.14.0-alt1x86_64
skip
iconsdir25 апреля 2024 г. 2:29-
resource-agents-debuginfo-4.14.0-alt1x86_64
ok
unsafe-tmp-usage-in-scripts25 апреля 2024 г. 2:29-
resource-agents-debuginfo-4.14.0-alt1x86_64
ok
buildroot25 апреля 2024 г. 2:29-
resource-agents-debuginfo-4.14.0-alt1x86_64
ok
sisyphus_check25 апреля 2024 г. 2:29-
resource-agents-debuginfo-4.14.0-alt1x86_64
skip
init-condrestart25 апреля 2024 г. 2:29-
resource-agents-fio-4.14.0-alt1noarch
ok
unsafe-tmp-usage-in-scripts25 апреля 2024 г. 2:29-
resource-agents-fio-4.14.0-alt1noarch
ok
buildroot25 апреля 2024 г. 2:29-
resource-agents-fio-4.14.0-alt1noarch
skip
iconsdir25 апреля 2024 г. 2:29-
resource-agents-fio-4.14.0-alt1noarch
skip
init-condrestart25 апреля 2024 г. 2:29-
resource-agents-fio-4.14.0-alt1noarch
ok
checkbashisms25 апреля 2024 г. 2:29-
resource-agents-fio-4.14.0-alt1noarch
ok
sisyphus_check25 апреля 2024 г. 2:29-
resource-agents-iSCSI-4.14.0-alt1noarch
ok
unsafe-tmp-usage-in-scripts25 апреля 2024 г. 2:29-
resource-agents-iSCSI-4.14.0-alt1noarch
ok
checkbashisms25 апреля 2024 г. 2:29-
resource-agents-iSCSI-4.14.0-alt1noarch
ok
sisyphus_check25 апреля 2024 г. 2:29-
resource-agents-iSCSI-4.14.0-alt1noarch
ok
buildroot25 апреля 2024 г. 2:29-
resource-agents-iSCSI-4.14.0-alt1noarch
skip
init-condrestart25 апреля 2024 г. 2:29-
resource-agents-iSCSI-4.14.0-alt1noarch
skip
iconsdir25 апреля 2024 г. 2:29-
resource-agents-libvirt-4.14.0-alt1noarch
skip
init-condrestart25 апреля 2024 г. 2:29-
resource-agents-libvirt-4.14.0-alt1noarch
ok
unsafe-tmp-usage-in-scripts25 апреля 2024 г. 2:29-
resource-agents-libvirt-4.14.0-alt1noarch
ok
buildroot25 апреля 2024 г. 2:29-
resource-agents-libvirt-4.14.0-alt1noarch
skip
iconsdir25 апреля 2024 г. 2:29-
resource-agents-libvirt-4.14.0-alt1noarch
ok
sisyphus_check25 апреля 2024 г. 2:29-
resource-agents-libvirt-4.14.0-alt1noarch
ok
checkbashisms25 апреля 2024 г. 2:29-
resource-agents-lvm-4.14.0-alt1noarch
ok
buildroot25 апреля 2024 г. 2:29-
resource-agents-lvm-4.14.0-alt1noarch
skip
iconsdir25 апреля 2024 г. 2:29-
resource-agents-lvm-4.14.0-alt1noarch
ok
checkbashisms25 апреля 2024 г. 2:29-
resource-agents-lvm-4.14.0-alt1noarch
skip
init-condrestart25 апреля 2024 г. 2:29-
resource-agents-lvm-4.14.0-alt1noarch
ok
unsafe-tmp-usage-in-scripts25 апреля 2024 г. 2:29-
resource-agents-lvm-4.14.0-alt1noarch
ok
sisyphus_check25 апреля 2024 г. 2:29-
resource-agents-lxc-4.14.0-alt1noarch
ok
unsafe-tmp-usage-in-scripts25 апреля 2024 г. 2:29-
resource-agents-lxc-4.14.0-alt1noarch
skip
iconsdir25 апреля 2024 г. 2:29-
resource-agents-lxc-4.14.0-alt1noarch
ok
buildroot25 апреля 2024 г. 2:29-
resource-agents-lxc-4.14.0-alt1noarch
ok
checkbashisms25 апреля 2024 г. 2:29-
resource-agents-lxc-4.14.0-alt1noarch
skip
init-condrestart25 апреля 2024 г. 2:29-
resource-agents-lxc-4.14.0-alt1noarch
ok
sisyphus_check25 апреля 2024 г. 2:29-
resource-agents-nfs-4.14.0-alt1noarch
ok
unsafe-tmp-usage-in-scripts25 апреля 2024 г. 2:29-
resource-agents-nfs-4.14.0-alt1noarch
ok
checkbashisms25 апреля 2024 г. 2:29-
resource-agents-nfs-4.14.0-alt1noarch
skip
iconsdir25 апреля 2024 г. 2:29-
resource-agents-nfs-4.14.0-alt1noarch
skip
init-condrestart25 апреля 2024 г. 2:29-
resource-agents-nfs-4.14.0-alt1noarch
ok
buildroot25 апреля 2024 г. 2:29-
resource-agents-nfs-4.14.0-alt1noarch
ok
sisyphus_check25 апреля 2024 г. 2:29-
resource-agents-tomcat-4.14.0-alt1noarch
ok
buildroot25 апреля 2024 г. 2:29-
resource-agents-tomcat-4.14.0-alt1noarch
skip
iconsdir25 апреля 2024 г. 2:29-
resource-agents-tomcat-4.14.0-alt1noarch
skip
init-condrestart25 апреля 2024 г. 2:29-
resource-agents-tomcat-4.14.0-alt1noarch
ok
unsafe-tmp-usage-in-scripts25 апреля 2024 г. 2:29-
resource-agents-tomcat-4.14.0-alt1noarch
ok
checkbashisms25 апреля 2024 г. 2:29-
resource-agents-tomcat-4.14.0-alt1noarch
ok
sisyphus_check25 апреля 2024 г. 2:29-
resource-agents-xen-4.14.0-alt1noarch
skip
iconsdir25 апреля 2024 г. 2:29-
resource-agents-xen-4.14.0-alt1noarch
ok
unsafe-tmp-usage-in-scripts25 апреля 2024 г. 2:29-
resource-agents-xen-4.14.0-alt1noarch
ok
buildroot25 апреля 2024 г. 2:29-
resource-agents-xen-4.14.0-alt1noarch
skip
init-condrestart25 апреля 2024 г. 2:29-
resource-agents-xen-4.14.0-alt1noarch
ok
sisyphus_check25 апреля 2024 г. 2:29-
resource-agents-xen-4.14.0-alt1noarch
ok
checkbashisms25 апреля 2024 г. 2:29-