[Debian-ha-maintainers] Bug#646110: resource-agents and cluster-agents: error when trying to install together

Ralf Treinen treinen at debian.org
Fri Oct 21 13:33:16 BST 2011


Package: cluster-agents,resource-agents
Version: cluster-agents/1:1.0.3-4
Version: resource-agents/1:3.9.2-4
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2011-10-21
Architecture: amd64
Distribution: sid

Hi,

automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:


WARNING: The following packages cannot be authenticated!
  libtinfo5 libkeyutils1 libkrb5support0 libk5crypto3 libkrb5-3
  libgssapi-krb5-2 libsasl2-2 libldap-2.4-2 libpcre3 libwrap0 librtmp0
  libssh2-1 openssl ca-certificates libcurl3 libdbus-1-3 libglib2.0-0
  libdbus-glib-1-2 libsensors4 libdb4.8 libxml2 mime-support python2.7-minimal
  libexpat1 python2.7 python-minimal python libnet1 libltdl7 libpils2
  libplumb2 libplumbgpl2 liblrm2 libopenhpi2 libopenipmi0 libsnmp-base
  libperl5.12 libsnmp15 libstonith1 libtimedate-perl cluster-glue
  cluster-agents resource-agents

Extracting templates from packages: 69%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libtinfo5.
(Reading database ... 10586 files and directories currently installed.)
Unpacking libtinfo5 (from .../libtinfo5_5.9-2_amd64.deb) ...
Selecting previously unselected package libkeyutils1.
Unpacking libkeyutils1 (from .../libkeyutils1_1.5.2-2_amd64.deb) ...
Selecting previously unselected package libkrb5support0.
Unpacking libkrb5support0 (from .../libkrb5support0_1.9.1+dfsg-3_amd64.deb) ...
Selecting previously unselected package libk5crypto3.
Unpacking libk5crypto3 (from .../libk5crypto3_1.9.1+dfsg-3_amd64.deb) ...
Selecting previously unselected package libkrb5-3.
Unpacking libkrb5-3 (from .../libkrb5-3_1.9.1+dfsg-3_amd64.deb) ...
Selecting previously unselected package libgssapi-krb5-2.
Unpacking libgssapi-krb5-2 (from .../libgssapi-krb5-2_1.9.1+dfsg-3_amd64.deb) ...
Selecting previously unselected package libsasl2-2.
Unpacking libsasl2-2 (from .../libsasl2-2_2.1.25.dfsg1-2_amd64.deb) ...
Selecting previously unselected package libldap-2.4-2.
Unpacking libldap-2.4-2 (from .../libldap-2.4-2_2.4.25-4_amd64.deb) ...
Selecting previously unselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_8.12-4_amd64.deb) ...
Selecting previously unselected package libwrap0.
Unpacking libwrap0 (from .../libwrap0_7.6.q-21_amd64.deb) ...
Selecting previously unselected package librtmp0.
Unpacking librtmp0 (from .../librtmp0_2.4~20110711.gitc28f1bab-1_amd64.deb) ...
Selecting previously unselected package libssh2-1.
Unpacking libssh2-1 (from .../libssh2-1_1.2.8-2_amd64.deb) ...
Selecting previously unselected package openssl.
Unpacking openssl (from .../openssl_1.0.0e-2_amd64.deb) ...
Selecting previously unselected package ca-certificates.
Unpacking ca-certificates (from .../ca-certificates_20110502+nmu1_all.deb) ...
Selecting previously unselected package libcurl3.
Unpacking libcurl3 (from .../libcurl3_7.21.7-3_amd64.deb) ...
Selecting previously unselected package libdbus-1-3.
Unpacking libdbus-1-3 (from .../libdbus-1-3_1.4.16-1_amd64.deb) ...
Selecting previously unselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.28.8-1_amd64.deb) ...
Selecting previously unselected package libdbus-glib-1-2.
Unpacking libdbus-glib-1-2 (from .../libdbus-glib-1-2_0.98-1_amd64.deb) ...
Selecting previously unselected package libsensors4.
Unpacking libsensors4 (from .../libsensors4_1%3a3.3.1-1_amd64.deb) ...
Selecting previously unselected package libdb4.8.
Unpacking libdb4.8 (from .../libdb4.8_4.8.30-10_amd64.deb) ...
Selecting previously unselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-5_amd64.deb) ...
Selecting previously unselected package mime-support.
Unpacking mime-support (from .../mime-support_3.51-1_all.deb) ...
Selecting previously unselected package python2.7-minimal.
Unpacking python2.7-minimal (from .../python2.7-minimal_2.7.2-7_amd64.deb) ...
Selecting previously unselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_2.0.1-7_amd64.deb) ...
Selecting previously unselected package python2.7.
Unpacking python2.7 (from .../python2.7_2.7.2-7_amd64.deb) ...
Selecting previously unselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.7.2-9_all.deb) ...
Selecting previously unselected package python.
Unpacking python (from .../python_2.7.2-9_all.deb) ...
Selecting previously unselected package libnet1.
Unpacking libnet1 (from .../libnet1_1.1.4-2.1_amd64.deb) ...
Selecting previously unselected package libltdl7.
Unpacking libltdl7 (from .../libltdl7_2.4-4_amd64.deb) ...
Selecting previously unselected package libpils2.
Unpacking libpils2 (from .../libpils2_1.0.8-2_amd64.deb) ...
Selecting previously unselected package libplumb2.
Unpacking libplumb2 (from .../libplumb2_1.0.8-2_amd64.deb) ...
Selecting previously unselected package libplumbgpl2.
Unpacking libplumbgpl2 (from .../libplumbgpl2_1.0.8-2_amd64.deb) ...
Selecting previously unselected package liblrm2.
Unpacking liblrm2 (from .../liblrm2_1.0.8-2_amd64.deb) ...
Selecting previously unselected package libopenhpi2.
Unpacking libopenhpi2 (from .../libopenhpi2_2.14.1-1.1_amd64.deb) ...
Selecting previously unselected package libopenipmi0.
Unpacking libopenipmi0 (from .../libopenipmi0_2.0.16-1.3_amd64.deb) ...
Selecting previously unselected package libsnmp-base.
Unpacking libsnmp-base (from .../libsnmp-base_5.4.3~dfsg-2.3_all.deb) ...
Selecting previously unselected package libperl5.12.
Unpacking libperl5.12 (from .../libperl5.12_5.12.4-6_amd64.deb) ...
Selecting previously unselected package libsnmp15.
Unpacking libsnmp15 (from .../libsnmp15_5.4.3~dfsg-2.3_amd64.deb) ...
Selecting previously unselected package libstonith1.
Unpacking libstonith1 (from .../libstonith1_1.0.8-2_amd64.deb) ...
Selecting previously unselected package libtimedate-perl.
Unpacking libtimedate-perl (from .../libtimedate-perl_1.2000-1_all.deb) ...
Selecting previously unselected package cluster-glue.
Unpacking cluster-glue (from .../cluster-glue_1.0.8-2_amd64.deb) ...
Selecting previously unselected package cluster-agents.
Unpacking cluster-agents (from .../cluster-agents_1%3a1.0.3-4_amd64.deb) ...
Selecting previously unselected package resource-agents.
Unpacking resource-agents (from .../resource-agents_1%3a3.9.2-4_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/resource-agents_1%3a3.9.2-4_amd64.deb (--unpack):
 trying to overwrite '/etc/ha.d/shellfuncs', which is also in package cluster-agents 1:1.0.3-4
configured to not write apport reports
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/resource-agents_1%3a3.9.2-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


This is a serious bug as it makes installation fail, and violates
sections 7.6.1 and 10.1 of the policy. An optimal solution would
consist in only one of the packages installing that file, and renaming
or removing the file in the other package. Depending on the
circumstances you might also consider Replace relations or file
diversions. If the conflicting situation cannot be resolved then, as a
last resort, the two packages have to declare a mutual
Conflict. Please take into account that Replaces, Conflicts and
diversions should only be used when packages provide different
implementations for the same functionality.

Here is a list of files that are known to be shared by both packages
(according to the Contents file for sid/amd64, which may be
slightly out of sync):

  /etc/ha.d/shellfuncs
  /usr/lib/heartbeat/findif
  /usr/lib/heartbeat/send_arp
  /usr/lib/heartbeat/sfex_daemon
  /usr/lib/heartbeat/tickle_tcp
  /usr/lib/ocf/resource.d/heartbeat/.ocf-binaries
  /usr/lib/ocf/resource.d/heartbeat/.ocf-directories
  /usr/lib/ocf/resource.d/heartbeat/.ocf-returncodes
  /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs
  /usr/lib/ocf/resource.d/heartbeat/AoEtarget
  /usr/lib/ocf/resource.d/heartbeat/AudibleAlarm
  /usr/lib/ocf/resource.d/heartbeat/CTDB
  /usr/lib/ocf/resource.d/heartbeat/ClusterMon
  /usr/lib/ocf/resource.d/heartbeat/Delay
  /usr/lib/ocf/resource.d/heartbeat/Dummy
  /usr/lib/ocf/resource.d/heartbeat/EvmsSCC
  /usr/lib/ocf/resource.d/heartbeat/Evmsd
  /usr/lib/ocf/resource.d/heartbeat/Filesystem
  /usr/lib/ocf/resource.d/heartbeat/ICP
  /usr/lib/ocf/resource.d/heartbeat/IPaddr
  /usr/lib/ocf/resource.d/heartbeat/IPaddr2
  /usr/lib/ocf/resource.d/heartbeat/IPsrcaddr
  /usr/lib/ocf/resource.d/heartbeat/IPv6addr
  /usr/lib/ocf/resource.d/heartbeat/LVM
  /usr/lib/ocf/resource.d/heartbeat/LinuxSCSI
  /usr/lib/ocf/resource.d/heartbeat/MailTo
  /usr/lib/ocf/resource.d/heartbeat/ManageRAID
  /usr/lib/ocf/resource.d/heartbeat/ManageVE
  /usr/lib/ocf/resource.d/heartbeat/Pure-FTPd
  /usr/lib/ocf/resource.d/heartbeat/Raid1
  /usr/lib/ocf/resource.d/heartbeat/Route
  /usr/lib/ocf/resource.d/heartbeat/SAPDatabase
  /usr/lib/ocf/resource.d/heartbeat/SAPInstance
  /usr/lib/ocf/resource.d/heartbeat/SendArp
  /usr/lib/ocf/resource.d/heartbeat/ServeRAID
  /usr/lib/ocf/resource.d/heartbeat/SphinxSearchDaemon
  /usr/lib/ocf/resource.d/heartbeat/Squid
  /usr/lib/ocf/resource.d/heartbeat/Stateful
  /usr/lib/ocf/resource.d/heartbeat/SysInfo
  /usr/lib/ocf/resource.d/heartbeat/VIPArip
  /usr/lib/ocf/resource.d/heartbeat/VirtualDomain
  /usr/lib/ocf/resource.d/heartbeat/WAS
  /usr/lib/ocf/resource.d/heartbeat/WAS6
  /usr/lib/ocf/resource.d/heartbeat/WinPopup
  /usr/lib/ocf/resource.d/heartbeat/Xen
  /usr/lib/ocf/resource.d/heartbeat/Xinetd
  /usr/lib/ocf/resource.d/heartbeat/anything
  /usr/lib/ocf/resource.d/heartbeat/apache
  /usr/lib/ocf/resource.d/heartbeat/db2
  /usr/lib/ocf/resource.d/heartbeat/drbd
  /usr/lib/ocf/resource.d/heartbeat/eDir88
  /usr/lib/ocf/resource.d/heartbeat/iSCSILogicalUnit
  /usr/lib/ocf/resource.d/heartbeat/iSCSITarget
  /usr/lib/ocf/resource.d/heartbeat/ids
  /usr/lib/ocf/resource.d/heartbeat/iscsi
  /usr/lib/ocf/resource.d/heartbeat/ldirectord
  /usr/lib/ocf/resource.d/heartbeat/mysql
  /usr/lib/ocf/resource.d/heartbeat/mysql-proxy
  /usr/lib/ocf/resource.d/heartbeat/nfsserver
  /usr/lib/ocf/resource.d/heartbeat/oracle
  /usr/lib/ocf/resource.d/heartbeat/oralsnr
  /usr/lib/ocf/resource.d/heartbeat/pgsql
  /usr/lib/ocf/resource.d/heartbeat/pingd
  /usr/lib/ocf/resource.d/heartbeat/portblock
  /usr/lib/ocf/resource.d/heartbeat/postfix
  /usr/lib/ocf/resource.d/heartbeat/proftpd
  /usr/lib/ocf/resource.d/heartbeat/rsyncd
  /usr/lib/ocf/resource.d/heartbeat/scsi2reservation
  /usr/lib/ocf/resource.d/heartbeat/sfex
  /usr/lib/ocf/resource.d/heartbeat/syslog-ng
  /usr/lib/ocf/resource.d/heartbeat/tomcat
  /usr/lib/ocf/resource.d/heartbeat/vmware
  /usr/sbin/ocf-tester
  /usr/sbin/ocft
  /usr/sbin/sfex_init
  /usr/share/man/man7/ocf_heartbeat_AoEtarget.7.gz
  /usr/share/man/man7/ocf_heartbeat_AudibleAlarm.7.gz
  /usr/share/man/man7/ocf_heartbeat_CTDB.7.gz
  /usr/share/man/man7/ocf_heartbeat_ClusterMon.7.gz
  /usr/share/man/man7/ocf_heartbeat_Delay.7.gz
  /usr/share/man/man7/ocf_heartbeat_Dummy.7.gz
  /usr/share/man/man7/ocf_heartbeat_EvmsSCC.7.gz
  /usr/share/man/man7/ocf_heartbeat_Evmsd.7.gz
  /usr/share/man/man7/ocf_heartbeat_Filesystem.7.gz
  /usr/share/man/man7/ocf_heartbeat_ICP.7.gz
  /usr/share/man/man7/ocf_heartbeat_IPaddr.7.gz
  /usr/share/man/man7/ocf_heartbeat_IPaddr2.7.gz
  /usr/share/man/man7/ocf_heartbeat_IPsrcaddr.7.gz
  /usr/share/man/man7/ocf_heartbeat_IPv6addr.7.gz
  /usr/share/man/man7/ocf_heartbeat_LVM.7.gz
  /usr/share/man/man7/ocf_heartbeat_LinuxSCSI.7.gz
  /usr/share/man/man7/ocf_heartbeat_MailTo.7.gz
  /usr/share/man/man7/ocf_heartbeat_ManageRAID.7.gz
  /usr/share/man/man7/ocf_heartbeat_ManageVE.7.gz
  /usr/share/man/man7/ocf_heartbeat_Pure-FTPd.7.gz
  /usr/share/man/man7/ocf_heartbeat_Raid1.7.gz
  /usr/share/man/man7/ocf_heartbeat_Route.7.gz
  /usr/share/man/man7/ocf_heartbeat_SAPDatabase.7.gz
  /usr/share/man/man7/ocf_heartbeat_SAPInstance.7.gz
  /usr/share/man/man7/ocf_heartbeat_SendArp.7.gz
  /usr/share/man/man7/ocf_heartbeat_ServeRAID.7.gz
  /usr/share/man/man7/ocf_heartbeat_SphinxSearchDaemon.7.gz
  /usr/share/man/man7/ocf_heartbeat_Squid.7.gz
  /usr/share/man/man7/ocf_heartbeat_Stateful.7.gz
  /usr/share/man/man7/ocf_heartbeat_SysInfo.7.gz
  /usr/share/man/man7/ocf_heartbeat_VIPArip.7.gz
  /usr/share/man/man7/ocf_heartbeat_VirtualDomain.7.gz
  /usr/share/man/man7/ocf_heartbeat_WAS.7.gz
  /usr/share/man/man7/ocf_heartbeat_WAS6.7.gz
  /usr/share/man/man7/ocf_heartbeat_WinPopup.7.gz
  /usr/share/man/man7/ocf_heartbeat_Xen.7.gz
  /usr/share/man/man7/ocf_heartbeat_Xinetd.7.gz
  /usr/share/man/man7/ocf_heartbeat_anything.7.gz
  /usr/share/man/man7/ocf_heartbeat_apache.7.gz
  /usr/share/man/man7/ocf_heartbeat_db2.7.gz
  /usr/share/man/man7/ocf_heartbeat_drbd.7.gz
  /usr/share/man/man7/ocf_heartbeat_eDir88.7.gz
  /usr/share/man/man7/ocf_heartbeat_iSCSILogicalUnit.7.gz
  /usr/share/man/man7/ocf_heartbeat_iSCSITarget.7.gz
  /usr/share/man/man7/ocf_heartbeat_ids.7.gz
  /usr/share/man/man7/ocf_heartbeat_iscsi.7.gz
  /usr/share/man/man7/ocf_heartbeat_jboss.7.gz
  /usr/share/man/man7/ocf_heartbeat_mysql-proxy.7.gz
  /usr/share/man/man7/ocf_heartbeat_mysql.7.gz
  /usr/share/man/man7/ocf_heartbeat_nfsserver.7.gz
  /usr/share/man/man7/ocf_heartbeat_oracle.7.gz
  /usr/share/man/man7/ocf_heartbeat_oralsnr.7.gz
  /usr/share/man/man7/ocf_heartbeat_pgsql.7.gz
  /usr/share/man/man7/ocf_heartbeat_pingd.7.gz
  /usr/share/man/man7/ocf_heartbeat_portblock.7.gz
  /usr/share/man/man7/ocf_heartbeat_postfix.7.gz
  /usr/share/man/man7/ocf_heartbeat_proftpd.7.gz
  /usr/share/man/man7/ocf_heartbeat_rsyncd.7.gz
  /usr/share/man/man7/ocf_heartbeat_scsi2reservation.7.gz
  /usr/share/man/man7/ocf_heartbeat_sfex.7.gz
  /usr/share/man/man7/ocf_heartbeat_syslog-ng.7.gz
  /usr/share/man/man7/ocf_heartbeat_tomcat.7.gz
  /usr/share/man/man7/ocf_heartbeat_vmware.7.gz
  /usr/share/resource-agents/ocft/README
  /usr/share/resource-agents/ocft/README.zh_CN
  /usr/share/resource-agents/ocft/caselib
  /usr/share/resource-agents/ocft/configs/IPaddr2
  /usr/share/resource-agents/ocft/configs/IPsrcaddr
  /usr/share/resource-agents/ocft/configs/MailTo
  /usr/share/resource-agents/ocft/configs/SendArp
  /usr/share/resource-agents/ocft/configs/apache
  /usr/share/resource-agents/ocft/configs/mysql
  /usr/share/resource-agents/ocft/configs/nfsserver
  /usr/share/resource-agents/ocft/configs/portblock
  /usr/share/resource-agents/ra-api-1.dtd

This bug has been filed against both packages. If you, the maintainers of
the two packages in question, have agreed on which of the packages will
resolve the problem please reassign the bug to that package. You may then
also register in the BTS that the other package is affected by the bug.

-Ralf.

PS: for more information about the detection of file overwrite errors
of this kind see http://edos.debian.net/file-overwrites/.





More information about the Debian-ha-maintainers mailing list