[bionic] qemu-* depends on libibverbs

Bug #1783775 reported by Talat Batheesh
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libibverbs (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

During OFED internal installation the [1] packages removed due to libibverbs1 package dependencies, for example [2].
We see that qemu-system-x86 is depends on libibverbs1 as we see in the apt-case [2]
Once the qemu-* are deleted, we can't work over virtualization (VM, SR-IOV,Passthrough, etc..) in hypervisor.
This should impact on user that installed libibverbs1/MLNX_OFED and uses virtualization.

Could you please assist with knowing the reason of the dependency between qemu-system-x86 and libibverbs ?
In the older releases we didn't see this issue

[1]
  ibverbs-providers libibverbs1 librados2 librbd1 librdmacm1 qemu qemu-block-extra qemu-system qemu-system-arm qemu-system-common qemu-system-mips qemu-system-misc qemu-system-ppc
  qemu-system-s390x qemu-system-sparc qemu-system-x86 qemu-utils

[2]
Example:

root@reg-l-vrt-120:~# apt-get remove libibverbs1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  at cpu-checker cryptsetup cryptsetup-bin db-util db5.3-util dctrl-tools debootstrap devscripts dput extlinux fonts-droid-fallback fonts-noto-mono ghostscript hfsplus icoutils
  ipxe-qemu ipxe-qemu-256k-compat-efi-roms kpartx ldmtool libafflib0v5 libapt-pkg-perl libasound2 libasound2-data libb-hooks-endofscope-perl libb-hooks-op-check-perl libbfio1
  libbluetooth3 libbrlapi0.6 libclass-method-modifiers-perl libclass-xsaccessor-perl libclone-perl libconfig9 libcupsfilters1 libcupsimage2 libdata-optlist-perl libdate-manip-perl
  libdevel-callchecker-perl libdevel-globaldestruction-perl libdistro-info-perl libdynaloader-functions-perl libemail-valid-perl libewf2 libexporter-tiny-perl libfdt1
  libfile-basedir-perl libfile-chdir-perl libfile-homedir-perl libfile-which-perl libgetopt-long-descriptive-perl libgit-wrapper-perl libgs9 libgs9-common libhfsp0 libhivex0
  libijs-0.35 libimport-into-perl libintl-perl libintl-xs-perl libio-pty-perl libio-stringy-perl libipc-run-perl libipc-system-simple-perl libiscsi7 libjbig2dec0 libldm-1.0-0
  liblist-compare-perl liblist-moreutils-perl libmodule-implementation-perl libmodule-runtime-perl libmoo-perl libnamespace-clean-perl libnet-dns-perl libnet-domain-tld-perl
  libnet-ip-perl libnetpbm10 libnumber-compare-perl libnumber-range-perl libpackage-stash-perl libpackage-stash-xs-perl libpaper-utils libpaper1 libparams-classify-perl
  libparams-util-perl libparams-validate-perl libpath-iterator-rule-perl libpath-tiny-perl libperlio-gzip-perl libpod-constants-perl libregexp-pattern-license-perl
  librole-tiny-perl libsdl1.2debian libsort-key-perl libsort-versions-perl libspice-server1 libstrictures-perl libstring-copyright-perl libstring-escape-perl
  libstring-shellquote-perl libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl libsub-quote-perl libsys-virt-perl libtext-glob-perl
  libtext-levenshtein-perl libtsk13 libunicode-utf8-perl libvariable-magic-perl libwin-hivex-perl libxml-xpath-perl libyaml-libyaml-perl licensecheck lintian lsscsi lzop msr-tools
  mtools netpbm poppler-data python-argcomplete python-cheetah python3-debian python3-gpg python3-magic python3-unidiff python3-xdg qemu-slof scrub seabios sgabios sharutils
  sleuthkit squashfs-tools supermin syslinux syslinux-common t1utils unzip zerofree
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  ibverbs-providers libibverbs1 librados2 librbd1 librdmacm1 qemu qemu-block-extra qemu-system qemu-system-arm qemu-system-common qemu-system-mips qemu-system-misc qemu-system-ppc
  qemu-system-s390x qemu-system-sparc qemu-system-x86 qemu-utils
0 upgraded, 0 newly installed, 17 to remove and 0 not upgraded.
After this operation, 266 MB disk space will be freed.
Do you want to continue? [Y/n] n
To see dependencies:

[3]

root@reg-l-vrt-189:~# apt-cache depends qemu-system-x86
qemu-system-x86
  Depends: libaio1
  Depends: libasound2
  Depends: libbluetooth3
  Depends: libbrlapi0.6
  Depends: libc6
  Depends: libcacard0
  Depends: libfdt1
  Depends: libgcc1
  Depends: libglib2.0-0
  Depends: libgnutls30
  Depends: libibverbs1
  Depends: libjpeg8
  Depends: libncursesw5
  Depends: libnettle6
  Depends: libnuma1
  Depends: libpixman-1-0
  Depends: libpng16-16
  Depends: libpulse0
  Depends: librdmacm1
  Depends: libsasl2-2
  Depends: libsdl1.2debian
  Depends: libseccomp2
  Depends: libspice-server1
  Depends: libtinfo5
  Depends: libusb-1.0-0
  Depends: libusbredirparser1
  Depends: libx11-6
  Depends: libxen-4.9
  Depends: libxenstore3.0
  Depends: zlib1g
  Depends: qemu-system-common
    qemu-system-common:i386
  Depends: seabios
  Depends: ipxe-qemu
  Depends: ipxe-qemu-256k-compat-efi-roms
  Recommends: qemu-utils
    qemu-utils:i386
  Recommends: cpu-checker
  Suggests: samba
  Suggests: vde2
  Suggests: qemu-block-extra
  Suggests: kmod
    kmod:i386
  Suggests: sgabios
  Suggests: ovmf

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libibverbs (Ubuntu):
status: New → Confirmed
Luke Williams (wililupy)
Changed in libibverbs (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I believe this is what introduced the libibverbs1 dependency:

https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1692476
"[18.04 FEAT]: qemu: Enable RDMA support in qemu"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.