Bug#1000396: systemd-detect-virt falsely detects "Microsoft" virtualisation
Michael Biebl
biebl at debian.org
Mon Nov 22 15:40:33 GMT 2021
On 22.11.21 16:37, Michael Biebl wrote:
>
> 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
Afaics, this issue was introduced by
https://github.com/systemd/systemd/commit/506bbc8569014253ea8614b680ccbc4fc2513a87
-------------- 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/09e6bb6b/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list