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

Liban Parker Hannan liban.parker at gmail.com
Tue Nov 23 00:56:10 GMT 2021


Hi Micahel,

Thanks for looking into this and filing the report upstream. I'll
subscribe.

Cheers

On Mon, 22 Nov 2021 17:40:05 +0100 Michael Biebl <biebl at debian.org>
wrote:
> Control: forwarded -1 https://github.com/systemd/systemd/issues/21468
> 
> Am 22.11.21 um 16:37 schrieb Michael Biebl:
> > 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
> 
> I've filed it as https://github.com/systemd/systemd/issues/21468
> 
> Please consider subscribing to this upstream bug report in case
upstream 
> has further questions.
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20211123/bf0c2d58/attachment-0001.htm>


More information about the Pkg-systemd-maintainers mailing list