Bug#1000396: systemd-detect-virt falsely detects "Microsoft" virtualisation

Michael Biebl biebl at debian.org
Mon Nov 22 15:37:32 GMT 2021


Control: tags -1 + upstream
Hi Liban

On 22.11.21 14:06, Liban Hannan wrote:

> systemd-detect-virt checks /sys/class/dmi/id/sys_vendor as part of its
> attempt to detect if the system is virtualised. I am using a Surface
> Laptop so sys_vendor returns "Microsoft Corporation" which (as far as I
> can tell) the program assumes indicates the presence of hyper-v rather
> than Microsoft produced hardware. One of the consequences is that
> systemd units that won't run in a VM fail, such as thermald.

Would you mind forwarding this issue to upstream by filing an issue at 
https://github.com/systemd/systemd/issues

Thanks in advance.

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20211122/ca4c3994/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list