[Pkg-libvirt-maintainers] Bug#931966: virt-what: Docker detection is broken

brian m. carlson sandals at crustytoothpaste.net
Sat Jul 13 03:32:30 BST 2019


Package: virt-what
Version: 1.19-1
Severity: normal

When running virt-what inside a Docker container, no output is produced.
This is because virt-what uses the presence of /.dockerinit, which is no
longer used when running inside a Docker container.

It's probably best to do something like "grep docker /proc/1/cgroup"
instead.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages virt-what depends on:
ii  dmidecode  3.2-2
ii  libc6      2.28-10

virt-what recommends no packages.

virt-what suggests no packages.

-- no debconf information

-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20190713/32a16c1e/attachment.sig>


More information about the Pkg-libvirt-maintainers mailing list