Description of problem:
When requesting the chassis type through systemd-hostnamed, it sometimes
returns an empty string, causing Device Security panel in Settings to be hidden. The fix has been backported upstream to v251-stable through commit d4001c5.
https://github.com/systemd/systemd/commit/d4001c518a5a3b5b22fd74983e413d0242b84b5ehttps://github.com/systemd/systemd/pull/24385
Version-Release number of selected component (if applicable):
251
How reproducible:
Steps to Reproduce:
1. Terminal: "$ hostnamectl chassis"
Actual results:
Value returned is empty string
Expected results:
Value returned should be 'laptop' in my case
Additional info:
Original upstream bug report(https://github.com/systemd/systemd/issues/24384) was produced in a VM, but it happens in my case which is on real hardware too. Nonetheless the upstream fix should be good enough for all cases.
Comment 1Zbigniew Jędrzejewski-Szmek
2022-10-01 18:41:49 UTC
*** This bug has been marked as a duplicate of bug 2129343 ***