14.04.4: work-around "SMBIOS-implementations-newer-than-version-2-8..." junk from dmidecode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned | ||
Wily |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
[Impact]
This impacts installations on new hardware which is not well supported by the version of dmidecode available in the release (2.12); this is especially apparent with systems based on the Intel Skylake line of processors.
[Test case]
Attempt an install with ubiquity (Desktop image), on 15.10 or any prior release on a Skylake system. Installation will crash at the username/hostname panel in ubiquity.
[Regression potential]
None. This explicitly replaces a known string warning for the system model coming from dmidecode only in the case where ubiquity uses it as a basis for a hostname; and doesn't affect any other part of the installation or the final system.
---
With dmidecode older than 3.0, certain newer hardware contains a large warning message in, say, the system-product-name string.
For example, this:
dmidecode --quiet --string system-product-name
Would return something like:
SMBIOS-
This is problematic because the resulting default hostname built by Ubiquity isn't valid (it's too long).
I while back I investigated backporting dmidecode 3.0 to 14.04.4, but it seems to have problems with older kernels for certain string keys (I was testing with the 3.19 kernel).
Another way to work around this is to have Ubiquity clean this up before using the system-product-name string as part of the default hostname.
So I'm going to whip up a merge proposal for Ubiquity to fix this. Apologies I'm bringing this up so near the 14.04.4 release, I dropped the ball on this one.
Thanks!
Related branches
- Mathieu Trudel-Lapierre: Approve
-
Diff: 27 lines (+10/-0)1 file modifiedubiquity/misc.py (+10/-0)
Changed in ubiquity (Ubuntu): | |
importance: | Undecided → Medium |
Changed in ubiquity (Ubuntu Trusty): | |
importance: | Undecided → Medium |
description: | updated |
tags: |
added: verification-failed removed: verification-needed |
Hello Jason, or anyone else affected,
Accepted ubiquity into trusty-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ ubiquity/ 2.18.8. 12 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!