Comment 2 for bug 1768104

Revision history for this message
dana (okdana) wrote :

Hi Łukasz and Dimitri,

Thanks for responding so quickly. I've tested this on my Bionic VM and it seems to be working:

% lsb_release -sd
Ubuntu 18.04 LTS

% uname -r
4.15.0-20-generic

% dpkg-query -Wf '${Package}: ${Version}\n' | rg systemd
libnss-systemd: 237-3ubuntu10.1
libpam-systemd: 237-3ubuntu10.1
libsystemd0: 237-3ubuntu10.1
python3-systemd: 234-1build1
systemd: 237-3ubuntu10.1
systemd-sysv: 237-3ubuntu10

% SYSTEMD_LOG_LEVEL=debug systemd-detect-virt
Failed to read $container of PID 1, ignoring: Permission denied
Found container virtualization none.
Virtualization Xen found in DMI (/sys/class/dmi/id/sys_vendor)
Virtualization XEN, found /sys/hypervisor/properties/features with value 00002705, XENFEAT_dom0 (indicating the 'hardware domain') is not set.
Found VM virtualization xen
xen

I also did a few spot checks of journalctl, systemctl, &c., and all that looks OK too.

Thanks!