[Debian-ha-maintainers] Bug#639985: fence-agents and cman: error when trying to install together

Ralf Treinen rt at murdock.inria.fr
Thu Sep 1 11:12:47 UTC 2011


Package: cman,fence-agents
Version: cman/3.0.12-2+b1
Version: fence-agents/3.1.5-1
Severity: serious
Submitter: Ralf Treinen <treinen at debian.org>
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2011-09-01
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!
  libbsd0 libedit2 libkeyutils1 libkrb5support0 libk5crypto3 libkrb5-3
  libgssapi-krb5-2 libsasl2-2 libldap-2.4-2 libwrap0 libnspr4-0d libnss3-1d
  libcorosync4 libxml2 libccs3 libcman3 libdlm3 libdlmcontrol3 libfence4
  liblogthread3 libsaamf3 libsackpt3 libsaclm3 libsaevt3 libsalck3 libsamsg4
  libsatmr3 libopenais3 libcap-ng0 dmsetup libdevmapper1.02.1 libnl1
  libpcap0.8 libxenstore3.0 libyajl1 libvirt0 corosync openais
  python2.6-minimal mime-support libdb4.8 libexpat1 python2.6 python-minimal
  python libopenipmi0 libsnmp-base libperl5.12 libsensors4 libsnmp15 openipmi
  libsgutils2-2 sg3-utils python-central python-pexpect libnet-snmp-perl
  libnet-telnet-perl snmp telnet openssh-client python-support python-openssl
  libxml2-utils cman fence-agents

Extracting templates from packages: 46%
Extracting templates from packages: 92%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libbsd0.
(Reading database ... 10665 files and directories currently installed.)
Unpacking libbsd0 (from .../libbsd0_0.3.0-1_amd64.deb) ...
Selecting previously deselected package libedit2.
Unpacking libedit2 (from .../libedit2_2.11-20080614-3_amd64.deb) ...
Selecting previously deselected package libkeyutils1.
Unpacking libkeyutils1 (from .../libkeyutils1_1.5.2-2_amd64.deb) ...
Selecting previously deselected package libkrb5support0.
Unpacking libkrb5support0 (from .../libkrb5support0_1.9.1+dfsg-2_amd64.deb) ...
Selecting previously deselected package libk5crypto3.
Unpacking libk5crypto3 (from .../libk5crypto3_1.9.1+dfsg-2_amd64.deb) ...
Selecting previously deselected package libkrb5-3.
Unpacking libkrb5-3 (from .../libkrb5-3_1.9.1+dfsg-2_amd64.deb) ...
Selecting previously deselected package libgssapi-krb5-2.
Unpacking libgssapi-krb5-2 (from .../libgssapi-krb5-2_1.9.1+dfsg-2_amd64.deb) ...
Selecting previously deselected package libsasl2-2.
Unpacking libsasl2-2 (from .../libsasl2-2_2.1.24~rc1.dfsg1+cvs2011-05-23-6_amd64.deb) ...
Selecting previously deselected package libldap-2.4-2.
Unpacking libldap-2.4-2 (from .../libldap-2.4-2_2.4.25-3_amd64.deb) ...
Selecting previously deselected package libwrap0.
Unpacking libwrap0 (from .../libwrap0_7.6.q-21_amd64.deb) ...
Selecting previously deselected package libnspr4-0d.
Unpacking libnspr4-0d (from .../libnspr4-0d_4.8.9-1_amd64.deb) ...
Selecting previously deselected package libnss3-1d.
Unpacking libnss3-1d (from .../libnss3-1d_3.12.11-2_amd64.deb) ...
Selecting previously deselected package libcorosync4.
Unpacking libcorosync4 (from .../libcorosync4_1.4.1-1_amd64.deb) ...
Selecting previously deselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-4_amd64.deb) ...
Selecting previously deselected package libccs3.
Unpacking libccs3 (from .../libccs3_3.0.12-2+b1_amd64.deb) ...
Selecting previously deselected package libcman3.
Unpacking libcman3 (from .../libcman3_3.0.12-2+b1_amd64.deb) ...
Selecting previously deselected package libdlm3.
Unpacking libdlm3 (from .../libdlm3_3.0.12-2+b1_amd64.deb) ...
Selecting previously deselected package libdlmcontrol3.
Unpacking libdlmcontrol3 (from .../libdlmcontrol3_3.0.12-2+b1_amd64.deb) ...
Selecting previously deselected package libfence4.
Unpacking libfence4 (from .../libfence4_3.0.12-2+b1_amd64.deb) ...
Selecting previously deselected package liblogthread3.
Unpacking liblogthread3 (from .../liblogthread3_3.0.12-2+b1_amd64.deb) ...
Selecting previously deselected package libsaamf3.
Unpacking libsaamf3 (from .../libsaamf3_1.1.4-2_amd64.deb) ...
Selecting previously deselected package libsackpt3.
Unpacking libsackpt3 (from .../libsackpt3_1.1.4-2_amd64.deb) ...
Selecting previously deselected package libsaclm3.
Unpacking libsaclm3 (from .../libsaclm3_1.1.4-2_amd64.deb) ...
Selecting previously deselected package libsaevt3.
Unpacking libsaevt3 (from .../libsaevt3_1.1.4-2_amd64.deb) ...
Selecting previously deselected package libsalck3.
Unpacking libsalck3 (from .../libsalck3_1.1.4-2_amd64.deb) ...
Selecting previously deselected package libsamsg4.
Unpacking libsamsg4 (from .../libsamsg4_1.1.4-2_amd64.deb) ...
Selecting previously deselected package libsatmr3.
Unpacking libsatmr3 (from .../libsatmr3_1.1.4-2_amd64.deb) ...
Selecting previously deselected package libopenais3.
Unpacking libopenais3 (from .../libopenais3_1.1.4-2_amd64.deb) ...
Selecting previously deselected package libcap-ng0.
Unpacking libcap-ng0 (from .../libcap-ng0_0.6.6-1_amd64.deb) ...
Selecting previously deselected package dmsetup.
Unpacking dmsetup (from .../dmsetup_2%3a1.02.65-1_amd64.deb) ...
Selecting previously deselected package libdevmapper1.02.1.
Unpacking libdevmapper1.02.1 (from .../libdevmapper1.02.1_2%3a1.02.65-1_amd64.deb) ...
Selecting previously deselected package libnl1.
Unpacking libnl1 (from .../libnl1_1.1-7_amd64.deb) ...
Selecting previously deselected package libpcap0.8.
Unpacking libpcap0.8 (from .../libpcap0.8_1.1.1-8_amd64.deb) ...
Selecting previously deselected package libxenstore3.0.
Unpacking libxenstore3.0 (from .../libxenstore3.0_4.1.1-2_amd64.deb) ...
Selecting previously deselected package libyajl1.
Unpacking libyajl1 (from .../libyajl1_1.0.12-1_amd64.deb) ...
Selecting previously deselected package libvirt0.
Unpacking libvirt0 (from .../libvirt0_0.9.4-2_amd64.deb) ...
Selecting previously deselected package corosync.
Unpacking corosync (from .../corosync_1.4.1-1_amd64.deb) ...
Selecting previously deselected package openais.
Unpacking openais (from .../openais_1.1.4-2_amd64.deb) ...
Selecting previously deselected package python2.6-minimal.
Unpacking python2.6-minimal (from .../python2.6-minimal_2.6.7-4_amd64.deb) ...
Selecting previously deselected package mime-support.
Unpacking mime-support (from .../mime-support_3.51-1_all.deb) ...
Selecting previously deselected package libdb4.8.
Unpacking libdb4.8 (from .../libdb4.8_4.8.30-9_amd64.deb) ...
Selecting previously deselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_2.0.1-7_amd64.deb) ...
Selecting previously deselected package python2.6.
Unpacking python2.6 (from .../python2.6_2.6.7-4_amd64.deb) ...
Selecting previously deselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.6.7-3_all.deb) ...
Selecting previously deselected package python.
Unpacking python (from .../python_2.6.7-3_all.deb) ...
Selecting previously deselected package libopenipmi0.
Unpacking libopenipmi0 (from .../libopenipmi0_2.0.16-1.3_amd64.deb) ...
Selecting previously deselected package libsnmp-base.
Unpacking libsnmp-base (from .../libsnmp-base_5.4.3~dfsg-2.3_all.deb) ...
Selecting previously deselected package libperl5.12.
Unpacking libperl5.12 (from .../libperl5.12_5.12.4-4_amd64.deb) ...
Selecting previously deselected package libsensors4.
Unpacking libsensors4 (from .../libsensors4_1%3a3.3.0-4_amd64.deb) ...
Selecting previously deselected package libsnmp15.
Unpacking libsnmp15 (from .../libsnmp15_5.4.3~dfsg-2.3_amd64.deb) ...
Selecting previously deselected package openipmi.
Unpacking openipmi (from .../openipmi_2.0.16-1.3_amd64.deb) ...
Selecting previously deselected package libsgutils2-2.
Unpacking libsgutils2-2 (from .../libsgutils2-2_1.32-1_amd64.deb) ...
Selecting previously deselected package sg3-utils.
Unpacking sg3-utils (from .../sg3-utils_1.32-1_amd64.deb) ...
Selecting previously deselected package python-central.
Unpacking python-central (from .../python-central_0.6.17_all.deb) ...
Selecting previously deselected package python-pexpect.
Unpacking python-pexpect (from .../python-pexpect_2.3-1_all.deb) ...
Selecting previously deselected package libnet-snmp-perl.
Unpacking libnet-snmp-perl (from .../libnet-snmp-perl_6.0.1-2_all.deb) ...
Selecting previously deselected package libnet-telnet-perl.
Unpacking libnet-telnet-perl (from .../libnet-telnet-perl_3.03-3_all.deb) ...
Selecting previously deselected package snmp.
Unpacking snmp (from .../snmp_5.4.3~dfsg-2.3_amd64.deb) ...
Selecting previously deselected package telnet.
Unpacking telnet (from .../telnet_0.17-36_amd64.deb) ...
Selecting previously deselected package openssh-client.
Unpacking openssh-client (from .../openssh-client_1%3a5.8p1-7_amd64.deb) ...
Selecting previously deselected package python-support.
Unpacking python-support (from .../python-support_1.0.14_all.deb) ...
Selecting previously deselected package python-openssl.
Unpacking python-openssl (from .../python-openssl_0.13~a1-1_amd64.deb) ...
Selecting previously deselected package libxml2-utils.
Unpacking libxml2-utils (from .../libxml2-utils_2.7.8.dfsg-4_amd64.deb) ...
Selecting previously deselected package cman.
Unpacking cman (from .../cman_3.0.12-2+b1_amd64.deb) ...
Selecting previously deselected package fence-agents.
Unpacking fence-agents (from .../fence-agents_3.1.5-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/fence-agents_3.1.5-1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/fence/fencing.py', which is also in package cman 3.0.12-2+b1
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/fence-agents_3.1.5-1_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):

  /usr/sbin/fence_ack_manual
  /usr/sbin/fence_alom
  /usr/sbin/fence_apc
  /usr/sbin/fence_apc_snmp
  /usr/sbin/fence_baytech
  /usr/sbin/fence_bladecenter
  /usr/sbin/fence_brocade
  /usr/sbin/fence_bullpap
  /usr/sbin/fence_cisco_mds
  /usr/sbin/fence_cpint
  /usr/sbin/fence_drac
  /usr/sbin/fence_drac5
  /usr/sbin/fence_egenera
  /usr/sbin/fence_eps
  /usr/sbin/fence_ibmblade
  /usr/sbin/fence_ifmib
  /usr/sbin/fence_ilo
  /usr/sbin/fence_ilo_mp
  /usr/sbin/fence_intelmodular
  /usr/sbin/fence_ipmilan
  /usr/sbin/fence_ldom
  /usr/sbin/fence_lpar
  /usr/sbin/fence_mcdata
  /usr/sbin/fence_nss_wrapper
  /usr/sbin/fence_rackswitch
  /usr/sbin/fence_rsa
  /usr/sbin/fence_rsb
  /usr/sbin/fence_sanbox2
  /usr/sbin/fence_scsi
  /usr/sbin/fence_virsh
  /usr/sbin/fence_vixel
  /usr/sbin/fence_vmware
  /usr/sbin/fence_vmware_helper
  /usr/sbin/fence_wti
  /usr/sbin/fence_xcat
  /usr/sbin/fence_zvm
  /usr/share/fence/fencing.py
  /usr/share/fence/fencing_snmp.py
  /usr/share/man/man8/fence_ack_manual.8.gz
  /usr/share/man/man8/fence_alom.8.gz
  /usr/share/man/man8/fence_apc.8.gz
  /usr/share/man/man8/fence_apc_snmp.8.gz
  /usr/share/man/man8/fence_baytech.8.gz
  /usr/share/man/man8/fence_bladecenter.8.gz
  /usr/share/man/man8/fence_brocade.8.gz
  /usr/share/man/man8/fence_bullpap.8.gz
  /usr/share/man/man8/fence_cisco_mds.8.gz
  /usr/share/man/man8/fence_cpint.8.gz
  /usr/share/man/man8/fence_drac.8.gz
  /usr/share/man/man8/fence_drac5.8.gz
  /usr/share/man/man8/fence_egenera.8.gz
  /usr/share/man/man8/fence_eps.8.gz
  /usr/share/man/man8/fence_ibmblade.8.gz
  /usr/share/man/man8/fence_ifmib.8.gz
  /usr/share/man/man8/fence_ilo.8.gz
  /usr/share/man/man8/fence_ilo_mp.8.gz
  /usr/share/man/man8/fence_intelmodular.8.gz
  /usr/share/man/man8/fence_ipmilan.8.gz
  /usr/share/man/man8/fence_ldom.8.gz
  /usr/share/man/man8/fence_lpar.8.gz
  /usr/share/man/man8/fence_mcdata.8.gz
  /usr/share/man/man8/fence_rackswitch.8.gz
  /usr/share/man/man8/fence_rsa.8.gz
  /usr/share/man/man8/fence_rsb.8.gz
  /usr/share/man/man8/fence_sanbox2.8.gz
  /usr/share/man/man8/fence_scsi.8.gz
  /usr/share/man/man8/fence_virsh.8.gz
  /usr/share/man/man8/fence_vixel.8.gz
  /usr/share/man/man8/fence_vmware.8.gz
  /usr/share/man/man8/fence_wti.8.gz
  /usr/share/man/man8/fence_xcat.8.gz
  /usr/share/man/man8/fence_zvm.8.gz

This bug is assigned to 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
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